Alcohol Reminder

by Michelle_chien in Circuits > Arduino

137 Views, 0 Favorites, 0 Comments

Alcohol Reminder

截圖 2021-05-21 下午9.27.47.png

This device is to remind people to spray alcohol when they went back home. The device will flash the blue light when the alcohol are placed, and when a person take the alcohol up, the blue light will be disappeared.

Supplies

1. Arduino Leonardo*1

2. Breadboard*1

3. 5mm Red LED*1

4. 100 Ohm Resistor*2

5. Jumper Cables*7 (3 long ones, 4 short ones)

6. Photoresistance*1

7. USB elongation*1

8. Tape and scissors

9. Cardboard box

Code

Upload the following code onto Arduino.

link to the code: https://create.arduino.cc/editor/michelle_chien/bdf051d2-986b-4725-a8f7-71de57a3df5c/preview

Connecting the Following Circuit

截圖 2021-05-21 下午9.23.03.png

1. Connect the 7 Jumper Cables

2. Connect the 2 Ohm Resistors

3. Connect the Photoresistance

4. Connect the LED lightbulb

Finished Product

When the person walk passed by the device, he or she will notice the flashing red lights, which reminded the person to spray the alcohol before he or she enters their house.