I got this cool potion lamp for Christmas though it’s only shake activated (more like you have to tap on it really hard) and I was wondering if there was any possible way I could connect my raspberry pi to it and be able to control it with the home bridge.
I think the cylinder on top is the “shake” sensor but I might be wrong Now I am a bit of a beginner so I don’t know how achievable this is. I thought maybe there’s something I can use to vibrate and activate the light directly or there’s something I can do to actually connect the two but I really have no idea how to do it. Maybe it’s just not possible but yeah I might as well try 🙂
-
Yes, I am pretty sure that the metal cylinder is the shake or vibration sensor. Let me search later for the datasheet. – tlfong01 yesterday
-
I found some notes with a long list of references on vibration/shake sensors you might find useful: penzu.com/p/f951e273 – tlfong01 yesterday
-
Your sensor should be SW420D/SW520D: AliExpress Shake Sensor Catalog:: aliexpress.com/popular/shaking-sensor.html – tlfong01 yesterday
-
I highly recommend to watch Big Clive’s YouTube Videos: (1) Big Clive Tearing Down 220VAC LED Lamp 1/2: raspberrypi.org/forums/… (2) Big Clive Tearing Down 220VAC LED Lamp 2/2: youtube.com/watch?v=a-exD1-6gsY&feature=youtu.be. (3) Big Clive YouTube Videos Full List: youtube.com/playlist?list=PLilYftGX4DBRB_4L7Wx4Jiy88KTFIECDv – tlfong01 yesterday
-
You can find the following SW-18020 reference in my long list above: e-radionica.com/productdata/SW-18020.pdf – tlfong01 yesterday
Yes, you can use Rpi to control a 5V relay with its switch contacts/terminals (COM = Common, and NO = Normally Open), connected in parallel to the two terminals of the shake switch.
References
(1) Raspberry Pi Appliance Monitor (Using 801s vibration sensor)
(2) AliExpress Vibration Sensor Module 801S Vibration Analog Output Sensitivity LM393 – US$2.1
(3) 801S Vibration Sensor Module (SE040) User Manual – IduIno
(4) Shock Sensor S801 Spec – electroninvest
(5) Using a push button with Raspberry Pi GPIO (event based) Published by Soren 2018feb08
(6) How to Interface a Push Button with Raspberry Pi? – Ravi 2018feb
(8) Rpi: The Unofficial Tutorial – Christian Cawley 207jan28 enter link description here
(9) BeeLee/Gaoxin Vibrating Detection Sensor sw-18015/20p datasheet
(10) XSP1TM High Output LED Street/Area Luminaire – Single Module
[1]: https://i.stack.imgur.com/SAGOM.jpg
[2]: https://github.com/Shmoopty/rpi-appliance-monitor#notification-settings
[3]: https://fr.aliexpress.com/item/32808658968.html
[4]: https://produktinfo.conrad.com/datenblaetter/1400000-1499999/001485302-da-01-en-IDUINO_SE040_VIBRATIONS_SENSOR_MODUL.pdf
[5]: http://www.electronicaestudio.com/docs/SHT-801S.pdf
[6]: https://raspberrypihq.com/use-a-push-button-with-raspberry-pi-gpio/
[7]: https://www.electronicshub.org/raspberry-pi-push-button-interface/
[8]: https://www.makeuseof.com/tag/add-button-raspberry-pi-project/
[9]: https://www.makeuseof.com/tag/great-things-small-package-your-unofficial-raspberry-pi-manual/
[10]: https://e-radionica.com/productdata/SW-18020.pdf
[11]: https://adlt.com.sg/wp-content/uploads/2017/09/ADLT-Cree-XSP-Version-D-Single-odule-Spec-Sheet.pdf
[12]: https://adlt.com.au/portfolio/cree-xsp-series-led-street-light/
.END
Categories: Uncategorized