Step 1: Parts and Tools
soldering iron and solder
5 100 ohm resistors
4 position DIP switch
5 1k ohm resistors
one small piece of perfboard/veroboard/breadboard
13 long female header
assorted wire, 3+ colors would be good
USB cable, one end must be male/A(standard)
2 10k ohm resistors(optional)
light sensitive resistor(CDS photocell)(optional)
I find futurlec.com is also a cheap place for these parts, but shipping will take a few weeks.
Step 2: The Cable
next, strip away the insulation of the cable and the red and black wires.
Bend the wires away from each other, and solder them to the board.
Step 3: The Input- Switches and a Button
Solder to every switch individually. If you put the switch so that the metal tabs are up and won, the left and right sides are the two sides of it and are connected. For each switch or button, solder one side to 5v, then connect the other side to ground through a resistor and to the female header by a wire.
Step 4: Output-LED Lights
The longer legs, or anodes, should each be connected to part of the pin header by a resistor.
Step 5: Optional Analog Input- Photo-sensitive Resistor
Solder in the photo-resistor. Connect one side to ground. Connect the other to 5v through 2 parallel 10k ohm resistors. connect the spot in between them to the female header. This will allow any micro-controller to sense the light level.