Monday, March 24, 2014

Edx Lab 10: Traffic Lights.



Well, well, well. I'm doing this course from Edx, "Embedded Systems Shape the World", which is seriously true. Just think in the traffic lighst of a city (if it was me doing the traffic lights I won't have money enough to pay the insurance companies!)

And that was the purpose of Lab10. You can find my "dishonrable" code in bitbucket: https://agudo@bitbucket.org/agudo/edx_labs.git

Here you can see some pictures and a video (at the end) of the WORKING! hardware (I would like as well to upload a Finite State Machine, or FSM,  diagram but right now the only one I've is in white paper and black pen).





I've not adjusted the timing. I think it would be a good lab to implement a real hardware circuit with KiCAD, just 6 Leds (3 in each plate) a few resistors and 3 push buttons. When I finish all these MOOC where I'm suscribed I will begin to make a first and simple circuit.

Let's the rock begin!



For me the real FSM has around 18 states but to pass the grading with no headache I implemented the 9 states noted in the description of the lab.


No comments: