School
School
SYLLABUS
S No Title Duration
Day 1
1 Basic Electronics
Day 2
Introduction to
2 Microcontroller Day 3
And Microprocessor
Introduction to Sensor’s
3 Day 4
And Display’s
Introduction to Motor
4 Day 5
And Motor Driver’s
Communication
5 Day 6
Protocols
Basic Programming For
6 Day 7
Microcontroller
Project Training,
7 Day 8
Program Task
Basic Electronics Syllabus (Day 1, Day 2)
Session 1: Understanding Electronics Basics
What is electricity?
(voltage, current, resistance) .
Introduction to the concept of circuits (open vs. closed circuits).
Safety in handling electronics.
Session 2 :Exploring Basic Electronic Components
Understanding and identifying resistors, LEDs, capacitors, and batteries.
How to read resistor color codes.
Using a breadboard: understanding rows, columns, and power rails.
Session 3: Building Simple Circuits
Circuit 1: Lighting up an LED with a battery and resistor.
Circuit 2: Adding a switch to control the LED .
Circuit 3: Using a potentiometer to adjust LED brightness.
Session 4: Introduction to Multimeters and Measurements
How to use a multimeter to measure voltage, current, and resistance.
Measuring values in student-built circuits.
Practicing measurement skills on different circuit components.
Arduino Syllabus
Module 1: Introduction to Arduino
Overview of Arduino and its applications .
Types of Arduino boards (Arduino Uno, Nano, Mega, etc.) .
Setting up the Arduino IDE .
Introduction to the Arduino programming language .
Understanding basic components: resistors, capacitors, LEDs, switches .
Module 2: Basic Programming and Electronics
Understanding digital and analog signals .
Writing your first Arduino program (Blink LED) .
Using digital I/O: controlling LEDs, reading switches .
Analog I/O: using potentiometers and sensors .
Basic Arduino functions (setup(), loop(), digitalWrite(), digitalRead(),
analogWrite(), analogRead()).
Module 3: Interfacing Sensors and Actuators
Introduction to sensors and actuators .
Temperature and humidity sensors (DHT11, DHT22).
Ultrasonic distance sensor (HC-SR04) .
Motion detection (PIR sensor).
Light intensity sensor (LDR) .
Servo motor control .
Module 4: Communication Protocols
Introduction to Serial Communication.
Serial Monitor and Serial Plotter.
I2C Communication: interfacing LCD displays, sensors .
SPI Communication: SD card modules, other peripherals .
Bluetooth Communication with Arduino (HC-05, HC-06).
Module 5: Advanced Topics in Arduino Programming .
Using libraries (Wire, LiquidCrystal, Servo, etc.) .
Timing and Delays (millis(), delay()) .
Interrupts: concepts and applications.
Session 1: Understanding Electronics Basics
1. What is Electricity?
Electricity is the flow of electric charge, typically through a conductive material. It powers
almost all modern devices and technologies. In technical terms, electricity is the
movement of electrons within a material and can be generated by various sources, such
as batteries and power plants.
Voltage (V): Often described as "electric potential difference," voltage is the force
or pressure that drives electrons to flow in a circuit. Measured in volts (V), it’s like
the “push” that moves electricity through a conductor.
Current (I): This is the actual flow of electrons through a circuit, measured in
amperes (A). Current describes the rate at which electric charge flows.
Resistance (R): Resistance measures how much a material resists the flow of
current, measured in ohms (Ω). Higher resistance means less current flows at a
given voltage.
The relationship between these three is defined by Ohm’s Law: V=I×RV = I \times
RV=I×R.
Closed Circuit: A circuit with a complete path, allowing current to flow. For
example, turning on a light switch completes the circuit, allowing current to flow to
the light.
Open Circuit: A circuit with a break or gap, which stops the current flow. Turning
off a light switch creates an open circuit, stopping the flow to the light.
Handling electronics can be dangerous if precautions aren’t taken, especially with high
voltages and currents. Key safety guidelines include:
For example:
A resistor with bands Brown, Black, Red, Gold has a value of 1,000 ohms (1 kΩ)
with ±5% tolerance.
3. Using a Breadboard
Rows and Columns: Breadboards have rows and columns of holes. Each row is
connected horizontally, but the center divide separates the two halves. Columns
are not connected across the divider.
Power Rails: Breadboards often have two rows on each side (labeled + and -)
that run vertically. These are used to connect power (+) and ground (-) lines
across the breadboard for easy access to the power supply.
Using a breadboard is ideal for quickly building and testing circuits by simply plugging
components and wires into the holes.
This simple circuit will demonstrate the basics of powering an LED with a
resistor.
Components Needed:
LED
Resistor (typically 220Ω or 330Ω to limit current)
Battery (e.g., 9V) or a power supply
Circuit Steps:
Connect the positive (+) terminal of the battery to one end of the resistor.
Connect the other end of the resistor to the anode (longer leg) of the LED.
Connect the cathode (shorter leg) of the LED to the negative (-) terminal of the
battery.
When the circuit is complete, the LED should light up.
Here, we'll add a switch to control the LED, allowing us to turn it on and off.
Components Needed:
LED
Resistor (220Ω or 330Ω)
Battery
Switch
Circuit Steps:
Set up Circuit 1 as before, but don’t connect the battery directly to the resistor.
Insert the switch between the battery and the resistor.
Connect one terminal of the switch to the positive (+) terminal of the battery.
Connect the other terminal of the switch to the resistor.
Now, pressing the switch completes the circuit, lighting up the LED.
This circuit introduces a potentiometer, which allows you to adjust the resistance
and therefore control the LED brightness.
Components Needed:
LED
Resistor (if required to limit current, typically 220Ω)
Battery
Potentiometer (10kΩ)
Circuit Steps:
1. Connect the positive (+) terminal of the battery to one outer terminal of the
potentiometer.
2. Connect the other outer terminal of the potentiometer to the anode of the LED.
3. Connect the cathode of the LED to the negative (-) terminal of the battery.
4. Adjust the potentiometer to vary resistance and change the LED’s brightness.
A multimeter is a versatile tool for measuring voltage, current, and resistance. Here’s how to use it for each:
Set the multimeter to the DC voltage (V⎓) setting for most electronics circuits.
Connect the black probe to the COM (common) port and the red probe to the
VΩmA port.
Place the probes across the component or points in the circuit where you want to
measure voltage (parallel connection).
The display will show the voltage in volts.
1. The display will show the current in amperes (A) or milliamperes (mA).
Measuring Resistance (R):
1. Set the multimeter to the Ω (Ohm) setting.
2. Connect the black probe to the COM port and the red probe to the VΩmA
port.
3. Place the probes on either end of the resistor (or the component) while it is
disconnected from the circuit to avoid interference.
4. The display will show the resistance in ohms (Ω).
This activity will help students become more comfortable with using a multimeter. They
can practice:
These hands-on exercises will reinforce understanding of multimeter use and basic
electronic components.
Microcontrollers
Arduino UNO pin Details
Arduino Nano
Setting up the Arduino IDE
Note: If you're not sure which serial device is your Arduino, take a look at the available
ports, then unplug your Arduino and look again. The one that disappeared is your
Arduino.
With your Arduino board connected, and the Blink sketch open, press the "Upload"
button.
After a second, you should see some LEDs flashing on your Arduino, followed by
the message "Done Uploading" in the status bar of the Blink sketch.
If everything worked, the onboard LED on your Arduino should now be blinking!
You just programmed your first Arduino!
Basic Arduino Uno Code
1. Blinking Of LED
int LED = 13;//LED connect to 13 pin
void setup(){
void loop(){
2. Buzzer Interfacing
int Buzzer = 3;// Buzzer connect to 3 pin
void setup(){
void loop(){
long duration;
int distance;
void setup() {
Serial.begin(9600);
INPUT
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
void loop() {
digitalWrite(trigPin, LOW);
delayMicroseconds(2);
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);
Serial.print("Distance: ");
Serial.print(distance);
Serial.println(" cm");
delay(500);
}
DHT22)
void setup() {
Serial.begin(9600);
dht.begin();
void loop() {
if (isnan(temperature) || isnan(humidity)) {
return;
Serial.print("Temperature: ");
Serial.print(temperature);
Serial.println(" °C");
Serial.print("Humidity: ");
Serial.print(humidity);
Serial.println(" %");
delay(2000);
}
Sample Arduino Uno Project
Smart light using on PIR Sensor
Wiring:
PIR Sensor:
o VCC -> Connect to 5V on the Arduino.
o GND -> Connect to GND on the Arduino.
o OUT -> Connect to any digital pin on the Arduino (e.g., pin 2).
LED (Light):
o Connect the positive (long) leg of the LED to a resistor (220Ω) and then to a digital
pin on the Arduino (e.g., pin 13).
o Connect the other leg of the LED to GND.
CODE:
// Define the pins
const int pirPin = 2; // PIR sensor output pin
const int ledPin = 13; // LED pin (or relay pin for an actual light)
void setup() {
// Initialize the serial monitor
Serial.begin(9600);
void loop() {
// Read the PIR sensor
pirState = digitalRead(pirPin);
} else {
Serial.println("No motion. Light OFF.");
digitalWrite(ledPin, LOW); // Turn off LED (light)
}
Components Needed:
Wiring:
Code:
// Define the pins
const int touchPin = 2; // Touch sensor output pin
const int ledPin = 13; // LED pin
int ledState = LOW; // Current state of the LED
int touchState = 0; // Current state of the touch sensor
void setup() {
// Initialize the serial monitor
Serial.begin(9600);
void loop() {
// Read the touch sensor state
touchState = digitalRead(touchPin);
Components Needed:
Wiring:
IR Sensor Module:
o VCC -> Connect to 5V on the Arduino.
o GND -> Connect to GND on the Arduino.
o OUT -> Connect to a digital pin on the Arduino (e.g., pin 2).
LED:
o Connect the positive (long) leg of the LED to a 220Ω resistor and then to a digital pin on the
Arduino (e.g., pin 13).
o Connect the other leg of the LED to GND.
Code:
const int irPin = 2; // IR sensor output pin
const int ledPin = 13; // LED pin
void setup() {
Serial.begin(9600); // Initialize Serial Monitor
pinMode(irPin, INPUT); // IR sensor as input
pinMode(ledPin, OUTPUT); // LED as output
digitalWrite(ledPin, LOW);
}
void loop() {
int objectDetected = digitalRead(irPin); // Read IR sensor output
Requirements
Connections
1. VCC → 5V on the Arduino
2. GND → GND on the Arduino
3. SDA → SDA on the Arduino (A4 on Uno, D21 on ESP32)
4. SCL → SCL on the Arduino (A5 on Uno, D22 on ESP32)
Code Example
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
// Set the LCD address to 0x27 (or 0x3F depending on the LCD)
LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup() {
// Initialize the LCD
lcd.begin();
lcd.backlight(); // Turn on the backlight
void loop() {
// You can update or change text here if desired
}
Explanation