Asked
Viewed 8 times
2
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 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 🙂
New contributor
-
Yes, I am pretty sure that the metal cylinder is the shake or vibration sensor. Let me search later for the datasheet. – tlfong01 1 hour ago
-
I found some notes with a long list of references on vibration/shake sensors you might find useful: penzu.com/p/f951e273 – tlfong01 1 hour ago
-
Your sensor should be SW420D/SW520D: AliExpress Shake Sensor Catalog:: aliexpress.com/popular/shaking-sensor.html – tlfong01 1 hour ago
-
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 50 mins ago
-
You can find the following SW-18020 reference in my long list above: e-radionica.com/productdata/SW-18020.pdf – tlfong01 30 mins ago
-
Brainstorming ideas: There are many ways for Rpi to control the shake activated lamp: (1) solder and extend two connecting wires to the two terminals of the shake sensor, to the COM and NO terminal of a 5V relay, and let Rpi control the relay. This way, you have both shake and rpi-relay control. – tlfong01 20 mins ago
Categories: Uncategorized