Hardware design and hardware hacking.
I design circuit boards and the power electronics on them, and I write whatever firmware those boards need to do their job. Most of what I build is for something that actually has to work afterwards like solar charge controllers, heating and lighting control, rack hardware, instruments for my own bench.
The other half of what I enjoy is taking hardware that was never meant to be opened and making it do something else: an automotive instrument cluster moved off its factory OS onto mainline Linux, a laptop with a dead GPU brought back at board level, a phone running an OS its manufacturer never shipped.
The longest running thing here. The version number goes up when I order a complete new build, not for individual board revisions, and every one of those versions was a real hardware overhaul rather than a tidy-up.
Before any of them there was an ATmega328P, a 16x2 character display and some other parts soldered together. It worked, it was just far too impractical to actually carry around. I called it V1 at the time, which is why the early files are numbered one ahead of how I count the versions now. I think of it as V0.
V1 was the first properly complex PCB I designed. It had plenty of problems but I still used it for over a year. V2 was a disaster: I tried to make it smaller and gave no thought to how it would actually sit in a case and work, so it never did. V3 went back to V1 dimensions and worked well. V4 repeated the V2 mistake. V5 was one of the most successful ones and also lasted me over a year. V6 is what I wear now.
The big change in V6 was dropping the ESP32-S3 that every earlier version used and moving to an STM32U575. That was the right call, and it was also my first major project on an STM32. I learned a lot from it and I have used STM32s for almost everything since, where before that it was ESP32s everywhere.
V6 is four microcontrollers across a stack of boards: the STM32U575 running the watch, an STM32L031 for the LEDs, an STM32G031 for the keyboard, and an nRF52810 bridging to a phone over BLE with an Android service on the other end. The case takes swappable modules, a multimeter and a general-purpose board on a shared template.
The most recent work was redesigning the top board, the one carrying the display, RFID tag, programming ports, low power LED and IMU. I did not count that as V7 because it was not a complete overhaul. V6 has been working well for over a year and I have not found enough wrong with it to justify a new version yet.
Two synchronous buck phases on one input and one output, interleaved 180°, switching at 100 kHz off the STM32G474's HRTIM with hardware dead-time. Peak current is caught cycle-by-cycle by an on-chip comparator wired into HRTIM's external-event input, so a fault kills the gate drive without software involved.
It has been running for over a week now as the main charger for a 3 x 400 W array into a 12 V bank. At full power each phase averages about 35 A and peaks at 50 A. I designed the board for 60 A peak per phase, but the high-side MOSFET sits at 101 C by 50 A, so that headroom is not usable as built.
The tracker took five code rewrites. The perturb-and-observe loop kept marching away from the maximum power point, and four of those attempts fixed symptoms rather than the structural fault that was muting it. Adding diode emulation for discontinuous conduction changed the plant order and set the voltage loop oscillating, which was its own problem to solve.
An i.MX6 instrument cluster out of a car, stripped of its factory OS and brought up on mainline U-Boot and Linux 6.18 so it can work as a wall dashboard. The companion MCU is desoldered, it is controlled over MQTT, and it runs a kiosk browser on the Vivante GPU through etnaviv.
Two boards and three display configurations, including a 12.3" 1920 x 720 dual-channel panel with a second screen behind an LVDS encoder, all boot one kernel, one rootfs and one U-Boot binary. Only the device tree differs.
Shelf inventory for components, keyed by LCSC part number and backed by PostgreSQL. Every package has a shelf and a position; the system decides where a new package goes, tells me where to put it, and decrements the count when a board gets built. Slot allocation sits in the API rather than the clients, so the phone scanner, the web console and the CLI cannot disagree about where something went.
It currently holds about 30,000 components across 701 different part numbers, and there is a good deal more sitting in boxes that I have not got around to entering. The shelves are nearly full and I do not have time to expand them.
Two computers in a briefcase, one a server and one for personal use, plus a Radxa X4 and an RB2011 router, all running off a lead-acid battery backup so the whole thing keeps working when mains power goes away.
The power system is most of the work and all of it is my own boards: a pico-PSU board for each of the two computers, a battery management board, a switch board that reroutes everything from the main supply to the batteries when power fails, and a control board. They talk to each other over CAN, which is also how they get firmware updates, through a CAN bootloader I wrote for it.
I wanted this finished before university. Then I started working on other things instead, which is the usual pattern here, so it is not done. It does work as it stands, there are just features I planned that are not in it yet. I will come back to it.
A USB sound card and an active 2.1 crossover on one board. The STM32H743 presents itself to the host as a USB Audio Class device at 48 kHz with custom descriptors, then splits the incoming stream with 501-tap FIR filters, low-pass to the subwoofer and high-pass to left and right, using the CMSIS-DSP fixed-point routines. The output goes straight into class-D stages on the same board.
Three SAI streams run at once, two out for the speakers and the sub and one in for a microphone, so it works as a capture device as well. Volume and mute can come either from the host or from the physical pots on the board.
A whole small computer on a Colorlight i9+: a 6502 at 5 MHz, 16 KB each of RAM and ROM, 40 x 25 colour text on VGA with a character set you can rewrite at runtime, PS/2 keyboard, 115200 serial, four sound channels and a hardware random generator. Video, keyboard, serial and sound are all confirmed on the real board.
The testbenches measure what the hardware actually does rather than checking a register reads back what was written. The CPU passes the full Klaus Dormann functional suite, the UART is checked against an independent bit generator, and the sound channels' pitches are timed and converted back to hertz. The board's 25 MHz crystal is the pixel clock, so the VGA build needs no PLL and no vendor IP at all.
The same Colorlight i9+ turned into a graphics card on the end of a network cable. A laptop sends drawing commands over a direct gigabit link, and the FPGA renders into its 8 MB of SDRAM and drives a monitor over HDMI or VGA, in modes from 640 x 480 up to 1280 x 720 that can be switched at run time.
On the FPGA there is an RGMII MAC with ARP, ping and a UDP command protocol that
can guarantee exactly-once, in-order delivery, an SDRAM controller that calibrates
its own read timing, a 2D engine for fills, copies and lines, and a tile-based 3D
rasteriser with perspective-correct texturing, Gouraud shading, fog, a Z buffer
and blending. On the laptop there is a C library, a small subset of OpenGL 1.x
on top of it, and fpgamon, which makes the board an extra monitor for the
desktop and only sends the tiles that changed, using on-board copies when
something has just scrolled or been dragged.
All of it passes simulation and runs against a software emulator that speaks the same protocol. It has not run on the real board yet.
Fusion 360 for enclosures, and a working knowledge of how to get good parts out of bad 3D printers. Tedious, but it is part of finishing a project.
I have just finished secondary school and start university this autumn. I studied IT there, mostly networking, but the electronics has always been the part I actually cared about, and most of it was self-taught alongside.
Nearly everything here exists because something needed to exist. The house runs on solar, so it needed a charge controller and a battery monitor. The workshop needed to know which shelf a package was on. The rack needed a CAN controller, an e-fuse and power management boards for the laptops. I also rebuild things that already exist, fairly often, because I would rather understand a thing than buy it and because I can change my own version later.
I prefer open and modifiable things, which is most of why I have run Linux everywhere since 2019.
A fair warning: I am much better at starting than at finishing. A lot of these boards were designed, ordered, assembled, brought up, and then left on the table working, but never put in a case or written up. I usually do come back to them, just six months or a year later than I meant to.