r/ArduinoProjects • • Nov 01 '21

Halloween Candy Delivery System 2021

147 Upvotes

8 comments sorted by

5

u/Wizzeler Nov 01 '21

This is my creative way to hand candy out to trick-or-treaters. I built it in 4 pieces so I can reuse it next year and each can be angled individually. If there is interest, I have progress pics; but I thought the video would be the best to post initially.

Specs:
Teensy 4.0
LEDs - 5V WS2812B (around 1000 - 2 16' strips and 1 16x16 matrix at the bottom)
Menu - 12V white LED

3

u/other_thoughts Nov 02 '21

Do they actually "push a button" to choose their result?
Please provide more pics, and tell us more. Such as how you powered
the system and the LEDs themselves. What LEDs did you use?
The video shows a person starting the candy on its journey,
could you have automated the selection part?

Are the lights for the jacks and the smokes separate or part of the 'specs' listed?

What about the physical ramp, did you (have to) try more than one method?

Have you considered writing an instructable?

5

u/Bikefisher Nov 01 '21

Nice Work, you must have been a hit in the neighbourhood!

I may post up mine, but it wasn't very polished, got a little too complex, and I am no expert on this stuff:

Front end: 32 x 128 (2 x 32x64) LED matrix displaying prompts and messages, using an Adafruit M4 and their RGB Matrix feather. a PIR sensor to detect a trick or treater. Sparkfun Sound detector, the Matrixs prompts you to say Trick or treat, needs to be loud enough to trigger candy delivery.

Catapult:

Adafruit Feather MO express, was an Uno, but was having a hard time getting reliable I2C the 20 ft down my driveway when using Adafruit Extender/terminator AND a logic converter. ported to another 3.3v board and removed level shifter. When Trigger set over I2C from front end, I ran a 'vending machine' that I 3d printed and used a nema 17 stepper. this fed a mars bar to the Catapult. Along with some neopixel effects, I held down the Arm with an electromagnet, pressurized my Air Cylinder for a second, then released the magnet, shooting the MArs bar in a nice 20 foot arc, landing in a basket by the matrix. LED lights around the basket lit up just before the candy landed.

Sound effects:

I had a Seeed music Shield, and it used lots of pins, so I just interfaced it with the M0, i couldn't figure out how to get it on the same I2c bus using a level shifter, and gave up as i was running out of time so just used the tru Aout of the MO to set levels that the UNO red and played clips for sound effects.

In the end it worked, but the SD card in the Sound machine kept getting jarred loose when the Catapult fired. Not that the main machine is done I will refine and improve for next year. i may buy a adafruit sound feather to get rid of having the 3rd controller and then will have the I2C status to play clips from.

I learned a lot, that's for sure.

2

u/Wizzeler Nov 01 '21

Wow! I'd love to see a video of all that. My kids wanted me to do a catapult, but I went the easy route! I'd be cool to see what you did!

3

u/Bikefisher Nov 01 '21

After the last few weeks, I'd say you went the smart route :)

I will put together a post, hopefully by next year I can get it as polished as yours!

3

u/Woolly87 Nov 07 '21

This is super cool!