Possibly the most important part of the whole zap-amole machine is this humble sheet of paper you see here. With the arduino i was using, i could only have 12 digital outputs, so after many iterations, i came up with this grid system, which constitutes the core of the zapamole! The grid is basically 16 voltage dividers made up of an LED and a resistor. By setting the vertical input to 5v, and the horizontal input to 0v (by default, the inputs are reversed so no current will flow through the LEDs), a single LED is lit. Furthermore, when the corresponding button is pressed, a medium voltage is sent to the output. When the wrong button is pressed, the output voltage is either 5v or 0v. (Ideally, of course). The transistors were added later when i realized sending large currents through the arduino might not be the best idea...
No comments:
Post a Comment