Learn by doing

Worked Examples

Explore practical electronics demos with schematics, code and step-by-step explanations.

Breadboard wiring for a GL5528 LDR and 10 kΩ resistor connected to Arduino A0
Analogue Sensors

Self-calibrating LDR light sensor bar

Use an LDR and a 10 kΩ resistor to make the LED matrix respond to room brightness.

Open example
Schematic for a non-inverting op-amp amplifier with adjustable gain
Operational Amplifiers

Non-inverting amplifier demo

Build an adjustable-gain amplifier and measure how its output changes with an Arduino.

Open example
Breadboard and schematic for a potentiometer connected to an Arduino analogue input
Converters

Using the ADC to read a voltage and display the binary value

Read a potentiometer voltage with the Arduino's ADC and show the raw binary-derived count on the LED matrix.

Open example
Breadboard and schematic for a potentiometer connected to an Arduino analogue input
Converters

Using the ADC To read a voltage and display the voltage level

Convert the ADC count back into a voltage and show it as X.X on the LED matrix.

Open example
Breadboard and schematic for a potentiometer connected to an Arduino analogue input
Converters

Quantisation Explained

Visualise a 3-bit ADC: the bits only change when the voltage overflows the top of a band.

Open example
Arduino UNO R4 wiring diagram for the signal-sampling demonstration
Converters

Sampling and aliasing

See how lowering the sampling rate changes the apparent shape of a sine wave.

Open example