Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Supplies
- Stoplight (i got mine from an uncle.... i didn;t ask where he found it :P)
- Microcontroller(i used a RBBB arduino board from modern devices)
- Standard wall outlet and plastic enclosure for outlet
- Relay board(you can either make this or buy one premade from ebay for ~$10
- Hookup wire both light gauge(arduino to relays) and heavy(relays to lightbulbs)
- power supply for microcontroller
Step 2: Program Arduino
As i said this is a very simple example as such my codes very basic but there is so much more that could be done if you desire to do so.
Step 3: Wire It All Up
- Attach the wall outlet in series to the power bus, this will be used to power your Arduino.
- Next attach 3 of the relays to the power bus in series with each light.
- Once you have all of those wired together attach the micro controller to the relay board and attach the arduinos power adapter to the outlet you now have inside the traffic light.
Step 4: Future Ideas
- Instead of a full arduino use a ATtiney, or even 555 timers
- Button inputs to change modes
- Network interface to link the light to some online activity
- Range detection, have it turn on/off depending if someone is near by
There are many other ideas please feel free to post in comments anything you can think of, i will be making some changes to this in the not too distant future :)