This module consists of three lights, namely, Red, Yellow and Green.Īll three lights have separate input pins through which each light is controlled independently. Components Needed:Īrduino Mega is a programmable microcontroller board.Īrduino Mega contains ATMegaGA2560 and is based on that microcontroller.Įvery Arduino board is equipped with voltage regulators to make sure an excessive input does not burn components on the board. The pedestrian lights are set up so that whenever a certain traffic light is GREEN, its opposing pedestrian light on which there is no traffic is turned ON and signals for the pedestrians to walk. There are other ways around this as well but using delays with Arduino is the simplest and most effective way for small projects. In this certain design, we have used delays to control the ON and OFF time of the traffic lights. Pedestrian Lights: To distinguish pedestrian lights, we will use simple LEDs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |