In this project, I will be using laser transmitter (KY-008) and photoresistor (KY-018) modules to provide security to my Google Home Mini. My Google Home mini will be placed inside the safety box and the switch will be pressed to arm the box and the led will change colour from orange to green.
The supplies and the final look of the project are included in my YouTube video embedded in this page.
From left to right: Photoresistor (KY-018), Key switch (KY-004), Laser transmitter (KY-008) and Active buzzer (KY-012).
You can also use a two colour LED module (KY-011) instead of using LED of different colours
Connections:
- Key switch - D4
- Red - D5
- Green - D6
- Common cathode (two-colour LED module) - Ground (GND)
- Active buzzer - D7
- Laser transmitter - D8
Comments
Post a Comment