Arduino workshop plan

The Arduino workshop plan for the 2026/27 school year: which lesson is done at which workshop and in which month, with a short description of each lesson.

Safety and basics

  1. Workshop 1()

    Chapter 0Safety in the Arduino workshop

    We work like engineers — we plan, build, measure and test

    Chapter 1Electric circuit - basic concepts

    The basics of an electric circuit: what current, voltage and resistance are, their units, and how to measure them with an ammeter, voltmeter and ohmmeter.

    Lesson 1.1Arduino, electronics and building your own devices

    From your first electric circuit and C++ program to devices, automation and your own printed circuit board.

  2. Workshop 2()

    Lesson 1.2Review of electronics basics and measurement

    Connect, measure, check: electronics basics through real components and hands-on experiments

Arduino inputs and outputs

  1. Workshops 3–4()

    Chapter 2Arduino - step by step

    An automatic light like a fridge light: push button, NPN transistor and LDR, then an Arduino that reads the light on A0 and dims an LED with PWM.

  2. Workshop 5()

    Lesson 2.1Voltage divider, Arduino and PWM

    From measuring the voltage on a potentiometer to an LED that warns when a threshold is crossed

  3. Workshop 6()

    Lesson 2.2Traffic lights for cars and pedestrians

    The Arduino controls a traffic light for cars, a pedestrian light and a sound signal, and our own function keeps the program short and easy to read

  4. Workshops 7–8()

    Lesson 2.3Two traffic lights at a crossroads

    Two Arduinos talk over a wire: traffic light A controls the crossroads, B listens and reports when it has stopped, and with millis() both notice a fault.

Inputs and time

  1. Workshop 9()

    Chapter 3Buttons done right

    A button with INPUT_PULLUP, counting presses, contact bounce, debouncing with millis() and with the Bounce2 library, and telling a press from a hold

  2. Workshop 10()

    Lesson 3.1Reaction game

    A reaction game on the Arduino: a state machine with switch and case, a random wait with random(), timing with millis() and sounds with tone() that don't wait

  3. Workshop 11()

    Lesson 3.2Many switches on few pins

    A switch matrix on the Arduino: a 4 × 4 membrane keypad scanned by our own code, arrays and nested loops, ghost keys and the diodes that remove them

  4. Workshops 12–13()

    Lesson 3.3Detecting the ball

    The Arduino detects the ball: a microswitch on a ramp, a hit timed with micros(), why Bounce2 misses a short hit, a tilt and an infrared break-beam

Lights, cards, servos, sound

  1. Workshop 14()Current workshop

    Chapter 4LED matrix and MAX7219

    An 8 × 8 LED matrix with the MAX7219 chip on the Arduino: multiplexing, our own send function with shiftOut(), a picture, an animation and scrolling text

  2. Workshop 15()

    Lesson 4.1Chained matrices

    Two matrices in a chain and how a message travels through them; measuring the current with a multimeter; a scrolling score with the MD_Parola library; the MAX7219 also drives single LEDs.

  3. Workshop 16()

    Lesson 4.2RFID cards

    The RC522 RFID card reader: reading a card's number (UID) and a list of known cards, the 3.3 V supply, voltage dividers on the signals and a short look at SPI.

  4. Workshop 17()

    Lesson 4.3SG90 servo

    The SG90 servo: a positional servo turns to the angle set by a potentiometer, and a continuous one spins. A separate 5 V supply and a common GND.

  5. Winter break
  6. Workshops 18–19()

    Project: arcade gadget

    A small project of your own: an arcade gadget made from the buttons, buzzer, matrix, cards and servo of the earlier lessons.

  7. Workshop 20()

    Lesson 4.4Sound: DFPlayer

    Sound effects and music with the DFPlayer Mini module, with a recap of tone().

  8. Workshop 21()

    Lesson 4.5Two Unos over I2C

    Two Unos talk over I2C: one sends events, the other drives the lights, the servo and the sound.

Power and coils

  1. Workshop 22()

    Chapter 512 V power supply

    A 12 V supply: choosing a safe source, the voltage with and without a load, a fuse, a common GND and measuring the current.

  2. Workshop 23()

    Lesson 5.1Transistor and relay

    A transistor and a relay as switches for bigger currents, and the flyback diode that protects the transistor when a coil switches off.

  3. Workshop 24()

    Lesson 5.2MOSFET and solenoid

    A MOSFET switches a solenoid: how long the pulse lasts, how long it may stay on at most and how warm it gets.

  4. Workshop 25()

    Lesson 5.3Flipper on a test bench

    A flipper on a test bench: a strong pulse for the hit, then PWM to hold it up.

Designing the pinball

  1. Workshop 26()

    Chapter 6How a pinball works

    How a pinball machine works: choosing a theme, a cardboard prototype and the first 3D prints.

  2. Workshop 27()

    Lesson 6.1Playfield layout

    The playfield layout at full size: the slope, the flippers, the ball's paths and the places for the diverter, the lamps and the card reader.

  3. Workshop 28()

    Lesson 6.2Rules as a state diagram

    The pinball machine's rules and game modes as a state diagram.

  4. Workshop 29()

    Lesson 6.3Architecture: 4 Unos

    The pinball machine's architecture: four Unos, the list of inputs and outputs, sharing out the pins and the current, and four teams.

  5. Workshop 30()

    Lesson 6.4KiCad: driver board

    In KiCad we draw the coil driver board as a shield for the Uno, then order it or build it on perfboard.

Build and program

  1. Workshop 31()

    Chapter 7PlatformIO and cabinet

    PlatformIO and a project with several files; work on the pinball cabinet begins.

  2. Workshop 32()

    Lesson 7.1Flippers

    Flippers: the teams fit their coils and program them with the buttons.

  3. Workshop 33()

    Lesson 7.2Switches

    The playfield switches: the matrix, the break-beams and the tilt report hits to the main Arduino.

  4. Workshop 34()

    Lesson 7.3Slingshots

    Slingshots: a switch fires a coil that kicks the ball away.

  5. Workshop 35()

    Lesson 7.4Lamps and display

    The pinball machine's lamps and display: the score, pictures and playfield lights through MAX7219 chips.

  6. Workshop 36()

    Lesson 7.5Sound and servo mechanisms

    Sound effects and music, and the servo mechanisms on the playfield, such as the diverter.

  7. Workshop 37()

    Lesson 7.6Soldering the boards

    Soldering practice and putting together the pinball machine's boards.

  8. Workshop 38()

    Lesson 7.7The whole game

    The whole game: player cards, high scores in EEPROM and a service mode.

  9. Workshop 39()

    Lesson 7.8Playtesting and tuning

    Connecting all the parts of the pinball machine, playtesting and tuning.

Finale

  1. Workshop 40()

    Pinball tournament

    Showing the pinball machine and a pinball tournament.