Lesson plan

Starter kit companion: the 24-lesson kit lesson plan

Follows the lessons in the Elegoo Uno R3 Super Starter Kit tutorial, in its order, each one running in your browser.

5 chapters, 24 lessons, about 14 hours, on the Arduino Uno R3. Every lesson runs in the browser, with nothing to install.

The unit

Objectives and materials

By the end, students can

  • Print, blink, light an LED, mix colors and read a button.
  • Two kinds of buzzer, a tilt switch and a servo.
  • Distance, temperature, a joystick and a remote control.
  • An LCD, a shift register, the serial monitor and seven-segment digits.
  • A DC motor both ways, a relay and a stepper, finished on the remote.

Materials for the whole unit

  • 74HC595 shift register
  • Arduino Uno R3
  • Buzzer
  • Character LCD, 16x2
  • DC motor
  • Diode
  • DPDT relay
  • Four-digit seven segment, multiplexed
  • Full-size breadboard
  • Half breadboard
  • Hobby servo
  • Infrared receiver, VS1838B
  • Infrared remote, 21 buttons
  • LED x 8
  • Light sensor
  • Logic analyzer, four channels
  • Motor driver, L293D
  • Piezo speaker
  • Potentiometer
  • Pushbutton
  • Resistor x 9
  • RGB LED
  • Seven segment display
  • Stepper motor, 28BYJ-48 with ULN2003
  • Temperature and humidity, DHT22
  • Thermistor, 10k NTC
  • Thumb stick
  • Tilt switch
  • Transistor (NPN or PNP)
  • Ultrasonic ranger

Every part is already on the simulator’s bench, so there is nothing to buy or hand out. The counts are the most any one lesson uses, if you build it on real breadboards too.

Chapter 1. About 3 h 15 min

First steps

Print, blink, light an LED, mix colors and read a button.

LessonTimeWhat students do
Making the board talkPrinting is how you find out what a board thinks. What Serial.begin does, what a baud rate really costs, and how to print a number without lying about it.50 min
  1. The one debugging tool you always have
  2. Say hello
  3. Printing a number
  4. The uptime, once a second
  5. Add a line of your own
  6. What printing costs
Make it blink with an UnoTwo wires from an Arduino Uno to the LED you already know, then press Run and let a program do the switching. Four steps, no code to write.35 min
  1. Pin 13 to the resistor
  2. Share a ground
  3. Press Run
  4. Watch the LED
Build your first circuitStart with the parts in place. Draw every wire yourself, close the loop, press Run and light the LED.40 min
  1. Your first wire
  2. Wire the button to the resistor
  3. Wire the resistor to the LED
  4. Close the loop
  5. Run your circuit
Kit: mixing colors with an RGB LEDThree LEDs under one lens. Fade red, green and blue with analogWrite and watch the colors in between appear.35 min
  1. Find the parts from your kit
  2. Run it
  3. Wait for green
  4. Build it on your bench
Kit: a button that lights an LEDRead a pushbutton with the chip’s own pull-up resistor and light an LED only while it is held.35 min
  1. Find the parts from your kit
  2. Run it and hold the button
  3. Press it a few times
  4. Build it on your bench

Materials

  • Arduino Uno R3
  • Full-size breadboard
  • LED
  • Pushbutton
  • Resistor x 3
  • RGB LED

Check for understanding

Each student finishes "Kit: a button that lights an LED" on their own, without opening the hints. The simulator checks 4 of its 4 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Build it on your bench".

Chapter 2. About 2 h 20 min

Sound and motion

Two kinds of buzzer, a tilt switch and a servo.

LessonTimeWhat students do
Kit: an active buzzerA buzzer with its own oscillator: power it and it sounds. The sketch only decides when.35 min
  1. Find the parts from your kit
  2. Run it
  3. Count the beeps on the pin
  4. Build it on your bench
Kit: playing notes on a passive buzzerA passive buzzer makes no sound on its own. tone() switches the pin at a note’s frequency and plays a tune.35 min
  1. Find the parts from your kit
  2. Run it
  3. Hear the whole tune
  4. Build it on your bench
Kit: a ball tilt switchA little ball that closes a contact while it stands up. Read it, filter its bounce, and light an LED when it tips.35 min
  1. Find the parts from your kit
  2. Run it and tip it over
  3. Stand it back up
  4. Build it on your bench
Kit: sweeping a servoA servo turns to an angle and holds it. Send it to 0, 90 and 180 degrees, then sweep it back one degree at a time.35 min
  1. Find the parts from your kit
  2. Run it
  3. All the way around
  4. Build it on your bench

Materials

  • Arduino Uno R3
  • Buzzer
  • Full-size breadboard
  • Half breadboard
  • Hobby servo
  • LED
  • Piezo speaker
  • Resistor
  • Tilt switch

Check for understanding

Each student finishes "Kit: sweeping a servo" on their own, without opening the hints. The simulator checks 4 of its 4 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Build it on your bench".

Chapter 3. About 2 h 20 min

Sensors and inputs

Distance, temperature, a joystick and a remote control.

LessonTimeWhat students do
Kit: measuring distance with soundThe HC-SR04 times an echo. Turn the time into centimeters, then beep faster as something comes closer.35 min
  1. Find the parts from your kit
  2. Put something half a meter away
  3. Come in close
  4. Build it on your bench
