Embedded System and Arduino Project
Embedded System and Arduino Project
PROJECTS
Presented by:-
GulshAn Kumar
CONTENTS
• 1. Introduction
•Importance ofEmbedded Systems
•Goals of the Project Report
3. What is Arduino?
•Introduction to Arduino
•Why Arduino for Embedded Projects?
•Components of Arduino UNO Board
•Technical Specs of Arduino UNO (Microcontroller, Voltage, Pins, Memo
Embedded system
Embedded systems areintelligent computingsystemsthat
perform dedicated functions within a larger system. They
consist of both hardware (microcontrollers, sensors, etc.)
and software (firmware or control logic.
Feature Description
Task-specific Designedto do one job
(e.g., control a washing
machine).
Responds quickly and
Real-time operation reliably to inputs or
changes.
Compact and energy
Low power & size efficient for small devices.
Combination of Hardware
Runs code (firmware) on
+ Software microcontrollers.
Components of Arduino:
• Microcontroller
• The “brain” of the Arduino (e.g., ATmega328P on Arduino
• UNO)
Executes code and controls inputs/outputs.
• Digital & Analog Pins
• Digital Pins: ON/OFF control for components like LEDs or
• buzzers.
Analog Pins: Read sensor data like temperature or light.
• Power Supply
• Powered via USB or external battery/power adapter (5V or
9V).
• USB Interface
• Connects to PC for uploading code and serial
communication.
• Reset Button
• Restarts the code execution.
Arduino UNO Features and Technical Specs
Importance of Arduino in
Embedded Systems:
-Digital Pins (e.g., D2 to D13): These can only read or write HIGH (1) or LOW (0).
-Analog Pins (e.g., A0 to A5): These can read a range of values from 0 to 1023.
Use analog pins when you want to measure varying values (e.g., gas levels,
temperature). Use digital pins when you only need to check ON/OFF states (e.g., switch,
LED control).
Introduction
• Inthe world of embedded systems, learning how to control basic electronic
components through programming is a fundamental step. The LED blink
project is often considered the "Hello World" of Arduino programming. It
introduces the concept of digital output and timing delays, using the Arduino
UNO to turn an LED on and off at fixed intervals
• This report explains the objective, components used, circuit connection, and
code of the LED blink project implemented using Arduino
Objective
• ToblinkanLEDconnectedtotheArduinoUNOataone-second interval
using digital output pins and basic timing control in code
Components Required
•Arduino UNO Board
•1 x LED (any color)
•1 x Resistor (220Ω)
• Breadboard
•jumper Wires
•USB Cable for Power
Circuit Description
T• he longer leg (anode) of the LED is connected to digital pin 13 on the
Arduino via a 220Ω resistor.
• shorter leg (cathode) is connected to GND (ground) on the Arduino
The
•When pin 13 is set to HIGH, current flows through the LED and it lights up.
Arduino Code
Working Principle
•The setup() functionruns once to configure pin 13 as an
output.
•The loop() function continuously turns the LED on and off
with a 1-second delay between each state.
•The delay(1000) function pauses the program for 1000
milliseconds (1 second), controlling the blinking rate.
• Applications
• Basic testing of Arduino board
functionality.
• Learning timing functions and pin
control.
• Visual indicators in larger embedded
systems
• Conclusion
The LED blink project is a simple yet powerful way to
• understand digital output and timing in embedded
systems using Arduino. It sets the foundation for more
complex projects involving sensors, actuators, and
communication modules
Project Report: Traffic Light System using Arduino
• Introduction
Traffic light systems are essential components of road safety
• and traffic control. This project demonstrates how to
simulate a basic traffic signal using Arduino and LEDs. The
traffic light follows a Red → Yellow → Green sequence with
defined delays, showcasing digital output control through
multiple pins.
• Objective
•
Tocreateamini traffic light system using three LEDs and Arduino
UNO, simulating the behavior of real world traffic signals.
Components Required
• Arduino UNO Board
• 1 x RedLED
• 1 x Yellow LED
• 1 x Green LED
• 1 x Resistor (220Ω)
• Breadboard
• jumper Wires
• USB Cable for Power
Circuit Description
Red LED connected to pin 13 via a resistor
•
Yellow LED connected to pin 12 via a resistor.
•
Green LED connected to pin 11 via a resistor.
•
All cathodes connected to Arduino GND.
•
Arduino Code
void setup() {
pinMode(13, OUTPUT)
pinMode(12, OUTPUT);
pinMode(11, OUTPUT);
}
void loop() {
digitalWrite(13, HIGH);
delay(1000);
digitalWrite(13, LOW);
delay(1000);
digitalWrite(12, HIGH);
delay(1000);
digitalWrite(12, LOW);
delay(1000);
digitalWrite(11, HIGH);
delay(1000);
digitalWrite(11, LOW);
delay(1000);
}
Traffic light
•Working Principle
•The Red,Yellow,and Green LEDs are turned on and
off sequentially using delays
•Demonstrates real-world traffic signal control logic..
•Helps understand how multiple digital outputs can be
controlled from one Arduino board.
• Applications
•Traffic signal simulation for learning.
• LED sequencing demonstration.
• Foundational concept for advanced real-
time control systems
• Conclusion
• Thistraffic light project serves as a great example of how
to simulate real-life systems using Arduino. It enhances
understanding of sequential logic, timing control, and
multiple output management
Project Report: RGB LED using
Arduino
Introduction
• RGB LEDs combine red, green, and blue light to create various colors throu
color mixing. This project demonstrates how to control an RGB LED using t
Arduino UNO board and produce different colors by varying the intensity o
each color component using PWM (Pulse Width Modulation)
Objective
• Tocreatemultiple color outputs using an RGB
LED by controlling the PWM signals from the
Arduino.
Components Required
• • Arduino
••• UNOBoard
• 1x RGB LED (Common Cathode)
3x Resistors (220Ω)
Breadboard
Jumper Wires
USB Cable for Power
Circuit Description
• Red terminal of RGB LED connected to pin 9 via 220Ω resistor.
void loop() {
digitalWrite(ledPin, HIG // Define RGB pins
int redPin = 9;
int greenPin = 10;
int bluePin = 11;
// Function to set RGB color
void setColor(int redVal, int greenVal, int blueVal) {
analogWrite(redPin, redVal);
analogWrite(greenPin, greenVal);
analogWrite(bluePin, blueVal);
}
void setup() {
pinMode(redPin, OUTPUT);
pinMode(greenPin, OUTPUT);
pinMode(bluePin, OUTPUT);
}
void loop() {
setColor(255, 0, 0); // Red
delay(1000);
setColor(0, 255, 0); // Green
delay(1000)); // Turn the LED on
setColor(0, 0, 255); // Blue
delay(1000);
setColor(255, 255, 0); // Yellow
delay(1000);
setColor(0, 255, 255); // Cyan
delay(1000);
setColor(255, 0, 255); // Magenta
delay(1000);
}
RGB
•Working Principle
•The project usesPWMtocontrol the brightness of each color in the
RGB LED.
•By varying intensity values between 0 and 255, different colors are
generated.
•analogWrite() sets the PWM value for each pin, creating color
transitions
• Applications
•Decorative lighting and displays. •Color
indicators in smart devices •Learning timing
functions and pin control.
•Learning how to use PWM control with
Arduino
• Conclusion
• This RGB LED project showcases how to generate a wide
rangeofcolors using Arduino.Itserves asa hands-on
introduction to PWM, color mixing, and the practical use o
multi-channel output control
Project Report: Alcohol Detector
using Arduino
Introduction
• Alcohol detection systems play a crucial role in ensuring road
safety and promoting responsible behavior. This project
demonstrates how to build an alcohol detector using an MQ-3
gas sensor with Arduino UNO. The system detects alcohol
concentration in the air and triggers visual and sound alerts if
the level is above a certain threshold
Objective
• To detect the presence of alcohol in the surrounding air using an MQ-3 sensor
and alert through an LED and buzzer
• Components Required
• Arduino UNO Board
• MQ-3 Alcohol Sensor
• 1x LED
• 1x Resistor (220Ω)
• 1x Buzzer
• Breadboard
• Jumper Wires
• USB Cable for Power
Circuit Description
•MQ-3 sensor's VCC pin is connected to Arduino's 5V pin.
ND pin of MQ-3 goes to Arduino’s
•Analog output (AOUT) of MQ-3 connects to A0 pin of Arduino.
•LED's anode (long leg) is connected to pin 6 through a 220Ω
resistor,
and cathode to GND.
Working Principle
• The MQ-3 sensor continuously monitors the air and gives an analog
value based on the alcohol concentration
•If the analog reading exceeds a set value (e.g., 500), it triggers both
visual (LED) and sound (buzzer) alerts.
pinMode(led, OUTPUT);
pinMode(buzzer, OUTPUT);
Serial.begin(9600); // Serial monitor for debugging
}
void loop()
{
Applications Conclusion
•Caralcoholdetection systems •Thisprojecteffectively
demonstrates how to build an
•Breath analyzers alcohol detection system using
Arduino and MQ-3 sensor. It
•Industrial safety systems. introduces interfacing of analog
sensors with microcontrollers
•Personal safety gadgets and controlling digital output
devices like LEDs and buzzers
based on sensor inputs.
Project Report: LDR Sensor using
Arduino
Introduction
• This project demonstrates the use of an LDR (Light Dependent
Resistor) sensor to detectambientlight and controlan LED
accordingly using Arduino. The LED lights up in darkness and
turns off when enough light is detected. It showcases analog
input handling and conditional digital output
Objective
• Todetect light intensity using an LDR sensor and control an LED
based on brightness levels
• Components Required
• ArduinoUNO Board
• LDR Sensor1x LED
• 1 x LED
• 1 x 220Ohm Resistor
• Breadboard
• Jumper Wires
•
USB Cable for Power
Circuit Description
• One leg of the LDR is connectedto5V on the Arduino.
• The other leg of the LDR is connected to A0 (analog input) and also to
GND through a 10kOhm resistor..
•Working Principle
•The LDR acts as a light sensor. When it receives light,
• Applications
• Conclusion
• This project isa beginner-friendly
example of using analog sensors with
Arduino. It demonstrates real-world
application of sensors and condition-
based automation effectively
Project Report: Fire Alarm System using
Arduino
Introduction
• Fire detection systems are vital for preventing accidents and
ensuring safety in homes, offices, and industries. This projec
presents a simple fire alarm system using a flame sensor and
Arduino UNO. The system alerts users with a buzzer and an
LED when fire or heat is detected.
Objective
• To detect fire or a significant rise in temperature using a flame
or heat sensor and trigger an alarm using an LED and buzzer
• Components Required
• Arduino UNO Board
• 1x LED
• Breadboard
• 1x Buzzer
• Jumper Wires
•Working Principle
• If the reading exceeds a defined threshold, the Arduino activates the buz
and LED to signal an alert.
• This project demonstrates basic analog sensor integration and safety
automation using Arduino.
• Applications
•Home and Office Fire Detection
•Industrial Fire Alarm Systems
•Safety Automation Projects
• Conclusion
• ThefirealarmsystemusingArduino isa practical
project to understand sensor interfacing and real-
time alert mechanisms. It introduces beginners to
the concepts of analog sensing and output control in
embedded systems.
Thank You