3x HC-SR501 PIR sensor housing for motion reactive bed light
Description
# Motion sensitive bed light This is a housing for the electronics in order to be install a motion sensitive bed light. The microcontroller evaluates the information from the motion sensors and thus turns the light on or off. The light remains on until no more movements are measured. I had the best result calibrating the sensors to the highest possible range and the shortest possible delay. Also make sure to set the jumper to SINGLE TRIGGER. ## Required Parts: - [Arduino Nano](https://www.amazon.de/AZDelivery-Atmega328-gratis-Arduino-kompatibel/dp/B078SBBST6?__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&dchild=1&keywords=arduino+nano&qid=1612103551&sr=8-3&linkCode=sl1&tag=pamix-21&linkId=f57a5f7162f4f4f7fc7793724e1d0120&language=de_DE&ref_=as_li_ss_tl) - [Relay](https://www.amazon.de/AZDelivery-Atmega328-gratis-Arduino-kompatibel/dp/B078SBBST6?__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&dchild=1&keywords=arduino+nano&qid=1612103551&sr=8-3&linkCode=sl1&tag=pamix-21&linkId=f57a5f7162f4f4f7fc7793724e1d0120&language=de_DE&ref_=as_li_ss_tl) - [Motion Sensors](https://www.amazon.de/AZDelivery-Atmega328-gratis-Arduino-kompatibel/dp/B078SBBST6?__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&dchild=1&keywords=arduino+nano&qid=1612103551&sr=8-3&linkCode=sl1&tag=pamix-21&linkId=f57a5f7162f4f4f7fc7793724e1d0120&language=de_DE&ref_=as_li_ss_tl) - [LED Strips](https://www.amazon.de/AZDelivery-Atmega328-gratis-Arduino-kompatibel/dp/B078SBBST6?__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&dchild=1&keywords=arduino+nano&qid=1612103551&sr=8-3&linkCode=sl1&tag=pamix-21&linkId=f57a5f7162f4f4f7fc7793724e1d0120&language=de_DE&ref_=as_li_ss_tl) - [Jumper Cable](https://www.amazon.de/AZDelivery-Atmega328-gratis-Arduino-kompatibel/dp/B078SBBST6?__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&dchild=1&keywords=arduino+nano&qid=1612103551&sr=8-3&linkCode=sl1&tag=pamix-21&linkId=f57a5f7162f4f4f7fc7793724e1d0120&language=de_DE&ref_=as_li_ss_tl) *all product links are also affiliate links to exactly the same products I bought for the system. If you order via the link, I will receive a tiny commission. ## Code If you have no clue how to work with a Arduino, watch [this video](https://www.youtube.com/watch?v=nL34zDTPkcs&ab_channel=Afrotechmods) first. Start a new project in the Arduino IDE and copy paste [this code](https://gist.github.com/PatrickHallek/62208f82479bfa6e8cd30c7bd316bc7a). After uploading the code to the microcontroler you should be ready to go. [GIF of the working setup](https://imgur.com/gallery/WqhxWVt)
Statistics
Likes
18
Downloads
0