Switchbox Design

Switchboxes may be connected to the Cypress FirstTouch PSoC 3 (which is connected to the operator console) or may be connected directly to the digital sidecar, setting configurations on the robot, such as for autonomous mode. Either way, the switchbox requires one DIO for each switch, a power source (VDD), and ground (VSS). Each switch requires either two LEDS or a biLED (three pins and can shine two different colors), a 1KΩ resistor (a pulldown for the LEDs), a 10KΩ resistor (a pullup for the DIO signal), and a single pole, double throw toggle switch (one common connects to one of two poles depending on its position). This list also assumes a lot of wires.
Switchboxes work well mounted inside a plastic (ABS) project box from RadioShack. If you're using it with the PSoc, you may want to find a box that can hold the PSoC inside. The top can be drilled or milled in a CNC machine.
Notice that one 1KΩ resistor is used for every two LEDs (or one biLED, if you wish). If the two LEDs are going to run simultaneously, this is bad practice and should not be done. However, since the switch will only allow one LED to run at a time, using only one resistor is safe and advisable.
The schematic at right shows a four-switch switchbox. However, it should be easy to scale to whatever size is necessary. The "+5V" doesn't need to be exactly 5 volts. The 3.3 volts on the PSoC or the 6 volts on the sidecar should work fine. However, you may want to scale the pulldown resistors using Ohm's law to ensure an appropriate voltage goes through the LEDs. I found the LEDs should be have about 3 milliamps flowing through them.