Professional Documents
Culture Documents
Reportf
Reportf
MINI PROJECT
DFC40113/DATA ACQUISITION
CODE/SUBJECT : SHEET NO : MINI
SYSTEMS
PROJECT
STUDENTS : MUHAMMAD LUQMAN HAKIM WEEK : 18
BIN ALAWI
MUHAMMAD NURUDDEEN BIN
MOHD ROSLAN
DURATION : 6 HOURS VENUE : M&C LAB
LECTURER : EN. AHMAD HASSAN BIN ABU AZAM
TOPIC : NI LABVIEW
SUB-TOPIC : MyRIO and LabView
At the end of the lesson, students should be able to :
Control Explaination
Push button To make all lights go red for the pedestrian
to cross the road
Indicator Explaination
12 LEDs To simulate 4 traffic lights
Details explaination about the project
The project flow for the traffic light mini project can be explained as follows:
Inputs:
- Push Button: The push button is an input device used to simulate the presence of a
pedestrian waiting to cross the road. When the pedestrian presses the push button, the
traffic light controller will detect this signal and adjust the traffic light timings to allow safe
crossing for the pedestrian.
Outputs:
- 12 LEDs: The 12 LEDs are the output devices used to simulate the traffic lights at the
intersection. Each LED represents a different signal - green, yellow, and red - for the traffic
lights for each lane of traffic. In total, there are 4 lanes of traffic at the intersection, each with
its set of 3 LEDs.
Project Flow:
1. The traffic light controller starts in an initial state with lane 1 green light and the other
lanes red light.
2. The controller reads the state of the push button input device to detect if there are any
pedestrians waiting to cross.
3. If the push button is pressed, the controller changes the signal timings to give priority to
pedestrians, turning red lights for all the lanes’ traffic lights.
4. If there are no pedestrians waiting to cross, the controller enters the regular traffic flow
sequence.
5. The controller activates the green LED for the first lane of traffic, allowing vehicles to
proceed.
6. After a set time period(10 seconds), the controller turns off the green LED and activates
the yellow LED for the same lane of traffic, indicating that the signal is about to change for 2
seconds.
7. After 2 seconds, the controller turns off the yellow LED and activates the red LED for the
first lane of traffic, stopping vehicles and allowing the next lane to proceed.
8. The controller repeats steps 5-7 for each lane of traffic, cycling through the sequence for
each lane in turn.
9. After all lanes have had a turn, the controller returns to step 2 to check for any new
pedestrian requests.
Result
The traffic light mini project is an excellent demonstration of the practical application of
software programming and hardware integration in traffic management. The project provides
a scalable and adaptable solution for traffic light control systems, and the use of LabVIEW
and MyRIO hardware platform makes it a particularly effective and flexible solution.
One of the primary strengths of this project is its ability to efficiently manage traffic flow at a
busy intersection. The state machine design used in the traffic light controller ensures that
the timing and sequencing of traffic light signals are optimised. Additionally, the incorporation
of actuator to detect the presence of pedestrians further enhances the efficiency of the traffic
light system, allowing the controller to adjust signal timings to accommodate pedestrian
crossings and reduce traffic congestion.
The project also provides a user-friendly interface for pedestrians and drivers, with the 12
LEDs used to simulate the traffic lights providing clear and easy-to-understand signals. The
inclusion of a push button input device to prioritize pedestrian crossings demonstrates a
consideration for pedestrian safety and further enhances the user experience.
Overall, the traffic light mini project is a well-designed and implemented solution for traffic
management that provides numerous benefits, including improved traffic flow, increased
pedestrian safety, and enhanced user experience. With further optimization and refinement,
the project could be a valuable tool in managing traffic flow in various urban environments.
Conclusion
To summarize, the traffic light mini project is a practical example of the effective application
of software programming and hardware integration for managing traffic. By using the
LabVIEW graphical programming environment and MyRIO hardware platform, the project
created a timed traffic light controller that regulates the flow of traffic and pedestrians at a
busy intersection.
The traffic light controller's state machine design ensures optimal traffic light signal timing
and sequencing. Additionally, the incorporation of actuator that detect the presence of
pedestrians further improves the traffic light system's effectiveness by allowing the controller
to adjust signal timings accordingly.
The 12 LEDs used to simulate the traffic lights are easy-to-understand and provide clear
signals for pedestrians and drivers, while the inclusion of a push button input device
prioritizes pedestrian safety.
Overall, the traffic light mini project is a customizable solution that can be adapted to various
urban environments, offering scalability and versatility. With additional fine-tuning and
refinement, the project can be a valuable tool for managing traffic flow and enhancing road
safety.