Posts
2025
Measuring Thinking Efficiency in Reasoning Models: The Missing Benchmark
↗
↖
(Guest article on the Nous Research blog) Anecdotal evidence suggests open weight models produce significantly more tokens for similar tasks than closed weight models. This report systematically investigates these observations. We confirm this trend to be generally true, but observe significant differences depending on problem domain.
Candle Flame Oscillations as a Clock
·1856 words·9 mins
Todays candles have been optimized not to flicker. But it turns out when we bundle three of them together, the resulting triplet will start to naturally oscillate. Amazingly, the frequency is rather stable at ~9.9 Hz as it mainly depends on gravity and diameter of the flame. We detect the oscillation with a suspended wire and divide it down to 1 Hz.
2024
Neural Network Visualization
·148 words·1 min
A browser based interactive application that visualizes simple multi-layer perception (MLP) neural networks for the inference of 8x8 pixel images.
BitNetPDK: Neural Networks (MNIST inference) on the "3-cent" Microcontroller
·1227 words·6 mins
Is it possible to implement reasonably accurate inference of MNIST, the handwritten numbers dataset, on a “3 cent” Microcontroller with only 64 bytes of RAM and 1K of instruction memory?
BitNetMCU: Implementing Neural Networks on the “10-cent” RISC-V MCU without Multiplier
·972 words·5 mins
BitNetMCU is a project focused on the training and inference of low-bit quantized neural networks, designed to run efficiently on low-end microcontrollers like the CH32V003. Quantization aware training (QAT) and fine-tuning of model structure allowed surpassing 99% Test accuracy on a 16x16 MNIST dataset in only 2kb of RAM and 16kb of Flash.
Revisiting Candle Flicker-LEDs: Now with integrated Timer
·886 words·5 mins
Analyzing a battery powered LED tea light with 24h timer functionality. Discovering that it is surprisingly based on a low-cost 8-bit microcontroller integrated into the LED package.
2022
Does the WS2812 have integrated gamma correction?
·1453 words·7 mins
Taking a closer look at the PWM behavior of the WS2812: Why does it have 11 bit PWM resolution when only 8 bits are used for color data?
Analyzing another multicolor string light with unusual LEDs
·744 words·4 mins
Dissects a cheap multicolor LED string and its phosphor-converted LEDs, revealing shared driver quirks.
Controlling RGB LEDs with only the powerlines – anatomy of a Christmas light string
·2310 words·11 mins
Reverse-engineers a whole-wire LED Christmas string that encodes data on the supply rails, mapping its protocol.
2021
The TransistorPixel
·1775 words·9 mins
What would it take to build an addressable LED like the WS2812 (aka Neopixel) using only discrete transistors? Time for a small “1960 style logic meets modern application” technology fusion project.
Ultra low power LED flasher
·1604 words·8 mins
Flashing a LED is certainly among the first set of problems any burgeoning electronics specialist is tackling, may it be by using an ancient NE555 or, more recently, a microcontroller to control the LED. As it turns out, we can turn any trivial problem into a harder one by changing its constraints.
2020
Power analysis: Probing WS2812 RGB LEDs
·1952 words·10 mins
Whenever a logic gate in an integrated circuit switches, it will cause a tiny current spike that can be measured in the supply current. By inspecting the temporal variation it is often possible to deduce information about the construction of the IC. Let’s take a closer look at the WS2812 RGB LED.
Building a Chaotic Oscillator from Common Components
·957 words·5 mins
Explores analog chaos with Schmitt triggers, filters, and feedback to create Chua-like oscillations on breadboard.
Intelligent 7-Segment Display
·1454 words·7 mins
Builds an addressable seven-segment display module using Padauk MCUs, covering protocol details and firmware.
What made the 1960s CDC6600 supercomputer fast?
·1667 words·8 mins
Revisits the CDC6600’s resistor-transistor logic to explain how clever circuit tricks delivered 36 MHz performance.
2019
A LED candle based on the 3 cent MCU
·1343 words·7 mins
Attempting to build a LED candle with integrated light sensing using the ‘3‑cent MCU’
2016
SK9822 - a clone of the APA102
·1124 words·6 mins
Analyzing the SK9822 addressable RGB-LED, a clone of the SPI based APA102.
DICE10 - electronic dice controlled by two GPIO
·57 words·1 min
Implementing a touch controller electronic dice on an ATtiny10 using PlexingPlus.
The SK6812 - another intelligent RGB LED
·669 words·4 mins
Analyzing a new addressable RGB LED: The SK6812.
"Reverse engineering" a real candle
·803 words·4 mins
Can we reverse engineer the flickering pattern of a real candle to improve artificial candle LEDs? Measuring and analyzing the temporal light output of a real candle.
2015
How many I/Os are needed to drive electronic dice?
·667 words·4 mins
PlexingPlus - Driving the seven LEDs of a dice using only two GPIO pins and clever multiplexing.
2014
Understanding the APA102 Superled
·989 words·5 mins
Dissects APA102 timing details to explain start frames, data forwarding, and reliable end-frame clocking.
Measuring the length of a WS2812 string
·724 words·4 mins
How to estimate WS2812 string length by measuring supply-voltage sag from the LEDs’ current draw.
APA102 aka "Superled"
·772 words·4 mins
Investigating the SPI based the APA102/APA102C LED, outlining its SPI protocol, global brightness control, and fast PWM behavior.
The Nanite 85
·807 words·4 mins
The Nanite 85 ATtiny85 board, a very tiny breadboardable development board with USB bootloader and reset button.
Tear down of a cheap external USB battery
·554 words·3 mins
Tear down of a simple external USB battery, identifying key ICs.
u-Wire – USB on an ATtiny 10
·942 words·5 mins
Implementing a stripped down version of V-USB including a WS2812 controller on a minimal ATtiny10 MCUs with only 1kb of flash.
Interrupt-free V-USB
·1785 words·9 mins
Background and implementation of an interrupt-free V-USB variant that allows to shrink the Micronucleus V2 bootloader while boosting USB throughput.
Light_WS2812 library V2.0 - Part II: The Code
·623 words·3 mins
Implementation of the optimized light_ws2812 driver with hand crafted assembly inner loop that bit-bangs LEDs even at 4 MHz without timing violations on an AVR.
Light_WS2812 library V2.0 - Part I: Understanding the WS2812
·1419 words·7 mins
Analyzing and understanding the WS2812 timing, protocol tolerances, and hardware behavior to enable a reliable driver implementation.
2013
Reverse Engineering a Candleflicker LED
·1410 words·7 mins
Reverse-engineering the algorithm of a candle flicker LED by statistical analysis of its light output pattern.