Introduction: USB Traffic Light

*Update I have made the PCB layout for this Traffic Light*

In this instructable I will show you how to make a USB Traffic Light.

Parts 
(1) LM555 Timer
(1) 10µƒ Electrolytic Capacitor
(1) 0.01µƒ Ceramic Disc Capacitor
(1) 1MΩ 1/4-watt resistor
(2) 4.7KΩ 1/4-watt resistors
(1) 1KΩ 1/4-watt resistor
(1) 10KΩ 1/4-watt resistor
(1) NPN 2N2222 Transistor
(1) USB Male Plug

The Picture of all the parts is in the next step

Step 1:

 All the Parts.

Step 2:

 Here is the schematic.  Please leave comments & rate me. Sorry, the Schematic  made on word got messed up. I'll try to update it with a better one.

Comments

author
PaulMakesThings (author)2011-02-12

Many momentary switches have leads that are bent to clip into a PCB and they don't work in a breadboard. With those you can take some needle nose pliers and pinch the leads flat. They'll come out straightened and will fit in a breadboard.

author

The momentary SPST switch I used was actually designed for breadboarding. They might be on Digikey or Mouser somewhere.

author
Mr_Electric (author)2010-05-05

 I actually got that from a kit.  You could try Radioshack, but I haven't tried their momentary-open SPST switches yet...


author
Mr_Electric (author)2010-04-29

 Well The Switch starts the counting cycle (about 11 seconds) ,which lights the Red LED. The Green is basically connected to an inverter, which is connected to the Red LED output. To change it back, just press the switch. There really is no frequency because you have to manually  switch the colors. I'm working on an automatic one with a yellow LED. 

author
lemonie (author)2010-04-29

This toggles the red/green then?
At what frequency?
When I was a kid I had one of those electronics kits, the traffic light experiment had 3 bulbs and 3 switches...

L

author
Bongmaster (author)2010-04-28

so to be correct its USB "powered" ;)

kool use of a 555 tho :3 i got a few to mess with :P

About This Instructable

5,465views

8favorites

License:

Bio: I have been playing around with things that have wires since I was 2 years old...Now I specialize in most anything that involves robots ... More »
More by Mr_Electric:Listerine SD Card HolderUSB Traffic Light
Add instructable to: