Read a Rotary Encoder Without Counting Every Bounce
Decode a mechanical rotary encoder with Pico using a quadrature transition table. Count complete cycles, reject impossible jumps and expose missed edges.
Unravel the Mystery of Electronics
Explore integrated circuits through practical projects, clear wiring diagrams, component explanations, calculations and complete code examples.
Decode a mechanical rotary encoder with Pico using a quadrature transition table. Count complete cycles, reject impossible jumps and expose missed edges.
Read a 10 kΩ NTC thermistor with Pico. Derive resistance from a divider, estimate temperature and recognize open-circuit and short-circuit readings.
Build an ESP32 plant reminder using a SEN0193 capacitive soil sensor. Calibrate local dry and wet references and add hysteresis without inventing accuracy.
Use a Pico analog input and three resistors to distinguish a closed contact, open contact, short and disconnected cable. Includes fault-injection tests.
Build a reed-switch door reminder with an ATtiny85. Understand contact bounce, timer ticks and a 30-second delay with complete C firmware.
Record room temperature with Raspberry Pi and a DS18B20. Includes 3.3 V wiring, Linux 1-Wire setup and Python CSV logging with error handling.
Turn distance into sound with a Raspberry Pi Pico and HC-SR04. Build the echo divider and explore pulse timing and PWM with full MicroPython code.
Build an ESP32 Wi-Fi signal indicator with three LEDs. Understand RSSI, choose thresholds and handle missing networks with a complete Arduino sketch.
Build an ATtiny85 reaction game with two LEDs and a button. Learn timer interrupts, debounce and state machines with complete C firmware.
Build an ESP32 smart-room prototype with PIR motion, an LDR and DS18B20 temperature sensing. Includes wiring, MicroPython code and calibration.