Exploring Raspberry Pi
Interfacing to the Real World with Embedded Linux. The field-guide for hardware interfacing.
Essays, experiments, and teaching materials from a decade of wiring software to hardware.
// Derek's annotation: // Ensure safe memory access at the edge pub fn read_sensor_data(address: u16) -> Result<f32, Err> { let mut buffer = [0u8; 4]; match hardware_bus.read(address, &mut buffer) { Ok(_) => Ok(f32::from_le_bytes(buffer)), Err(e) => { log_error!("I2C failure at node"); Err(e) } } }
A short follow-on from the Zephyr Thread web server guide, rebuilding the same project in C++ on the Seeed XIAO nRF52840, and adding the RGB LED and the on-die temperature sensor to show why classes suit Zephyr hardware so well.
In an earlier guide we built a tiny web server on an ESP32-C3 in async Rust, using Embassy. A browser could connect over Wi-Fi,
This guide explains how Embassy ties an ESP32-C3 Wi-Fi web server together. It assumes you are comfortable with basic Rust (ownership, traits, match) but new to embedded async.
Thread is the low-power IPv6 mesh that underpins most Matter smart-home devices, and to use it you need a Thread Border Router (a bridge
This talk reflects on practical experience teaching C, C++, and Rust for edge programming in Electronic and Computer Engineering at Dublin City University, where language choices are shaped by emerging industry needs and sound educational pedagogy
Welcome to the New derekmolloy.ie I’ve finally made the leap. After years of running on WordPress, I’ve migrated my content to
Interfacing to the Real World with Embedded Linux. The field-guide for hardware interfacing.
Tools and Techniques for Building with Embedded Linux on AM335x and AM5729.
A live, interactive textbook. Runnable code blocks, guided terminal sessions, schematic marginalia — the lab, in a browser.
Open book