Kit: temperature and humidity with a DHT11A sensor with its own little chip, read over one wire. Print the temperature and the humidity every two seconds.35 min
  1. Find the parts from your kit
  2. Run it
  3. Warm it up
  4. Build it on your bench
Kit: reading a thumb joystickA joystick is two knobs and a button. Read both axes with analogRead and draw the position on a bar of LEDs.35 min
  1. Find the parts from your kit
  2. Push the stick right
  3. Press the stick
  4. Build it on your bench
Kit: decoding an IR remoteThe receiver turns flashes of infrared into pulses, and the IRremote library turns the pulses into a button’s code.35 min
  1. Find the parts from your kit
  2. Run it
  3. Press VOL+
  4. Build it on your bench

Materials

  • Arduino Uno R3
  • Buzzer
  • Full-size breadboard
  • Half breadboard
  • Infrared receiver, VS1838B
  • Infrared remote, 21 buttons
  • LED x 8
  • Resistor x 8
  • Temperature and humidity, DHT22
  • Thumb stick
  • Ultrasonic ranger

Check for understanding

Each student finishes "Kit: decoding an IR remote" on their own, without opening the hints. The simulator checks 4 of its 4 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Build it on your bench".

Chapter 4. About 4 h 20 min

Displays

An LCD, a shift register, the serial monitor and seven-segment digits.

LessonTimeWhat students do
Kit: hello on a 16x2 LCDWire the character display with six signal lines and the LiquidCrystal library, then count the seconds on it.35 min
  1. Find the parts from your kit
  2. Run it
  3. Watch it count
  4. Build it on your bench
Kit: a thermistor thermometerA resistor that changes with temperature, a voltage divider, and the beta equation: degrees on the LCD.35 min
  1. Find the parts from your kit
  2. Run it
  3. Hold it in your hand
  4. Build it on your bench
Kit: eight LEDs from three pinsThe 74HC595 shift register takes a byte one bit at a time and shows all eight bits at once.35 min
  1. Find the parts from your kit
  2. Run it
  3. Watch the latch
  4. Build it on your bench
Taking commandsThe monitor is an input too. Read characters without blocking, act on them, and answer everything, including the things you do not understand.50 min
  1. Two functions, and neither one waits
  2. Run it and read the menu
  3. Send it a command
  4. And turn it off
  5. Get it wrong on purpose
  6. Try the third command, then add one
Kit: a photocell light meterA resistor that changes with light, read on A0, shown as a bar of LEDs on the shift register.35 min
  1. Find the parts from your kit
  2. Run it
  3. Turn the lights up
  4. Build it on your bench
Kit: a countdown on a seven-segment digitDrive a one-digit display from the 74HC595, one bit per segment, and count down from 9 to 0.35 min
  1. Find the parts from your kit
  2. Run it
  3. Count down to zero
  4. Build it on your bench
Kit: four digits by multiplexingFour digits share their segment pins and take turns, four milliseconds each, faster than your eye can follow.35 min
  1. Find the parts from your kit
  2. Run it
  3. Catch the scanning
  4. Build it on your bench

Materials

  • 74HC595 shift register
  • Arduino Uno R3
  • Character LCD, 16x2
  • Four-digit seven segment, multiplexed
  • Full-size breadboard
  • LED x 8
  • Light sensor
  • Resistor x 9
  • Seven segment display
  • Thermistor, 10k NTC

Check for understanding

Each student finishes "Kit: four digits by multiplexing" on their own, without opening the hints. The simulator checks 4 of its 4 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Build it on your bench".

Chapter 5. About 2 h 20 min

Motors

A DC motor both ways, a relay and a stepper, finished on the remote.

LessonTimeWhat students do
Kit: a DC motor both ways with the L293DAn H-bridge chip turns a motor forward, backward and off, with the speed set by PWM.35 min
  1. Find the parts from your kit
  2. Run it
  3. And backward
  4. Build it on your bench
Kit: switching a motor with a relayA transistor drives the relay coil, a diode protects it, and the relay’s contacts switch a separate circuit.35 min
  1. Find the parts from your kit
  2. Run it
  3. The motor runs
  4. Build it on your bench
Kit: a stepper motor that follows a knobA stepper turns a precise number of steps. Drive the 28BYJ-48 from its ULN2003 board and point it with a knob.35 min
  1. Find the parts from your kit
  2. Run it
  3. Turn the knob all the way
  4. Build it on your bench
Kit: a stepper on the IR remotePut two lessons together: VOL+ and VOL- on the remote turn the stepper a quarter turn each way.35 min
  1. Find the parts from your kit
  2. Run it
  3. Press VOL+
  4. Build it on your bench

Materials

  • Arduino Uno R3
  • DC motor
  • Diode
  • DPDT relay
  • Full-size breadboard
  • Half breadboard
  • Infrared receiver, VS1838B
  • Infrared remote, 21 buttons
  • LED x 2
  • Logic analyzer, four channels
  • Motor driver, L293D
  • Potentiometer
  • Resistor x 3
  • Stepper motor, 28BYJ-48 with ULN2003
  • Transistor (NPN or PNP)

Check for understanding

Each student finishes "Kit: a stepper on the IR remote" on their own, without opening the hints. The simulator checks 4 of its 4 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Build it on your bench".

Your class

Teach this unit as a class

Start a class from this course and its 24 lessons are assigned in one go, in order. Students join with a six-character code or printed login cards, and each one’s work comes back to you.

The class tools are free for 30 days for one class of up to 20 students, with no card. The lessons themselves are free either way.