An Arduino, two 9g servos (SG90), an RGB LED and a photoresistor.
-If you angle the slide just right when printing it you can avoid having
too much of an overhang. Rotate it so the tube is more upright. You will need to print it with supports but if you do it right the supports won't go passed the lip of the tube.
-Had to put some metal tape around the edge to keep the candy from
flying off the edge.