Gabriel Ohnstad
All projects

Summer 2026 · Lead electrical engineer

Project Foucault

A 2-axis gimbal controller for a camera and telescope mount. One USB-C cable in, two stepper motors out, Wi-Fi on board. It was my first board with more than two layers, and I designed and built it in about two months.

Altium Designer4-layer PCBSTM32H562Pogo-pin SWDUSB-C PDTMC2209

The build

A friend was building a motorized camera and telescope mount and needed something to drive it. I took that request to a 55 × 40.5 mm, 4-layer board with 119 parts. USB-C power comes in through an STUSB4500 Power Delivery sink, which asks the charger for up to 20 V. That rail feeds two TMC2209 stepper drivers directly and a TPS54202 buck that makes 3.3 V for the logic.

An STM32H562 runs the show. It talks to both drivers over a shared single-wire UART, and an ST67W611M1 module adds Wi-Fi 6 and Bluetooth LE for wireless control. Instead of a debug header, I used Mill-Max pogo-pin pads for SWD, which saved board space and gave me an excuse to learn a new connector style. Gage, the friend I built it for, wrote the motion firmware. I wrote the Rust bring-up firmware on Embassy that proved out the MCU, clocks and SWD link.

The hard part

Everything was a first. I'd never set up a layer stackup, routed a differential pair, placed parts smaller than 0805, or designed a board around an embedded processor. This board has about 48 parts in 0402 and a Top / GND / Power / Bottom stackup.

Then a BOM mismatch meant the USB-C connector didn't get assembled. It's a 16-pin, 0.5 mm-pitch part, so I hand-soldered it myself. The board booted on the first try and drove the gimbal.

What's next

We've found a fault when the motors run at high RPM, and I'm debugging that now. Rev 2 is already in design. It adds a slip ring for continuous pan, a DC barrel input next to USB-C, a hall sensor to home the pan axis, and a separate compute board for on-device camera tracking.

This board taught me more about signal integrity, routing and high-power circuits than any class had.