+ Reply to Thread
Results 1 to 2 of 2

Thread: designing traffic light using MAX+PLUS

  1. #1
    ratu semut Newbie
    Join Date
    Sep 2004
    Posts
    8

    Default designing traffic light using MAX+PLUS

    i have a problem here on how to design traffic light controller using MAX PLUS 2
    i have to design the traffic light controller using MAX PLUS 2, in the design i have to use AND gate logic,OR gate logic,and J-K flip flops.
    i have to make the design which can make the traffic light automatically in function, since it has timer and also sensor.

    please...please...somebody help me....


  2. #2
    bmcculla Newbie
    Join Date
    Sep 2003
    Location
    California, USA
    Posts
    898

    Default

    You should be able to do this with a simple State Machine. You have one state for each color. The state machine just waits until the timer overflows and then changes to the next state. Each state outputs the appropreate signal to light the correct light. Google should have tons of info about how to implement the state machine.

+ Reply to Thread

Tags for this Thread