This blog contains projects I work on in my spare time, ranging from electronics to automotive repairs. Please email me if you any interest in these projects. Enjoy!
Sunday, November 17, 2013
Arduino Stoplight
I made a program with my new Arduino Leonardo board made by Borderless Electronics that simulates the function of a stoplight. This program and circuit goes through the green, yellow, and red lights for 10 seconds, 3 seconds, and 5 seconds, respectively in an infinite loop. This was just a simple program to try out the Arduino language and what I can do with it. I've included a video, some photos, and a screenshot of the code.
Simple Arduino code to make a stoplight simulation.
The Arduino and circuit together.
The circuit containing three LEDs and a resistor.
The Arduino Leanardo board made by Borderless Electronics.
No comments:
Post a Comment