My wife and I are making a robot Halloween costume and I just finished the electronics design prototype. I wanted to wait until the costume was finished before revealing it but I’m too excited that I finished my circuit and coding. That’s a video of it, and I want to describe it a little. It uses an Adafruit Wave Shield for the sounds, and an antique analog gauge I found at Gateway Electronics here in St. Louis. There’s an infrared beam pair from Sparkfun, which will be watching the “candy input slot” on the robot’s chest. The gauge displays the count, until too much candy is inserted and it goes crazy. Then after 20 seconds of no more candy, the candy count gets reset, to be ready to do it all over again at the next house. In the sketch, I used these AlphaBeta libraries: LED, button, TimedAction, and Scheduler. These made coding this sketch very easy. He even updated Scheduler with a clear() for me. Thanks again for that! The hardest part was getting it all to work together. I had been trying to use pin 9 for the gauge, and it crashed the sketch. I did more reading and found out you can’t do PWM on 9 with the Wave libraries because of the timer. Pin 6 works fine though. The beep sound loop I found on my mac, I think it came from iMovie. The speech is recorded synthesis also from my mac, made like this from a terminal: say -o outputfile.aiff “thing to say” This makes an aiff file. Then I used iTunes to convert all the sound files to WAV with the right settings for the Wave Shield. The chaser LEDs are going to surround the Arduino in a shadow box sort of thing, so people can see the controller, and to punch it up so it isn’t so boring. ;D
Detail shots of the electronic components in the robot costume my wife and I built. She did all the painting and papercraft, and I did the electronics. Systems include an Arduino with Adafruit Wave Shield for sound effects, and a proto shield that you see with all the wires and resistors. They are wired to the antique analog gauge on the front panel, which reacts to the IR pair from SparkFun in the Input slot. The speech is recorded synthesis from my Mac. Sayings are: “Candy, my favorite fuel,” “Yum yum yum…,” “You will be spared from the robot uprising, thank you human,” and “Warning! Candy overload!” And on the front panel just for eye candy is a Game of Life kit from the Maker Shed/Adafruit.
Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.
Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.
Python for Microcontrollers — Python on Microcontrollers Newsletter: CircuitPython 8.1.0 and 8.2.0-beta0 out and so much more! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi
Would you mind if I use the image of you fitting the costume on a child above as a basis for a painting? I am a fine artist practising in Dublin, Ireland (please check my web-site – and I find this image inspirational. Please reply to the email address supplied. Thanks.
Too cool! What fun.
This is really cool (not to mention adorable). The bronzed crocs are a nice touch! 🙂
Would you mind if I use the image of you fitting the costume on a child above as a basis for a painting? I am a fine artist practising in Dublin, Ireland (please check my web-site – and I find this image inspirational. Please reply to the email address supplied. Thanks.
Wow! That’s truly a labor of love costume. I’ll bet your son got tons of compliments/comments about his awesome costume. Very well done!!
P.S. your resistor below is the most clever what-ever-it-is-called that I’ve seen on any blog.