Back to photostream

BS2-DIPswitch-Input-Pins-Circuit

Diagram for the DIP switch circuit showing how the switches are wired as "active high", such that when a switch is on, the corresponding BS2 pin will see 5 volts or a logic level of 1. Stamp pins 0, 1, and 2 are used to input the binary values for setting the delay between drops, while pin 3 inputs the number of drops (off =1, on=2). The four pins 8-11connected to the second DIP switch set are used for the 4 bits (nibble) to input the drop size setting. Each DIP switch has a 4-wire cable (salvaged from a PC's old CD audio to sound card cable cut in half) with a 4-pin connector at the end that plugs onto 4 I/O pins of the BS2 microcontroller. The numbers represented in the DIP switch settings are used in a simple formula to calculate the times in milliseconds to keep the valve open or closed.

787 views
0 faves
0 comments
Uploaded on March 3, 2012