Project Description Utilizing arduino code and LEDs to model a stoplight system. Brainstorming & Planning The first weeks arduino practice focused on controlling LEDs via the arduino. The kit that I purchased included yellow and red LEDs and as I began to play around with them I was reminded of a stoplight. Missing one color, I recalled that my kit included a multicolor LED. Upon further inspection I realized that one of its legs produced green. I hooked it up (using the green leg and common ground leg) in the same way that I had utilized the yellow and red LEDs. Making Process & Pictures Final Video Video Description The video shows my stoplight system at work. Green is lit for 5s, Yellow for 3s, Yellow flashes for 3s, and Red is lit for 5s. You will notice that the green LED is much brighter because it is a different type compared to the yellow and red LEDs. Final Code /* Name: Travis Ray Date: Nov 2, 2018 Course: Makerspaces ...
Comments
Post a Comment