Articles
Everything I have written.
HomeKit builds, projects, guides and blog posts in one place, the newest first.
Guides
ADS1115 16-Bit ADC
A precision 16-bit I2C analog-to-digital converter for when the ESP32’s own noisy 12-bit ADC is not accurate enough. Covers single-ended and differential inputs, the programmable gain amplifier, and reading a signed conversion result correctly.
Read more
Projects
Arduino Capacitive Buttons
Sometimes the magic isn’t in complex components, but in how cleverly you use the basics. Did you know you can create capacitive touch buttons using nothing more than a resistor, a bit of metal, and an Arduino?
Read more
Guides
MCP23017 16-Bit I/O Expander: Complete Guide
Add 16 fully configurable GPIO pins to a pin-limited board over a two-wire I2C bus, with per-pin pull-ups and interrupt-on-change. Pinout of the MCU-2317 breakout, I2C address selection, registers, an ESP-IDF example and the limits from the datasheet.
Read more
Projects
ESP32 Lifecycle Manager V2.0
A slow, friendly, step-by-step introduction to OTA updates trough Lifecycle Manager on the ESP32. I get quite a lot of messages and questions from people who want to “try OTA updates”, but who get stuck almost immediately.
Read more
Guides
CC1101 868MHz SPI RF Module – Complete Guide
A programmable sub-GHz transceiver for the 868 MHz ISM band with hardware packet handling, CRC and RSSI built in. The pinout of the module with labeled diagrams, ESP32 wiring, ESP-IDF SPI setup, register configuration, and how it compares to LoRa.
Read more
HomeKit
HomeKit Bathroom Ventilation Controller
When we renovated our bathroom, a new ventilation unit was installed, including a wireless remote control. Sounds convenient. In reality… not so much.
Read more
Projects
Philips Hue Bridge Pro – Wall Mount
The Hue Bridge Pro is slightly larger than the original Hue Bridge, enough that the original wall mount no longer fits. A from-scratch V2 redesign in Fusion 360, re-measured for a snug slide-in fit with full port and ventilation access.
Read more