🤖 Robotics Club

Activity: Blink LED using Arduino

Age Group: 6–11 Years

1. Activity Overview

In this activity, students will learn how to control an LED using an Arduino board. They will build a simple circuit and write a short program that makes the LED turn ON and OFF repeatedly.

Big Idea: A computer-controlled device can produce a physical action based on instructions given through a program.

2. Learning Objectives

By the end of the activity, students should be able to:

3. Research Before the Activity

Core Concepts

Expected Learner Understanding

Students aged 6–11 should primarily understand the relationship between instructions and physical action. Advanced electronics theory is not required at this stage.

Likely Misconceptions

4. Materials Required

Component Quantity
Arduino Uno 1
LED 1
220Ω or 330Ω resistor 1
Breadboard 1
Jumper wires 2–3
USB cable 1
Computer with Arduino IDE 1

5. Safety Precautions ⚠️

  • Switch off/disconnect the circuit before changing connections.
  • Always use a suitable current-limiting resistor with an external LED.
  • Do not connect the LED directly across the power supply.
  • Check the polarity of the LED before powering the circuit.
  • Do not short-circuit Arduino power pins.
  • Young students should perform wiring under teacher supervision.

6. Know Your LED

An LED (Light Emitting Diode) produces light when electric current flows through it in the correct direction.

Part Purpose
Longer leg Usually the positive side (anode)
Shorter leg Usually the negative side (cathode)
Remember: The LED must be connected with the correct polarity.

7. Circuit Connection

Connect the components as follows:

Arduino Component
Digital Pin 13 LED → Resistor → LED circuit
GND LED negative side / cathode
Alternative: Arduino Uno boards commonly have a built-in LED connected to digital pin 13. Students can use the built-in LED first to understand the programming concept before building the external LED circuit.

8. Arduino Program

void setup() {
    pinMode(13, OUTPUT);
}

void loop() {
    digitalWrite(13, HIGH);
    delay(1000);

    digitalWrite(13, LOW);
    delay(1000);
}

9. Understand the Program

Code Meaning
void setup() Runs once when the Arduino starts.
pinMode(13, OUTPUT) Sets pin 13 as an output.
void loop() Runs repeatedly.
digitalWrite(13, HIGH) Turns the LED ON.
delay(1000) Waits for 1000 milliseconds (1 second).
digitalWrite(13, LOW) Turns the LED OFF.

10. Activity Procedure

  1. Place the Arduino and breadboard on the work table.
  2. Identify the LED, resistor, jumper wires and Arduino pins.
  3. Build the LED circuit according to the connection plan.
  4. Connect the Arduino to the computer using the USB cable.
  5. Open the Arduino IDE.
  6. Enter the Blink program.
  7. Select the appropriate Arduino board and port.
  8. Verify/compile the program.
  9. Upload the program to the Arduino.
  10. Observe the LED.
  11. Confirm that the LED turns ON and OFF repeatedly.

11. Explore & Investigate 🔎

Change the program and observe what happens.

Challenge 1 — Faster Blink

Change:

delay(1000);

to:

delay(200);

What happens?

Challenge 2 — Slower Blink

Try:

delay(2000);

How does the LED behave?

Challenge 3 — Create Your Own Pattern

Can you make the LED blink twice quickly and then remain OFF for two seconds?

12. Differentiated Learning

Age Expected Task
6–7 Identify LED colours and observe ON/OFF behaviour.
8–9 Build the basic circuit with teacher guidance and modify delay.
10–11 Write/modify the Arduino program and create a custom blink pattern.

13. Computational Thinking

This activity introduces several important computational ideas:

14. Assessment

Criterion Evidence
Component Identification Student identifies Arduino, LED, resistor and GND.
Circuit Building Student makes the required connections correctly.
Programming Student uploads/runs the Blink program.
Observation Student explains why the LED blinks.
Experimentation Student changes delay and observes the effect.

15. Quick Questions

  1. What is an LED?
  2. What is the purpose of a resistor?
  3. What does pinMode() do?
  4. What is the purpose of digitalWrite()?
  5. What does delay(1000) mean?
  6. Why is the code inside loop() repeated?
  7. What happens if the delay is reduced?

16. Student Reflection

Tick (✓) the statements that apply to you:

☐ I can identify an LED and resistor.

☐ I can identify Arduino digital pins.

☐ I understand ON and OFF as digital output states.

☐ I can explain what digitalWrite() does.

☐ I can explain the purpose of delay().

☐ I can modify the blink speed.

☐ I can troubleshoot a simple LED circuit.

17. Extension Challenge 🚀

Can you build a two-LED signal?

Connect two LEDs and program them so that:

  1. LED 1 turns ON.
  2. LED 1 turns OFF.
  3. LED 2 turns ON.
  4. LED 2 turns OFF.
  5. The sequence repeats.

This prepares students for the next level: Traffic Light Automation.

18. Teacher Reflection