Week 1 – Introduction to Arduino and Basic LED Blinking
🎓 Overview
This foundational session introduces students to Arduino, basic electronics,
and how to blink an LED using the Arduino IDE. Students will gain hands-on
experience in circuit building and learn about digital output pins.
🔬 Learning Objectives
Understand what Arduino is and where it’s used
Learn how to set up Arduino Uno on Tinkercad
Build a simple LED blinking circuit
Write and upload a basic program to blink the LED
📂 Materials Required
Arduino Uno (on Tinkercad)
1 x LED
1 x 220Ω resistor
Breadboard and jumper wires
🔹 Session A (Saturday): Blinking an LED
Concept: Use Arduino to turn an LED ON and OFF at regular intervals.
Circuit Diagram:
Connect long leg (anode) of LED to digital pin 13 via 220Ω resistor
Short leg (cathode) of LED to GND
Tinkercad Screenshot Placeholder: [Insert screenshot here of Tinkercad
setup]
Arduino Code:
void setup() {
pinMode(13, OUTPUT); // Set digital pin 13 as output
}
void loop() {
digitalWrite(13, HIGH); // Turn the LED ON
delay(1000); // Wait 1 second
digitalWrite(13, LOW); // Turn the LED OFF
delay(1000); // Wait 1 second
}
Expected Output:
LED blinks ON and OFF every second
🔹 Session B (Sunday): Exploring Digital Outputs
Concept: Control two LEDs in sequence to create patterns
Additional Materials:
1 more LED + 1 more 220Ω resistor
Wiring:
Connect one LED to pin 12
Connect another LED to pin 13
Use resistors and complete both circuits to GND
Updated Code:
void setup() {
pinMode(12, OUTPUT);
pinMode(13, OUTPUT);
}
void loop() {
digitalWrite(12, HIGH);
digitalWrite(13, LOW);
delay(500);
digitalWrite(12, LOW);
digitalWrite(13, HIGH);
delay(500);
}
Expected Output:
LEDs blink alternately every 0.5 seconds
📅 Reflection / Homework
Try using different delay values for custom blinking speed
Add a third LED to extend the sequence
Modify the sketch to turn all LEDs ON or OFF together
📌 Your logo will appear in the header of the final printable document.