Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION 5 It been reported that large number of accident occurred at pedestrian crossings in front of a train station at Muar, Johor as shown

image text in transcribed

QUESTION 5 It been reported that large number of accident occurred at pedestrian crossings in front of a train station at Muar, Johor as shown in Figure Q5 (a). It is suggested that a control traffic light for the pedestrian to cross the busy road to overcome this issues as illustrated as Figure Q5 (b). As an engineer, you had been asked to DESIGN by writing the program of traffic light controller for that pedestrian crossings using MC680000 based on the condition as shown as Table Q5(a). The bit value represents the output pattern to turn ON the required LED's. Table 05(b) shows the initialization configuration of MC68000. Train Station Train Station Shopping centre Shopping centre B Pedestrian Crossing Pedestrian Crossing (a) Old pedestrian crossing (b) Suggested control traffic light Figure Q5: Pedestrian crossings Bit Value Main Road Light Condition (A&B) RED 30 Secs RED 5 Secs RED & Yellow 5 Secs GREEN 60 Secs Table Q5(a): Traffic light condition Pedestrian Light Condition GREEN 30 Secs YELLOW 5 Secs RED 5 Secs RED 60 Secs 10000010 10000100 11001000 00101000 Table Q5(b): Initialization configuration of MC68000 Register Address PACR $80000D PADDR $800005 PADR $800011 PBCR $80000F PBDDR $800007 PBDR $800013 [25 Marks) QUESTION 5 It been reported that large number of accident occurred at pedestrian crossings in front of a train station at Muar, Johor as shown in Figure Q5 (a). It is suggested that a control traffic light for the pedestrian to cross the busy road to overcome this issues as illustrated as Figure Q5 (b). As an engineer, you had been asked to DESIGN by writing the program of traffic light controller for that pedestrian crossings using MC680000 based on the condition as shown as Table Q5(a). The bit value represents the output pattern to turn ON the required LED's. Table 05(b) shows the initialization configuration of MC68000. Train Station Train Station Shopping centre Shopping centre B Pedestrian Crossing Pedestrian Crossing (a) Old pedestrian crossing (b) Suggested control traffic light Figure Q5: Pedestrian crossings Bit Value Main Road Light Condition (A&B) RED 30 Secs RED 5 Secs RED & Yellow 5 Secs GREEN 60 Secs Table Q5(a): Traffic light condition Pedestrian Light Condition GREEN 30 Secs YELLOW 5 Secs RED 5 Secs RED 60 Secs 10000010 10000100 11001000 00101000 Table Q5(b): Initialization configuration of MC68000 Register Address PACR $80000D PADDR $800005 PADR $800011 PBCR $80000F PBDDR $800007 PBDR $800013 [25 Marks)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning ASP.NET 2.0 And Databases

Authors: John Kauffman, Bradley Millington

1st Edition

0471781347, 978-0471781349

More Books

Students also viewed these Databases questions