Ask Electrical & Electronics Expert

Design, build, and test a traffic light controlled by a finite state machine.

MATERIALS
• Proto-board
• Wires
• Your choice of flip flops
• EPROM (2716)
• EMP programmer
• 555 timer
• LED's: 2 greens, 2 yellows, 2 reds, and an extra green to be used as a walk signal

INTRODUCTION
There is an intersection in a small town where 2 streets meet. One street runs north/south, the other runs east/west. Each of the 4 corners will have button that will allow pedestrians to cross the street. All 4 buttons are interconnected,
so you will represent them using a single push button. When a button is pushed, traffic will stop in all directions to allow people to cross. The town has decided to hire you to design a traffic light for them. Since it is a small town, you
may use the following sequence:
For the first 2 clock cycles, North/South (NS) should have the red light on. East/West (EW) should be green. For the next cycle, NS should be red, EW should be yellow. For the next 2 cycles, NS should be green, EW should be red. For the next cycle, NS should be yellow, EW should be red. If the walk signal is activated, the next 2 cycles should have both NS and EW red (and the green walk light should be lit), then repeat the previous cycles. If not, just repeat the previous cycles. The walk signal will be supplied by your push button. You will need to supply a circuit that will store the signal until it can be recognized (since the pedestrians will push the button, then let it go, you need to store the button push until your machine can respond to it). You will also need to supply a signal that will reset that stored signal after the walk
cycles have been supplied. One method of doing this is by using your push button as an asynchronous set of a flip flop, then you can use the EPROM to supply a reset signal to the asynchronous clear of the same flip-flop. However, if you can think of a better way for your system to automatically reset, feel free to use it. The EPROM will be used to supply the signals to turn on the proper lights (you will have 7 total lights, 2 red, 2 green, 2 yellow, and 1 walk light). Your lab instructor will show you how to use the EMP programmer to program the EPROM chip supplied in the lab. The inputs to the EPROM will be the output of your counter (state generator) and the walk signal.


Design and build your traffic light. Include Truth tables, state diagrams, state tables, and counter design. You will burn an EPROM during lab to supply the outputs of your system; however, make sure your counter and walk signal circuit is completely built and you have the truth table for your EPROM before coming to lab. Use the 555 timer to create 10 second cycles. Since Logic Works does not have the EPROM, you do not have to simulate the outputs. However, simulate your FSM and walk signal portion of your circuit.


QUESTIONS
1) What would you need to do to insert more cycles into the traffic light (eg, add a left turn arrow cycle)?
2) What are the benefits of using the EPROM to supply the outputs from your system? What size EPROM would be ideal for this use? Why?
3) What would changing the frequency of the 555 timer have on your traffic light?

Electrical & Electronics, Engineering

  • Category:- Electrical & Electronics
  • Reference No.:- M9864063

Have any Question?


Related Questions in Electrical & Electronics

Question 1for the ce amplifier in figure 1 given the

Question 1 For the CE amplifier in Figure (1), given the following component parameters: Parameter Value β DC , β AC 150 V BE 0 . 7 V V CC 12 V R C 820 ? R E 1 100 ? R E 2 220 ? R 1 20 k? R 2 5 . 2 k? R L 100 k? C 1 , C ...

Question -i a star-connected three-phase synchronous

Question - (i) A star-connected, three-phase synchronous induction motor takes a current of 10 amps from a 415 volt supply at unity power factor when supplying a steady load. If the synchronous reactance is 5 ohms/phase ...

1 a name the three major groups of contamination and

1. (a) Name the three major groups of contamination and briefly describe their physical characteristics. (b) Where do the above contamination types come from? Give one example of each. 2. Name two processes metrics which ...

Question 1 in the voltage regulator circuit in figure p221

Question 1: In the voltage regulator circuit in Figure P2.21, V 1 = 20 V, V Z = 10 V, R i = 222Ω and P z (max) = 400 mW. (a) Determine I L, I z , and I L , if R L = 380Ω. (b) Determine the value of R L , that will establ ...

Summative assessmentin 2017 sej101 assessment will consist

Summative Assessment In 2017 SEJ101 assessment will consist of nine tasks that will develop a portfolio of your assessed work. Throughout the trimester you will have the opportunity for feedback on all nine tasks before ...

1 a name the three major groups of contamination and

1. (a) Name the three major groups of contamination and briefly describe their physical characteristics. (b) Where do the above contamination types come from? Give one example of each. 2. Name two processes metrics which ...

1 a name the three major groups of contamination and

1. (a) Name the three major groups of contamination and briefly describe their physical characteristics. (b) Where do the above contamination types come from? Give one example of each. 2. Name two processes metrics which ...

Case studythis assignment consists of a written report of

CASE STUDY This assignment consists of a written report of approximately 1000 words and any diagrams in which you are asked to critically compare different process methods used to achieve the same result and show an awar ...

Problem 1 a two-phase servomotor has rated voltage applied

Problem 1: A two-phase servomotor has rated voltage applied to its excitation winding. The torque speed characteristic of the motor with Vc = 220 V, 60 Hz applied to its control phase winding is shown in Fig.1. The momen ...

Electrical engineering questions -q1 two ideal voltage

Electrical Engineering Questions - Q1. Two ideal voltage sources designated as machines 1 and 2 are connected, as shown in the figure below. Given E 1 = 65∠0 o V, E 2 = 65∠30 o V, Z = 3Ω. Determine if Machine 1 is genera ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As