I have been trying to find a cheap and reliable way to detect if my bed is occupied so I can automate my house more. I have my blinds and lights automated but I didn't have a good way to prevent them from turning on or going up when we were still in bed. I experimented with various bed occupancy sensors but they were all not very reliable (they would deactivate when I rolled over and then lights would turn on- not good). I have been testing this sensor for almost two months and it has been working perfectly. In the future I plan to automate more things based on occupancy like turn on the coffee maker, silence certain voice prompts, change heating/cooling, etc.
Here is the How To video:
Here is the wiring diagram:
|Qty||Value||Device||Package||Parts||Description||MF||MPN||Aliexpress or ebay link|
|1||1.99||Arduino Pro Mini||Ebay: Redesign Pro Mini atmega328 3.3V 8M Replace ATmega128 ...|
|2||0.06||LEDs||Ebay: 5mm LED Light White Yellow Red Green Blue Assorted Kit...|
|1||0.05||4.7uF Capacitor||Ebay: Kit 10value 100pcs 4X7mm Electrolytic Capacitor Assort...|