Door Close Reminder

by Inessssssss in Circuits > Arduino

182 Views, 0 Favorites, 0 Comments

Door Close Reminder

IMG_2459.JPG

This is the machine behind the door. When you open the door, it makes a sound to remind you to remember to close the door.

Supplies

Arduino Leonardo board

wires

speaker

Ultrasonic sensor

Code

IMG_2462.JPG
IMG_2463.JPG

write the program

https://create.arduino.cc/editor/bolunchang/5a829a89-4606-4f84-b139-a51b637ffca0/preview

Arduino Leonardo

IMG_2461.JPG
IMG_2459.JPG
IMG_9819.JPG

Plug in all wires, install speaker and Ultrasonic sensor

Finish