How To Create A Candy Dispensing Robot
Making its debut at last week's Rome Maker Faire, the YesYesBot is a retro-inspired, candy dispensing robot created by interactive collective YesYesNo and brought to life with 3D printed parts, motors, LEDs, Linux software, and the new Galileo microprocessor board by Intel. In part two of our Makers series (watch Part I here), Zach Lieberman, YesYesNo founder and a key mastermind behind openFrameworks, the C++ coding toolkit and creative community, and collaborator Molmol Kuo walk us through the creation of the sweet new robot and offer a step-by-step guide below for creating your own YesBot.
3) Diagram and build the electrical circuits.
There are many parts to a robot including sensors, motors, and so on, so it's useful to come up with a good diagram about how things fit together. We were especially concerned with voltage. Since the motor control for the robot takes 12 volts, but many of the pieces require 5 volts, we thought alot about how power should be wired.
4) Develop software.
We wanted to make sure that users could communicate with the robot, so we designed an interface that used web sockets to quickly communicate from a phone device to the robot. The Galileo works as a server, running a Linux stack, as well as an Arduino, so it was pretty convenient. We could pretty quickly take commands from a phone app and turn them into electrical signals the robot
5) Find candy!Our robot ejects candy -- using several servo motors, a 3D printed dispenser and an inverted/cut water bottle. Maker Faire has a lot of kids and need to keep them happy.
Below, check out our GIF to see how the exterior was built:
Watch Lyt by Second Story below:
You can also find out more about Galileo and Makers here. Be sure to check back tomorrow when we'll be unveiling the final installment of The Makers, and giving away a few Galileo microprocessors to our loyal readers.