EECS 3100 Lab 7 Report
pdf
keyboard_arrow_up
School
University of Toledo *
*We aren’t endorsed by this school
Course
3100
Subject
Electrical Engineering
Date
Feb 20, 2024
Type
Pages
7
Uploaded by ydn7229
Lab Report Experiment 7 Traffic Light Controller EECS 3100 Embedded Systems Lab By Collin Oedy (50%) & Nicholas Walsh (50%) 12/1/23
Introduction This is the final lab of the semester. The lab involves creating a control system for a two-
street traffic light and crosswalk by implementing a finite state machine. Skills learned include advanced indexed addressing, linked data structures, and creating fixed time delays using the SysTick Timer. Pre-Lab There was a pre-lab reading assignment to be completed before starting the lab. Procedure First, we had to decide on the ports we would use for our system. We ultimately decided on option 1, where PA7, PA6, and PA5 would act as red south, yellow south, and green south. PA4, PA3, and PA2, would act as red west, yellow west, and green west. With this selection, we had to use option 2 for the sensors, so PE2, PE1, and PE0 would be walk sensor, south sensor, and west sensor. Next the Finite State Machine was designed. Below in Figure 1
is the drawing of the FSM. Figure 1: Finite State Machine Diagram
Next, the program was developed. The program can be seen in its entirety below in Figure 2
.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Figure 2: C Code of the Finite State Machine
After, the circuit was to be built. Below in Figure 3
is the diagram of the circuit. Unfortunately, I have no pictures of the physical circuit as I forgot to take them before returning my breadboard.
Figure 3: Circuit Diagram
After verifying the function of the circuit, the lab was completed. Discussion Below in Figure 4
, the logic analyzer for can be seen showing various states.
Figure 4: Logic Analyzer Output
Finally, in Figure 5
, the different modes of operation can be seen. As stated earlier, I failed to take pictures of the physical circuit, so I simulated the outputs instead. Figure 5:
East/West, Norh/South, and Walk operation
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Conclusion This final lab put most of the skills we had learned throughout the semester to the test, as well as teaching the workings of the finite state machine. Below in Figure 6
, the Demo record can be seen. The total score should be an 18.5, but the rest was cut off. Figure 6: Demonstration Record
Related Documents
Related Questions
Pls help.me answer the following, show neat and whole solution and kindly send a screenshot of simulation.
arrow_forward
Draw a 2x1 multiplexer block diagram.Create the status table. Find the simplest form of circuit output with Karnaugh.Explain the circuit problem that may occur.What should be done to fix the problem?(NEED A NEAT HANDWRITTEN SOLUTION ONLY OTHERWISE DOWNVOTE)
arrow_forward
Which of the following are part of the Arduino microcomputer.
The answer could be more than one
arrow_forward
Solve correct please
arrow_forward
What does the Arduino instruction pinmode do in the Traffic Light program?
arrow_forward
I have a wooden toy train that runs on wooden tracks. I would like to place two ESP-WROOM-32 Boards on top of the train. Broadcast communication (which involves radio frequency, not Wi-Fi) would help communicate about the train's lateness to five other wooden trains on the same track. Local communication would help communicate to the train station about the train's lateness. I would also need radio frequency Tx-Rx Modules for discharging and undergoing the signal, and repeaters just in case the signal loses power due to long-distance traveling. My wooden train should be automated. It should run at 4 inches per second, keep a minimum distance of 30 seconds away from the other wooden trains, and make a 17-second-long stop every 500 seconds.
What's the procedure to connect the components?
What's the Arduino code (C++) for this project?
arrow_forward
Using 8085 assembly language programming
Design an emergency system for the case of a stranded plane,boat, bikers that will generate the flashing message “HELP” on the address field of the SDK-85. 10 seconds on , 10 seconds off with a total delay time of 200 seconds (10 times on/off ”HELP”)
The system is activated by pressing the IV key
A.) draw a flow chart based on the situation
B.) indicate delay calculation (10 seconds) (value of DE)
C. Convert the flow chart into assembly mnemonic (indicate RAM locations)
D. Convert the mnemonics into assembly codes.
arrow_forward
What causes ground loops in an instrumentation system? What are the effects of a ground loop?
arrow_forward
I have an O Gauge track and would like to convert it into a “sensored” track. Additionally, I would like to connect that track to an ESP-WROOM-32 board that should flash an LED whenever the track detects a non-moving train. Please list all the components (and how many of each) needed. Also, what’s the procedure for connecting the components?
arrow_forward
QUESTION 1
You wish to turn on two LEDs in the middle of the display, so the first thing you will do is set AL to _________.
a
00
b
11
c
18
d
55
QUESTION 3
Signaling interrupts is an effective way to deal with interrupts if _______.
a
the microprocessor is dedicated to a task
b
a minimal number of chips is needed
c
polling is preferred
d
there are many devices installed on the system
QUESTION 4
If an ISR is called as a result of the instruction "INT 32", then it is __________.
a
an invalid operation
b
a high priority interrupt
c
a software interrupt
d
a hardware interrupt
arrow_forward
we are interested in an automatic garage gate system for a building. This system includes a gate that goes up or down, a motor to actuate the gate (pull, push) and sensors to collect information (gate open contact, gate closed contact). The sensors are all similar, each signaling to its controller that a contact has taken place. The user has a remote control to control with just two buttons: open, close.
The operating principle of the system is as follows. Suppose the gate is closed. The user opens the gate by pressing the Open button on his remote control. He can stop opening by pressing the Open button again, the motor stops. Otherwise, the gate opens completely and triggers a Gate Open sensor which causes the motor to stop. Pressing the Close button causes the gate to close if it is open (partially or fully).
The closing can be stopped by pressing the Close button again, the motor stops. Otherwise, the gate closes completely and triggers a Gate Closed sensor which causes the engine…
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you

