Micro Lab Report (Grp-5)
Micro Lab Report (Grp-5)
Microprocessor
Course Name : and Embedded system Course Code :
Experiment No : 01
Familiarization with a microcontroller, the study of blink test and
Experiment Name :
implementation of a traffic control system using microcontrollers.
Total Marks
Comments:
(Out of ):
Title:
Familiarization with a microcontroller, the study of blink test and implementation of a traffic control system
using microcontrollers.
Abstract:
This lab focused on gaining hands-on experience with microcontrollers by conducting fundamental
experiments and implementing a real-world application. The first phase involved familiarization with a
microcontroller's hardware components, pin configurations, and programming environment. A basic blink
test was performed to verify the setup and programming workflow, allowing us to control an LED using
digital output signals. In the second phase, a simple traffic control system was designed and implemented
using the microcontroller. This system simulated the operation of traffic lights at an intersection,
incorporating timing logic to manage the sequence of red, yellow, and green lights. The lab emphasized key
concepts such as GPIO control, delay functions, and loop structures in embedded programming. Overall, the
experiment provided a foundational understanding of microcontroller operation and its application in
embedded control systems
Introduction:
The main objective of this experiment was to get familiarized with microcontrollers through hands-on
implementation using the Arduino platform. In doing so, the following tasks were performed:
a) To make an LED blink using Arduino and its built-in delay function.
b) To implement a basic traffic control system using Arduino, LEDs, and appropriate delay timing logic.
c) To observe how digital signals can control physical components in real-time embedded systems.
d) To understand the logic and structure of Arduino programming in controlling sequences.
It was hypothesized that by correctly programming the Arduino and wiring the components, both the LED
blink test and the traffic control simulation would function as expected, demonstrating the effectiveness of
microcontrollers in simple automation systems.
Arduino is an open-source electronics platform that combines a programmable microcontroller (such as the
ATmega328P on Arduino Uno) with an easy-to-use Integrated Development Environment (IDE). The
Arduino IDE uses a simplified version of C++ and allows code to be uploaded via USB, eliminating the
need for separate hardware programmers.
Arduino can control devices like LEDs through its digital I/O pins using functions such as digitalWrite() for
output control and delay(ms) to introduce time intervals. These basic functions enable tasks like blinking an
LED or simulating a traffic light sequence.
This theory underpins the LED blink test and traffic control system implemented in this experiment.
Experiment 1: Page - 2
Apparatus:
3) LED lights (RED, GREEN, and YELLOW) and three 200 ohms resistors and jumper wires
Precautions:
Experimental Procedure:
1. Gather Additional Materials: Use three LEDs (red, yellow, green), three 220Ω resistors, and
additional jumper wires.
void setup() {
void loop() {
digitalWrite(11, HIGH);
delay(3000);
digitalWrite(11, LOW);
digitalWrite(12, HIGH);
delay(2000);
digitalWrite(12, LOW);
digitalWrite(12, HIGH);
delay(500);
digitalWrite(12, LOW);
delay(500);
digitalWrite(13, HIGH);
delay(3000);
digitalWrite(13, LOW);
4. Verify and Upload: Upload the code and observe the LED sequence simulating a basic traffic light
system.
5. Test and Document: Watch the LEDs turn on/off in the expected red-yellow-green pattern. Adjust
delays if needed for timing changes.
Experiment 1: Page - 4
Simulation and Measurement:
For Red :
Practical : Simulation:
For Yellow :
Practical: Simulation:
For Green :
Practical: Simulation:
Experiment 1: Page - 5
Discussion:
The experiment demonstrated basic microcontroller operation using Arduino. The LED blink test confirmed
that digital pins and simple code can control external devices. The traffic light system showed how timed
LED sequences simulate real-world automation using delay() and digitalWrite(). Proper wiring and pin
assignments were critical for correct function. Proteus simulation helped verify the design before hardware
implementation. Overall, this lab provided fundamental skills in embedded programming and control
systems.
Conclusions:
The experiment successfully familiarized us with the Arduino microcontroller and its programming
environment. We demonstrated the ability to control LEDs using digital output pins and timing functions.
The blink test confirmed proper setup and coding skills, while the traffic light system simulated real-world
control using sequential LED operations. The use of Proteus simulation reinforced understanding by
allowing virtual testing before physical implementation. This lab laid a strong foundation for future
embedded system projects involving timing and automation.
Reference(s):
[1] Arduino Official Website, [Online: 2024], [Cited: July 22, 2025], Available: https://www.arduino.cc/
[2] H. M. Ibrahim, "Getting Started with Arduino: A Beginner’s Guide," International Journal of Advanced
Computer Science and Applications (IJACSA), vol. 9, no. 1, pp. 45–51, Jan. 2018. DOI:
10.14569/IJACSA.2018.090106
[4] N. S. Ali and M. U. Khan, "Design and Simulation of Intelligent Traffic Light System Based on Arduino
and Proteus," in Proc. 3rd Int. Conf. on Robotics and Automation Engineering (ICRAE), 2020, pp. 110–115.
DOI: 10.1109/ICRAE50950.2020.9310072
[5] Proteus Design Suite – Labcenter Electronics, [Online: 2023], [Cited: July 22, 2025], Available:
https://www.labcenter.com
Experiment 1: Page - 6