Extracting values from JSON using ArduinoJson almost-always** takes many times longer and consumes many times more memory than just parsing the JSON “on-demand” every time you want to extract a value. RaftJson is an on-demand parser which is many times quicker than ArduinoJson in most real-world uses.
Investigating ESP32-C3 Power Management
While developing some electronic Jewelry I have measured the power consumption of the ESP32-C3 microcontroller to see if it might be a good fit for my needs.
BLE performance analysis with pyshark
Debugging BLE communication is simplified with this set of analysis tools for captured BLE packets.
Scader Lights Up Many Circuits
Banish wireless lighting systems with a cascadable lighting controller using Solid-State Relays and wired communication.
Automate Everything for NPM Packages
Automate all aspects of publishing a package to NPM
Use the Factory Pattern to Untangle your Code
The Factory pattern is a powerful way to decouple parts of your app. Unfortunately a lot of tutorials on this pattern miss the point about decoupling and have a switch statement in the factory to generate each object. This negates the benefit of the factory in my opinion so here’s a tutorial with full abstraction.
Create a React Native TypeScript Package
I wasted many hours trying to create a TypeScript package that would work with an existing React Native Typescript project. Here’s hoping this saves someone else some of those hours!
3D Printing a ZX Spectrum-Style Computer Case
A 3D printed ZX Spectrum – style case for my Z-Raider Z80 computer. Print your own Spectrum look-alike
The 10 Reasons I Ripped Out a £6k Lighting System
I took me 7 years to admit I’d made a mistake in choosing a Z-Wave Wireless Lighting System. Finally I’ve taken stock and replaced it!
Embedding Micropython on ESP32
Embedding MicroPython in an existing ESP IDF project turned out not to be so simple. So here’s a guide to how I managed to get it working.