This project started with an impulse buy of 3 giant traffic lights at a surplus store. The possibilities are really endless, and they're a great excuse to teach some Arduino skills. See the project logs for all the details!
Summary:
- Controlling the lights with big arcade buttons seemed the obvious choice
- The lights are 120VAC, so they need relays to control power on/off (lit/unlit)
- I sketched up a crappy schematic, to explain how to hook up the relays, arcade buttons, Arduino, and a power distribution rail
- @Robyn W did all the work of hooking everything up
- I made a bad assumption about the power distribution terminal block rails, and the first time we plugged it in, there was a big spark and we tripped the breaker on the power strip. Yay for using a power strip with a breaker for the first power-on. Boooo for not having beeped out the terminal rail or mains power before plugging it in. I know better! But @Robyn W got to observe my mistake and learn a valuable lesson!
- She then took the lights home and made a sweet enclosure box for them
- She's now altering the code to change button behavior
- The end goal is to make them into a Simon Says game, so the next steps will be to incrementally add functionality to the software, and eventually have a sweet shop game and art piece!
Nice Learningtool/artwork!