Really funny and simply traffic light controlled by Arduino Uno
Traffic_Light_Arduino.ino (2.16 KB)
Nice!
Is that an actual picture or a rendering from some CAD software?
Care to share the code?
florinc:
Nice!
Is that an actual picture or a rendering from some CAD software?
Care to share the code?
It's a photo, which I only cut out the edges.
I post the code now!
Very good and clear.
Without building it I take it that it switches each 5 seconds or so.
Perhaps for model makers it should now have it stay green on the main road and switch when triggered by traffic approaching on either side of the side road .
How would you approach that in your design please?
april:
Very good and clear.
Without building it I take it that it switches each 5 seconds or so.
Perhaps for model makers it should now have it stay green on the main road and switch when triggered by traffic approaching on either side of the side road .How would you approach that in your design please?
You're right, but I haven't had time to improve it. I will fix all the details as soon I can.