Halloween Candy Bucket
![photo_2023-11-01_21-31-03.jpg](/proxy/?url=https://content.instructables.com/FX3/GBAX/LOFRPRO3/FX3GBAXLOFRPRO3.jpg&filename=photo_2023-11-01_21-31-03.jpg)
![photo_2023-11-01_21-31-07.jpg](/proxy/?url=https://content.instructables.com/F6O/6MBQ/LOFRPRO4/F6O6MBQLOFRPRO4.jpg&filename=photo_2023-11-01_21-31-07.jpg)
![photo_2023-11-01_21-31-10.jpg](/proxy/?url=https://content.instructables.com/FZA/82IH/LOFRPRO5/FZA82IHLOFRPRO5.jpg&filename=photo_2023-11-01_21-31-10.jpg)
For this year's Halloween celebration, I have decided to make a Halloween bucket that drops candy after a series of sped-up blinking LED lights. There is an ultrasonic sensor that detects the motion of a hand which stimulates the LED blinking to create a tension, the motor servo then rotate 180 degrees to drop a Halloween candy, so its a portable trick or treat!
Supplies
Electronics:
1x Arduino Uno Board
1x Ultrasonic Sensor
1x 9V Battery
3x LED light with color of your choice
1x Motor Servo
3x 220 Ohm Resistors
Jumping Wires
Materials:
Hot Glue Stick
Bucket of any size
Ice cream Sticks
Tape
Color paper (orange and black)
String
Connect Circuit
![Screenshot (338).png](/proxy/?url=https://content.instructables.com/FVN/LJ31/LOFRPS8A/FVNLJ31LOFRPS8A.png&filename=Screenshot (338).png)
Connect the circuit according to the assigned pin numbers
Coding
![Screenshot (335).png](/proxy/?url=https://content.instructables.com/FIY/467D/LOFRPS87/FIY467DLOFRPS87.png&filename=Screenshot (335).png)
![Screenshot (336).png](/proxy/?url=https://content.instructables.com/FFD/C5ZK/LOFRPS88/FFDC5ZKLOFRPS88.png&filename=Screenshot (336).png)
![Screenshot (337).png](/proxy/?url=https://content.instructables.com/F9P/75WB/LOFRPS89/F9P75WBLOFRPS89.png&filename=Screenshot (337).png)
Assemble
![photo_2023-11-01_21-31-07.jpg](/proxy/?url=https://content.instructables.com/F02/LWNU/LOFRPSAT/F02LWNULOFRPSAT.jpg&filename=photo_2023-11-01_21-31-07.jpg)
![photo_2023-11-01_21-31-10.jpg](/proxy/?url=https://content.instructables.com/FFW/W0PW/LOFRPSAU/FFWW0PWLOFRPSAU.jpg&filename=photo_2023-11-01_21-31-10.jpg)