This is controlled by a picaxe controller board. It controls 3 mechanical relays, 1 solid state relay, and 2 button inputs (the main candy machine start button (big red button) and the candy dispenser coil position switch). The picaxe starts the dispenser motor so that the candy drops as soon as the sound stops and then the switch engages which tells the picaxe to stop the motor. the picaxe then nudges the motor to release the switch and reset for the next kid.This idea is brilliant and is definitely going on my 2016 list (began on Nov. 1, 2015 )
Does the motor already have the "one revolution and then stop" logic built into it or are you controlling it with another board (Arduino/Raspberry Pi/etc.) somewhere?
I'm just wondering if all you have to do is apply power to the motor.