Skip to content
Courses

Arduino Basics: Electronics and Programming

Level
Junior High · Grades 7–9
Difficulty
Beginner
Duration
12 modules
Curriculum
36 lessons

Curriculum

12 units
  1. 01Getting to Know Arduino and Tinkercad CircuitsYou can explain what a microcontroller is, recognise the parts of an Arduino Uno board, and run your first program in Tinkercad Circuits.3 lessonsShow contents
  2. 02Electricity Basics: Voltage, Current, and ResistanceYou can calculate the right resistor for an LED using Ohm's law and wire it correctly on a breadboard.3 lessonsShow contents
    • Voltage, Current, and Resistance with a Water Tank Analogy50 minLocked
    • Wiring an LED and a Resistor on a Breadboard55 minLocked
    • Recap and Self-Check: Ohm's Law and the Breadboard45 minLocked
  3. 03Program Structure and Digital OutputYou can write a sketch with setup() and loop(), then control an LED on a breadboard using pinMode(), digitalWrite(), and delay().3 lessonsShow contents
    • Anatomy of an Arduino Sketch: setup() and loop()45 minLocked
    • Blinking an LED on Pin 8 Using a Breadboard55 minLocked
    • Recap and Self-Check: Digital Output45 minLocked
  4. 04Variables, Loops, and Many LEDsYou can store values in variables and constants, then use a for loop to control many LEDs at once.3 lessonsShow contents
    • Variables, Constants, and the for Loop50 minLocked
    • A Running Light with Five LEDs1 hLocked
    • Recap and Self-Check: Variables and Loops45 minLocked
  5. 05Digital Input with a ButtonYou can read a push button with digitalRead() and INPUT_PULLUP, then use if and else so the Arduino makes decisions.3 lessonsShow contents
    • How the Arduino Reads a Button: digitalRead and Pull-up50 minLocked
    • A Toggle Button: Press Once for On, Press Again for Off1 hLocked
    • Recap and Self-Check: Button Input45 minLocked
  6. 06The Serial Monitor and Finding MistakesYou can display messages and variable values in the Serial Monitor, deal with button bounce, and find program mistakes systematically.3 lessonsShow contents
    • The Serial Monitor: Letting the Arduino Talk45 minLocked
    • A Library Visitor Counter with a Button and Debounce1 hLocked
    • Recap and Self-Check: Serial Monitor and Debugging45 minLocked
  7. 07Analog Input: Potentiometer and Light SensorYou can read analog sensor values from 0 to 1023 with analogRead() and use them to build an automatic night light.3 lessonsShow contents
    • Analog Signals, analogRead(), and the Voltage Divider50 minLocked
    • Building an Automatic Night Light with an LDR1 hLocked
    • Recap and Self-Check: Analog Input45 minLocked
  8. 08PWM Output: Controlling Brightness and ColourYou can use analogWrite() and map() to control LED brightness and mix colours on an RGB LED.3 lessonsShow contents
    • PWM and analogWrite(): Switching On and Off Very Fast50 minLocked
    • An LED Dimmer with a Potentiometer and RGB LED Colours1 hLocked
    • Recap and Self-Check: PWM and Colour45 minLocked
  9. 09Making Sound with a BuzzerYou can play tones, melodies, and sirens with tone() and noTone() using a piezo buzzer and arrays.3 lessonsShow contents
    • Sound, Frequency, and the tone() Command45 minLocked
    • Playing a Melody and a Siren with Arrays1 hLocked
    • Recap and Self-Check: Buzzers and Tones45 minLocked
  10. 10The Ultrasonic Distance SensorYou can measure the distance to an object in centimetres with an HC-SR04 sensor and use it to build a beeping parking sensor.3 lessonsShow contents
    • How an Ultrasonic Sensor Measures Distance with Echoes50 minLocked
    • A Beeping Parking Sensor with an HC-SR04 and a Buzzer1 hLocked
    • Recap and Self-Check: The Ultrasonic Sensor45 minLocked
  11. 11Functions and millis(): Tidy and Responsive ProgramsYou can write your own functions and use millis() instead of delay() so the Arduino can handle several tasks at once.3 lessonsShow contents
    • Writing Your Own Functions and Meeting millis()55 minLocked
    • Two LEDs at Different Speeds and a Button That Stays Responsive1 hLocked
    • Recap and Self-Check: Functions and millis()45 minLocked
  12. 12Final Project: A Traffic Light and an AlarmYou can design, build, program, test, and present a traffic light with a pedestrian button and a red-light violation alarm.3 lessonsShow contents
    • Designing the Traffic Light and the Violation Alarm50 minLocked
    • Building and Programming the Traffic Light with an Alarm1 hLocked
    • Testing, Improving, and Presenting the Final Project55 minLocked

Prerequisites

No special prerequisites.

Tools and materials

Arduino Uno, Tinkercad Circuits

Final project

A traffic light and an alarm

Mentor

ES

EduSTEAM Team