USB Traffic Light




About: 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, wires, engines, fire, rockets, cars, motorcycles, jets, metal working,...

*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.

(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

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

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.

Be the First to Share


    • Instrument Contest

      Instrument Contest
    • Make it Glow Contest

      Make it Glow Contest
    • STEM Contest

      STEM Contest

    6 Discussions

    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.

    1 reply

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


    9 years ago on Introduction

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


    9 years ago on Introduction

     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. 


    9 years ago on Introduction

    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...



    9 years ago on Introduction

    so to be correct its USB "powered" ;)

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