Monday, June 25, 2012

Candy Machine 1

So young humanoid wanted to improve his old gum machine....and make a candy machine instead!  So, of course, he again took inspiration from NXTLog (which is the online site I'm always referring to), notably from this project.  Basically, a user would place a penny, dime or nickel in the slot.  If it was the largest coin, the nickel, it would be stopped by an internal gate and detected by a light sensor.  If it was one of the two smaller coins, it would slip under the first gate and be stopped by a second one.  Then, the light sensor could supposedly differentiate between the two (of course, that rarely worked well...).  The gates would open, the coin would fall into the self-opening vault, and the third motor would dispense a number of candies determined by the value of the coin.