Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Programming Help amongst others

Status
Not open for further replies.

h8null

New Member
hello there... Im trying to make a traffic light system that has a 2 digit seconds display for each lane. Im using PIC16F88 and a display driver 7219. The issue is that the system senses the traffic through LC sensor circuits and decides which lane has the most density at the beginning of the cycle and gives appropriate green time to the lanes. I need the display for a lane to show the seconds to the next green time(when the lane is red) and the seconds to the red light (when light is green). Any ideas or thoughts regarding the algorithm of the program, cos I can't seem to think of any option that covers all this. The system checks the density only at the beginning of a complete cycle.
 

Attachments

  • as.jpg
    as.jpg
    88.2 KB · Views: 140
  • as1.jpg
    as1.jpg
    72.7 KB · Views: 144
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top