Blog Home

The Treat Trough of Terror spits out Halloween candy

Arduino TeamOctober 5th, 2023

We’re only a few short weeks away from Halloween and that means we’re starting to see the creative projects that makers come up with to celebrate the holiday. Movement, lights, and sound effects are the name of the game when it comes to Halloween decor and the Treat Trough of Terror is the perfect example.

Gord Payne’s Treat Trough of Terror is a fun and unique way to doll out candy to the kids on Halloween while practicing social distancing. Payne can stand on his front stoop and when a trick-or-treater comes along, he can drop candy down the chute to their eager little hands. To turn that into a fun experience, the chute passes through a decorative jack o’ lantern. As the candy slides down the chute, the whole thing lights up and places spooky sound effects.

The chute itself is just PVC pipe cut in half lengthwise and resting on a patio chair. The lights are WS2812B LEDs driven by an Arduino Nano board. The Arduino also controls the sound effects played by a small MP3 player module, with audio output going to a pair of powered speakers. An ultrasonic sensor detects the candy as it slides past on the chute, which tells the Arduino to activate the light and sound effects.

If you want to hand out candy while maintaining at least six feet of distance, this is the perfect project to work on over the next few weeks.

Boards:Nano
Categories:Arduino