Project-1: Blink an LED
Objective: Make an LED blink ON and OFF repeatedly using Arduino to learn basic output control.
Components: Arduino Uno, LED, 220Ω resistor, jumper wires, breadboard, USB cable.
Circuit: Arduino pin 13 → LED anode (+), LED cathode (–) → resistor → GND. Current flows from pin →
LED → resistor → GND.
Code Logic:
setup() → configure pin as output
loop() → turn LED ON (HIGH), wait 1 sec, turn LED OFF (LOW), wait 1 sec → repeat infinitely
Learning Outcome: Understand digital output, pin configuration, and how microcontrollers control
external devices.
CODE:
CONNECTION:
Project-2: Button Controlled LED
Goal: Control LED with a push button (digital input concept).
Circuit: Button → Pin 2 →10 kΩ (with pull-down resistor) → GND, Button(other leg on same side) →
5V, LED → Pin 13.
Logic: Button press = HIGH → LED ON; release = LOW → LED OFF.
Code Functions: digitalRead() (input), digitalWrite() (output), if condition for decision-making.
Learning Outcome: You learned digital input reading, pull-down resistor concept, and input-output
interaction — the basis for real-world control systems.
CODE:
CONNECTION:
Project-3: RGB LED (Color Mixing with PWM)
Goal: Mix red, green, and blue light using PWM to create different colors.
Concept: PWM controls brightness by varying ON/OFF time (duty cycle).
Circuit: RGB LED (common cathode) → Pins 9, 10, 11 (PWM).
Code: Use analogWrite() to adjust brightness from 0–255.
Learning Outcome: You understood analog output simulation, PWM, and light color mixing — a key
skill in embedded control systems.
CODE:
CONNECTION:
Project-4: Potentiometer Control (Analog Input &
Mapping)
Goal: Control LED brightness using analog input from a potentiometer.
Concept: ADC converts voltage (0–5V) to digital (0–1023).
Function Used: analogRead() and map().
Output: LED brightness changes smoothly.
Learning Outcome: You understood analog input and how to map it to control any analog output.
CODE:
CONNECTION:
Project-5: Temperature & Humidity Monitor using
DHT11 Sensor
Sensor Used: DHT11 for temperature & humidity.
Type: Digital sensor with internal microcontroller.
Interface: One-wire digital data transfer.
Code Functions: readTemperature(), readHumidity().
Learning Outcome: You learned to read and process digital sensor data using Arduino.
CODE:
CONNECTION:
Project-6: Automatic Fan Control based on Temperature
Objective: To control a 12 V DC fan using Arduino and a relay by switching the fan’s negative terminal.
Components Used: Arduino UNO, 12 V DC fan, 5 V relay module, jumper wires, 12 V power supply.
Working Principle: When Arduino output (D8) is HIGH, the relay energizes—COM connects to NO—fan
negative completes the circuit → fan ON. When output is LOW, circuit opens → fan OFF.
Code Logic: Arduino toggles the relay pin every 5 seconds using digitalWrite(relayPin, HIGH/LOW) with
delays, alternately turning the fan ON and OFF.
Outcome : The project teaches relay operation, isolation between control and load circuits, and
practical switching of higher-voltage devices (12 V fan) using a low-voltage microcontroller signal.
CODE:
CONNECTION:
Project-7: Display Message on 16×2 LCD
Objective: To interface a 16×2 LCD with Arduino and display custom messages like “Hello World”.
Components Used: Arduino UNO, 16×2 LCD, 10 kΩ potentiometer, jumper wires, breadboard.
Working Principle: Arduino sends data to the LCD through 6 digital pins (RS, E, D4–D7). The RS pin
selects command/data mode, E triggers transfer, and the LCD shows the sent characters.
Code Logic: Using the LiquidCrystal library — initialize LCD with [Link](16,2), set cursor positions,
and use [Link]() to display text on both lines.
Learning Outcome: Learned how to interface LCD hardware properly with Arduino, including contrast
and backlight control.
CODE:
CONNECTION:
Project-8: Displaying Temperature and Humidity on
16×2 LCD using DHT11 Sensor
Objective: Display temperature and humidity from a DHT11 sensor on a 16x2 LCD using Arduino.
Concept: DHT11 sends digital temperature & humidity data → Arduino reads it → LCD shows values.
Components: Arduino Uno, DHT11 sensor, 16x2 LCD, 10kΩ potentiometer, jumper wires.
Code Logic:
Read data using DHT library.
Send values to LCD using [Link]().
Update display every 2 seconds.
Learning Outcome: After uploading the code, the Arduino continuously reads temperature and
humidity data from the DHT11 sensor and displays the live readings on the 16x2 LCD. The display
automatically updates every few seconds.
CODE:
CONNECTION:
Project-9: Dynamic Text Display on OLED
Objective: To display a live counter or animation on an OLED using Arduino Uno.
Concepts Used: Uses I²C communication, OLED pixel control, and Adafruit display libraries.
Components: Arduino Uno, 0.96" OLED (I²C), jumper wires, breadboard.
Code Logic: Initialize OLED → clear screen → print counter → update display → repeat.
Learning Outcome: Learn I²C interfacing, OLED handling, and dynamic display updates.
CODE:
CONNECTION:
Project-10: Seven Segment Display with Arduino Uno
[Link]
Objective: To display digits (0–9) on a seven-segment display using Arduino Uno.
Concepts Used: Digital output control and segment activation logic (a–g).
Components: Arduino Uno, 7-segment display (common cathode), 220Ω resistors, jumper wires,
breadboard.
Code Logic: Activate segments in correct ON/OFF pattern to form each digit sequentially.
Learning Outcome: Understand seven-segment working, digital pin control, and number display logic.
CODE:
CONNECTION:
Project-11: Alcohol detection using MQ3
Objective: To measure alcohol concentration using an MQ3 sensor and display it on an OLED.
Concepts Used: Analog-to-digital conversion, I²C communication, and sensor data visualization.
Components: Arduino Uno, MQ3 alcohol sensor, 0.96" OLED (I²C), jumper wires, breadboard.
Code Logic: Read analog value → convert to ppm → display alcohol level and status on OLED.
Learning Outcome: Learn sensor interfacing, ADC reading, OLED data display, and threshold-based
alerts.
CODE:
CONNECTION: