NEW · INTERACTIVE BOOK

Notes from the edge of silicon

Essays, experiments, and teaching materials from a decade of wiring software to hardware.

By Prof. Derek Molloy DCU Dublin City University
src/sample.c
CH1 · SAMPLE LOOP

Recently published

ARCHIVE →
PID on a Microcontroller: Making Timing Visible in a 3D Game AI

PID on a Microcontroller: Making Timing Visible in a 3D Game

A follow-on to PID Flight School. The drone's roll loop runs on a simulated Cortex-M under Zephyr, so students can see what loop rate, fixed-point maths, sensor resolution and thread priorities do to a controller.

Derek Molloy Derek Molloy · Oct 27, 2026 · 2 min read
PID Flight School, Studio Edition: One Lesson, Two Looks AI

PID Flight School, Studio Edition: One Lesson, Two Looks

The second visual style of my PID Flight School game. Once the lesson is fixed in code, changing how it looks is cheap, but a more ambitious look has costs that you need to test for.

Derek Molloy Derek Molloy · Oct 25, 2026 · 2 min read
PID Flight School: Teaching a Control Loop as a 3D Game AI

PID Flight School: Teaching a Control Loop as a 3D Game

I turned the PID demonstration from my Connected Embedded book into an eight-mission 3D game with Claude Code. This short post is about what that means for teaching.

Derek Molloy Derek Molloy · Oct 25, 2026 · 3 min read
MECE Module Selection Beginners

MECE Module Selection

An interactive selection tool for students beginning MECE in September 2026

Derek Molloy Derek Molloy · Sep 01, 2026 · 5 min read
MCTY Module Selection Beginners

MCTY Module Selection

An interactive selection tool for students beginning MCTY in September 2026

Derek Molloy Derek Molloy · Sep 01, 2026 · 4 min read
Zephyr from Zero on the ST Nucleo-F401RE: Watching the Scheduler Work Zephyr

Zephyr from Zero on the ST Nucleo-F401RE: Watching the Scheduler Work

A complete beginner's path onto the Zephyr RTOS using the low-cost ST Nucleo-F401RE, from installing the toolchain to a four-thread demo whose scheduling you can watch on a logic analyser.

Derek Molloy Derek Molloy · Aug 31, 2026 · 62 min read
A Radar Scope on the Arduino UNO Q: Multi-Target Tracking with the Ai-Thinker RD-03D mmWave Sensor Arduino

A Radar Scope on the Arduino UNO Q: Multi-Target Tracking with the Ai-Thinker RD-03D mmWave Sensor

UNO Q with a 24 GHz radar wired to the board to build a live radar scope - the MCU turns a binary sensor stream into three tracked targets, and the Linux side draws them sweeping across a web dashboard. Along the way, a proper look at how FMCW radar works, all showing the strength of mmWave radar.

Derek Molloy Derek Molloy · Aug 10, 2026 · 73 min read
The Zephyr Devicetree: An Interactive Demo Zephyr

The Zephyr Devicetree: An Interactive Demo

A gentle, but complete introduction to the Zephyr devicetree, taught through the one thing every beginner gets wrong - which way round an LED is wired. Built from nothing on a low-cost Seeed XIAO nRF52840, with three onboard LEDs, one external LED wired deliberately backwards, and a button.

Derek Molloy Derek Molloy · Aug 07, 2026 · 69 min read

Writing from the last decade

LIVE Edge Programming with C/C++ and Rust cover

Edge Programming with C/C++ and Rust

STARLIGHT · ONGOING · 2026

A live, interactive textbook. Runnable code blocks, guided terminal sessions, schematic marginalia — the lab, in a browser.

Open book

Derek Molloy's textbooks, Exploring BeagleBone and Exploring Raspberry Pi, are originally written and published in English. Because they are widely used as core engineering texts in universities around the world, they have also been officially translated into several languages.