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: ![enter image description here](https://www.openhardware.io//uploads/56fc30cde081eca322f51738/image/Fritzing Bed Occupancy Wiring.png "enter image title here")
Qty | Value | Device | Package | Parts | Description | MF | MPN | Aliexpress or ebay link |
---|---|---|---|---|---|---|---|---|
1 | 1.99 | Arduino Pro Mini | https://www.ebay.com/?icep_ff3=2&pub=5575069610&toolid=10001... | |||||
1 | 2.09 | MPR121 | Ebay: http://www.ebay.com/itm/MPR121-Breakout-V12-Capacitive... | |||||
1 | 1.00 | NRF24L01+ | https://www.ebay.com/?icep_ff3=2&pub=5575069610&toolid=10001... | |||||
2 | 0.02 | 4.7k Resistors | https://www.ebay.com/?icep_ff3=2&pub=5575069610&toolid=10001... | |||||
1 | 1.98 | Copper Tape | Ebay: https://www.ebay.com/sch/i.html?_from=R40&_trksid=p204... | |||||
2 | Free? | USB Cables | ||||||
2 | 0.06 | LEDs | https://www.ebay.com/?icep_ff3=2&pub=5575069610&toolid=10001... | |||||
1 | 0.05 | 4.7uF Capacitor | https://www.ebay.com/?icep_ff3=2&pub=5575069610&toolid=10001... |
Name | Size | # Downloads |
---|---|---|
BedOccupancySensor.ino | 9.16 kB | 6463 |