Electricity for Refrigeration, Heating, and Air C...
Mechanical Engineering
ISBN:9781337399128
Author:Russell E. Smith
Publisher:Cengage Learning
Related Questions
- Pls help.me answer the following, show neat and whole solution and kindly send a screenshot of simulation.arrow_forwardDraw a 2x1 multiplexer block diagram.Create the status table. Find the simplest form of circuit output with Karnaugh.Explain the circuit problem that may occur.What should be done to fix the problem?(NEED A NEAT HANDWRITTEN SOLUTION ONLY OTHERWISE DOWNVOTE)arrow_forwardWhich of the following are part of the Arduino microcomputer. The answer could be more than onearrow_forward
- Solve correct pleasearrow_forwardWhat does the Arduino instruction pinmode do in the Traffic Light program?arrow_forwardI have a wooden toy train that runs on wooden tracks. I would like to place two ESP-WROOM-32 Boards on top of the train. Broadcast communication (which involves radio frequency, not Wi-Fi) would help communicate about the train's lateness to five other wooden trains on the same track. Local communication would help communicate to the train station about the train's lateness. I would also need radio frequency Tx-Rx Modules for discharging and undergoing the signal, and repeaters just in case the signal loses power due to long-distance traveling. My wooden train should be automated. It should run at 4 inches per second, keep a minimum distance of 30 seconds away from the other wooden trains, and make a 17-second-long stop every 500 seconds. What's the procedure to connect the components? What's the Arduino code (C++) for this project?arrow_forward
- Using 8085 assembly language programming Design an emergency system for the case of a stranded plane,boat, bikers that will generate the flashing message “HELP” on the address field of the SDK-85. 10 seconds on , 10 seconds off with a total delay time of 200 seconds (10 times on/off ”HELP”) The system is activated by pressing the IV key A.) draw a flow chart based on the situation B.) indicate delay calculation (10 seconds) (value of DE) C. Convert the flow chart into assembly mnemonic (indicate RAM locations) D. Convert the mnemonics into assembly codes.arrow_forwardWhat causes ground loops in an instrumentation system? What are the effects of a ground loop?arrow_forwardI have an O Gauge track and would like to convert it into a “sensored” track. Additionally, I would like to connect that track to an ESP-WROOM-32 board that should flash an LED whenever the track detects a non-moving train. Please list all the components (and how many of each) needed. Also, what’s the procedure for connecting the components?arrow_forward
- QUESTION 1 You wish to turn on two LEDs in the middle of the display, so the first thing you will do is set AL to _________. a 00 b 11 c 18 d 55 QUESTION 3 Signaling interrupts is an effective way to deal with interrupts if _______. a the microprocessor is dedicated to a task b a minimal number of chips is needed c polling is preferred d there are many devices installed on the system QUESTION 4 If an ISR is called as a result of the instruction "INT 32", then it is __________. a an invalid operation b a high priority interrupt c a software interrupt d a hardware interruptarrow_forwardwe are interested in an automatic garage gate system for a building. This system includes a gate that goes up or down, a motor to actuate the gate (pull, push) and sensors to collect information (gate open contact, gate closed contact). The sensors are all similar, each signaling to its controller that a contact has taken place. The user has a remote control to control with just two buttons: open, close. The operating principle of the system is as follows. Suppose the gate is closed. The user opens the gate by pressing the Open button on his remote control. He can stop opening by pressing the Open button again, the motor stops. Otherwise, the gate opens completely and triggers a Gate Open sensor which causes the motor to stop. Pressing the Close button causes the gate to close if it is open (partially or fully). The closing can be stopped by pressing the Close button again, the motor stops. Otherwise, the gate closes completely and triggers a Gate Closed sensor which causes the engine…arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Electricity for Refrigeration, Heating, and Air C...Mechanical EngineeringISBN:9781337399128Author:Russell E. SmithPublisher:Cengage Learning

Electricity for Refrigeration, Heating, and Air C...
Mechanical Engineering
ISBN:9781337399128
Author:Russell E. Smith
Publisher:Cengage Learning