Arduino
- ArduinoSafety in the Arduino workshop
We work like engineers — we plan, build, measure and test
- ArduinoArduino, electronics and building your own devices
From your first electric circuit and C++ program to devices, automation and your own printed circuit board.
- ArduinoReview of electronics basics and measurement
Connect, measure, check: electronics basics through real components and hands-on experiments
- ArduinoArduino - 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.
- ArduinoVoltage divider, Arduino and PWM
From measuring the voltage on a potentiometer to an LED that warns when a threshold is crossed
- ArduinoTraffic 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
- ArduinoTwo 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.
- ArduinoButtons 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
- ArduinoReaction 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
- ArduinoMany 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
- ArduinoDetecting 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
- ArduinoLED 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
- ArduinoChained matrices and lamps
Two MAX7219 LED matrices in a chain on the Arduino: how a message travels along the chain, the current they draw, a scrolling score with MD_Parola and lamps
- ProjectsIdeas for your own projects
Twelve ideas for your own Arduino and ESP32 projects to build at home: what each device does, the parts it needs, the lessons that help and how to start.
- InfoBreadboard
How a breadboard works: which holes are connected, how to place components and wires, the power module, common mistakes and finding faults.
- InfoShort circuit
What a short circuit is, why it is dangerous, how it happens on a breadboard and an Arduino, and how to recognise, find and prevent it.
- InfoMultimeter
How a multimeter works: its parts, the symbols on the dial, reading the display, testing continuity, measuring voltage and current, and common mistakes.
- InfoOscilloscope
What an oscilloscope is and how to use it: the parts of the FNIRSI-1014D, the probe, the trigger, reading the screen and an Arduino PWM signal.
- InfoWires, cables and connectors
Solid and stranded wire, wire gauge and voltage drop, wire colours, Dupont, JST, screw terminals and DC plugs, crimping and joining wires.
- InfoStatic electricity
Why a door handle zaps you in winter, how a spark you can't feel damages a chip, and how to protect electronics from static electricity.
- InfoPowering a project
Powering an Arduino project: USB, adapters and batteries, a power budget, linear regulators and buck converters, motors, common GND and fuses.
- InfoTroubleshooting a circuit
How to find a fault step by step on a breadboard and on a printed circuit board: power, GND, looking, measuring voltage and continuity, splitting in half.
- InfoDiagrams
What block diagrams, schematics, wiring diagrams, flowcharts, timing and state diagrams are for, and how to read a schematic, with traffic light examples.
- Info29 misconceptions about electronics
29 common misconceptions about electronics: does a resistor use up current, can LEDs share a resistor, what is ground, why can't an Arduino pin drive a motor?
- InfoRectifiers and voltage regulators
How to get a steady 6 V from 9 V AC: the bridge rectifier, the smoothing capacitor, the 7806 regulator and regulators for currents of 3 to 5 A.
- InfoBuck converter: how it works and when it beats a 7805
How a buck converter lowers a voltage with almost no heat: switch, diode, inductor and capacitor, duty cycle, ripple and a comparison with the 7805.
- InfoHow devices talk: UART, I2C and SPI
How an Arduino, a micro:bit and modules exchange messages: bits through a wire, protocols and clocks, and UART, I2C and SPI, their pins and common mistakes.
- InfoDigital and analogue
What a digital and an analogue signal are, how the micro:bit and Arduino measure a voltage (0 to 1023), when a pin is HIGH, and why PWM isn't a real voltage.
- InfoPinouts: micro:bit, Arduino Uno, Nano, Mega and Giga
What each pin of the micro:bit (V1, V2) and the Arduino Uno, Nano, Mega and Giga does: power, GND, digital, analog, PWM, I2C, SPI, UART and current limits.
- InfoArduino boards: Uno, Nano, Mega and Giga
How the Arduino Uno, Nano, Mega and Giga differ: chip, memory, voltage, power supply and size, which board to choose, and originals and clones.
- InfoATtiny85 and other small microcontrollers
The ATtiny85 and similar small microcontrollers: pins, memory, programming with an Uno in the Arduino IDE and PlatformIO, the Digispark, coin-cell power.
- InfoArduino IDE: from program to microcontroller
How to install the Arduino IDE, choose the board and port, upload a program to the Arduino, use the Serial Monitor and libraries, and fix common errors.
- InfoArduino and Visual Studio Code: larger projects with PlatformIO
How to program an Arduino in Visual Studio Code with PlatformIO: installing, the project and platformio.ini, main.cpp, libraries and several files.
- InfoBinary, octal and hexadecimal numbers
How a computer counts with zeros and ones: binary numbers on LEDs, bits, nibbles and bytes, octal and hexadecimal numbers, and writing them in code.
- InfoVariables and data types
Variables on the micro:bit and Arduino: the types int, long, float and char, storage in memory, byte order, type conversion and common mistakes.
- InfoArrays: many values under one name
Arrays in MakeCode and Arduino programs: indexes from zero, a loop through an array, two-dimensional arrays, sizeof, memory and going past the end of an array.
- Infomillis() instead of delay()
How an Arduino measures time without stopping: millis() as a stopwatch, the right way to check a time, the overflow after 49.7 days and common mistakes.
- InfoState machines
How to split a program into states: the state diagram, a micro:bit game, enum and switch on an Arduino, the entry action, a state table and a crossing button.
- InfoInterrupts
How an Arduino reacts at once without checking: attachInterrupt() on pins 2 and 3, the rules for an interrupt function, volatile, counting presses and timing.
- InfoBatteries
How batteries work: types (AA, AAA, 9 V, button cells, LiPo), what V and mAh mean, why a battery gets weaker, and rules for using batteries safely.
- InfoResistor
What a resistor does, how to read the colour code, Ohm's law, series and parallel, a resistor's power, and why the values you can buy come from the E12 series.
- InfoButtons and switches
Push buttons, microswitches, tilt and reed switches: how they work, wiring them to an Arduino with a pull-up resistor, and why contacts bounce.
- InfoPhotoresistor
A photoresistor (LDR) changes its resistance with light: how much, the voltage divider for an Arduino, choosing the resistor and a night-light program.
- InfoDiode
How a diode lets current through one way only: anode and cathode, the 0.7 V forward voltage, reverse-polarity protection, the relay diode and diode types.
- InfoLED
How an LED works: which way round it goes, why it needs a resistor and how to work it out, each colour's voltage, brightness and PWM, and RGB LEDs.
- InfoCapacitor
How a capacitor stores charge: ceramic and electrolytic, polarity, charging through a resistor, the time constant, the code 104 and what capacitors are for.
- InfoTransistor
How an NPN transistor uses a small base current to switch a large one: base, collector and emitter, using it as a switch, gain, the base resistor and heat.
- InfoBuzzer and speaker
Active and passive buzzers and speakers: telling them apart, tone() on an Arduino, playing a melody, and why a speaker needs a transistor or an amplifier.
- InfoServo motor
How an SG90 servo knows its angle: a pulse every 20 ms, three wires, its own power supply, the Arduino Servo library and how long it takes to turn.
- InfoInfrared sensors
Infrared light, line sensors with an LED and a phototransistor, TV remotes and 38 kHz receivers, why sunlight confuses them, and an Arduino program.
- InfoHall sensor
A Hall sensor feels a magnet without touching it: the A3144 switch, latches and linear sensors, wiring to an Arduino, and a steel ball over a magnet.
- InfoOperational amplifier
The op-amp: the LM358, comparator, the two rules, follower, inverting and non-inverting amplifiers, real limits, and measuring current with an Arduino.
- ProjectsPinball
We build a tabletop pinball machine with Arduino together: buttons, ball sensors, coils, lamps, an LED display and sound, part by part in the workshops.
- ProjectsDrone
From measuring motors and analysing the power supply to the first working drone prototype.
- ProjectsSoundLab
SoundLab: a small musical instrument with an Arduino, potentiometers and an LM386 amplifier. We explore making sound, gain, noise and the power supply.
- ProjectsUseless box
A useless box with an Arduino and an SG90 servo that switches itself off: PWM, powering a servo and reading a switch.