Sunday, September 4, 2011

Interactive Traffic Lights








I really enjoyed Beginning Arduino Chapter 2 Project 4: Interactive Traffic Lights. This project seemed most applicable to a real life situation (people honestly don't know SOS anymore) and I was interested to see how it would go. I also really liked using the push button to start a series, not just a simple reaction. I noticed that the red and green were in the incorrect positions for the logical traffic light simulation in my drawing so I switched them (after I recorded the video, but it wasn't the code or the wiring that was incorrect, just the LEDs so I didn't refilm it). I approach 13th St and 4th Ave and am constantly waiting for the pedestrian light, but I never once considered the programming behind it. My impatience and my worry that I will be late to class always outweighed it, but maybe now I'll appreciate my time waiting because that was the traffic flow pattern, and it's not all about me :)

Alarm Clock Circuit Board


After much concentration, I finally managed to finish labeling my circuit board in Photoshop, since before I was using sticky labels and they didn't look nearly as nice. This is an alarm clock I bought at Goodwill. Sooo many resistors! I decided to hand calculate all of the Resistances for practice.

Lady Ada 6, and Traffic Lights fixed

Here are the videos for Lady Ada #6 and the interactive traffic lights. I kept the wiring from LA#5 (but switched the LED colours) and it worked fine. I still don't know what my problem was.

Friday, September 2, 2011

Kelsey's LadyAda #6 and Prjct 4 from Beginning Arduino

Here's the  rest of Lady Ada's lesson 6 using LEDs and pots. Above.
Here's the Interactive Traffic Light from the Beginning Arduino Book. Below.

Thursday, September 1, 2011

Book Project 4 - Interactive Traffic Lights

When I did this project last weekend, it worked perfectly. When I re-created it today to film it, for some mysterious reason it decided to only work if I jiggle the jumper cables after pressing the push button. I used the same code and the same wiring (not the exact tie points, but the same layout so it shouldn't matter), so it makes no sense. I tried rewiring it several times, changing the button, changing the jumper cables, and nothing has fixed it. Any advice would be appreciated.

labelled circuit board


I got an old corded phone at Goodwill. The circuit board was in part of the phone that wasn't dis-assemble-able, so I hit the seam a few times with a mallet. That worked.