esp32

Project Solaris: my first power board, and what it has taught me so far

The Project Solaris v2 power distribution board

I'm not a power electronics engineer. Project Solaris is the first power board I have ever designed, and this post is about where it stands: what I'm building, what went wrong on the first revision, and what I plan to do next.

Why I'm building this

A small homelab starts with a switch, a router and a mini PC or two. Add a few USB charging bricks and the wall warts quickly get out of hand. Here is what my rack runs today:

  • three mini PCs
  • a 5G backup router
  • a UniFi Dream Router 7
  • a 10-port 2.5/10G switch
  • a four-bay DAS
  • a SATA SSD cage
  • a Minisforum BD795i mini-ITX board with an RTX 3090

That adds up to a power strip full of bricks, each with its own cable, its own voltage, its own idea of how much current it can really deliver, and no way to see what any device is actually drawing. Between them, these devices need everything from 5 V to 20 V.

Over the past year, two of those bricks cost me days of debugging.

The first was a mini PC that kept freezing. I blamed the GPU passthrough setup and spent a long time tuning it. The real cause was a 12 V brick plugged into a machine that wanted 19 V. It ran fine until it was under load, then it browned out. Nothing in the logs said "power".

The second was an SSD cage running from a picoPSU-style supply. Drives kept dropping out of the array. The clue turned out to be one SMART attribute, the unexpected power loss count, climbing on every drive. The tiny supply simply couldn't cope with the cage's load steps.

Both problems came down to the same thing: too many different power sources that are hard to trust, and no visibility into any of them.

My goal with Solaris is to replace all of that with one PC power supply and many outputs that cover the 5 V to 20 V range my devices need. That means one quality supply to buy and replace, one place to look when something misbehaves, and a reading in watts for every device in the rack. When I know what each device draws, I can also see where my electricity actually goes.

What Solaris is

Solaris is a power distribution board for a small rack. It takes power from an ordinary ATX or SFX PC power supply, the kind you can buy anywhere, and splits it into separately fused outputs. Every output has its own current sensor, and a small Wi-Fi controller reports what each one is drawing.

Solaris v3 power path and monitoring diagram
Solaris v3: power path and monitoring

I chose a PC power supply because it does all the dangerous work for me: mains filtering, isolation, regulation and short-circuit protection, in a certified box you can replace off the shelf. My board only has to deal with the low-voltage side, which is about as far as I trust myself right now.

Staying reachable after a power cut

The controller runs from the PSU's 5 V standby rail, so as long as the PSU's own switch is on, the controller is on too, even when the main outputs are off. It's always there to ask what's happening.

That raises a problem I only noticed while planning my own rack. On v3, the outputs have no switches of their own. They are all on whenever the PSU is on, and the controller switches the PSU as a whole. Right now the firmware leaves the PSU off when it starts up. That is fine on the bench, but in a rack it means a power cut takes the router down, and when power returns nothing turns it back on. The controller is running, but you can't reach it, because the network it would answer on is the one that's down.

The fix for v3 is a power restore setting in the firmware, chosen from the dashboard. With it on, the PSU comes back by itself after an outage, the router boots, and the rest of the rack can be managed remotely again.

What the first board taught me

Version 2 was fabricated in October and has been on my bench since mid-November. It switches the PSU on and off and reads the power-good signal correctly. It has not yet carried a real load or reported a single current reading. Here is why, and what else I got wrong along the way.

The Project Solaris v2 board, bare
The v2 board on my bench. The ESP32 DevKit plugs into the two header rows at the lower right (J1).
Project Solaris v2 board layout
The v2 layout. The three INA219 sensors (U1 to U3) sit beside the shunt banks, and the ESP32 DevKit plugs into the socket at the lower right.

I put the right chip on the wrong footprint. The INA219 comes in two packages, and their pinouts are mirror images of each other. My schematic symbol used one package's pin order, and my board used the other's footprint. The result was that every sensor's data pin sat on ground. The board passed every design rule check, because the checker had no way of knowing the pins were wrong. I now have a script that checks every chip's pins against its datasheet, for the exact part number on the parts list.

Manufacturing files can lie for you. Measuring current accurately means joining two signals into one piece of copper on purpose. The modern Gerber format labels every piece of copper with its signal name, so the fab's software saw two names on one shape and reported a short circuit. It took several rounds of emails with the fab before I understood why.

The fab will change your board if you let them. The fab swapped the fuse on the 5 V output for a pair of resistors without asking. The board works, but that output now has no fuse and gets hot above about 1.7 A. I only found out by comparing their file with mine.

I plugged the controller in backwards. The first version uses a plug-in ESP32 development board, and nothing on the silkscreen showed which way round it went. I also found that plugging a USB cable into it while the PSU was running would stop the PSU from starting.

The Project Solaris v2 board with an ESP32 DevKit fitted
v2 with its plug-in ESP32 DevKit fitted. v3 solders an ESP32-C3 onto the board instead.

Measuring current is harder than the textbook makes it look. To spread the heat, each output uses several current-sense resistors in parallel. The textbook rule for where to connect the measurement wires assumes a single resistor. With several, connecting at the obvious spot overstated current by up to 4%. Finding the right spot took three rewrites of my checking script. The layout's worst-case error is now under 0.75% on every channel, and a single calibration number per channel will cover the rest.

None of these mistakes is unusual. I just made all of them on one board.

Version 3: what changes

Version 3 keeps the power and measurement layout from v2, which took the most work to get right. It fixes the mistakes above and turns the board into something that can be built the same way every time.

Project Solaris v3 board, 3D render
A 3D render of v3 from the design files. This board has not been built yet.
  • Sensors on the correct footprint, with the exact part number on the parts list and a warning in the fab notes not to substitute the other package.
  • The ESP32 soldered onto the board (an ESP32-C3 module), with its own reset and boot buttons, a status LED and its own power circuit. No plug-in module to put in backwards.
  • Isolated USB, so you can connect a laptop to update or debug it while the PSU is running, without stopping the PSU or feeding power back into it.
  • A real fuse on every output, including 5 V.
  • Every component and connector pin labelled on the silkscreen.
  • Assembled by the fab, so every board comes off the line the same.

Version 3 stays at three outputs: two 12 V and one 5 V. I estimate parts at about $20 per board at small quantities. That figure is my own estimate, not a quote, and I'll publish real numbers once I have them.

Where it goes next

Four things are planned after v3. All are ideas at this stage, not working hardware.

A 12 to 20 V boost stage with USB-C Power Delivery. Many laptops, mini PCs and monitors now charge over USB-C at 20 V. A boost stage fed from one 12 V output would let Solaris power them directly, with the same per-output monitoring as the rest of the board.

A 24-pin ATX daughterboard. This takes one 12 V output and produces everything a mini-ITX motherboard expects, including CPU power, in the same spirit as a picoPSU. The aim is to support a wide range of boards from one shared supply. After my experience with an undersized picoPSU, I want this one to be honest about its limits and to report what it is actually delivering.

Switching each output on its own. Adding a switch to every output would let you turn a single device off and on from the dashboard, and mark some outputs, like the router's, as always on, while the rest wait for you. That needs new hardware on every channel, so it belongs in a future board revision, not a firmware update.

A server PSU version. Server power supplies deliver a single 12 V output and are widely available second-hand. A future version will take one through an adapter and make every other voltage on the board: buck down to 5 V, and boost up to 20 V, alongside the 12 V outputs. That frees Solaris from needing an ATX supply's 5 V rail and gives another source to build from. I plan to start with specific Supermicro models, because Supermicro makes quieter versions. Most server supplies are far too loud for a rack in a living space.

I'd like to hear from people about which of these matters more to them. That will decide which one I design first.

Questions you might have

What power supply do I need? Any ATX or SFX power supply with a 24-pin main connector and two PCIe 8-pin connectors. Most modern PC power supplies have both, so there's a good chance the one in your spare-parts drawer will work.

How big is the board? 111 x 98 mm. Version 3 keeps the same outline and mounting holes as v2.

Project Solaris v3, top view
v3 from above. The PSU connects at the left (24-pin ATX and two PCIe 8-pin), and the outputs leave on the right. Every connector pin is labelled.

Why only three outputs? Version 3 is about proving the design: power, fusing and measurement working together on a board that can be built the same way every time. An eight-output version is planned once v3 has proven itself.

Do I need a cloud account or an app? No. The dashboard is served by the board itself on your local network.

Will it be open source? Yes. The schematics, Gerber files and firmware will be published when the first production batch ships.

Kickstarter, and following along

I plan to run a Kickstarter to fund a production run of v3 and the next round of development. Backers will receive an assembled, bare v3 board. You supply your own ATX or SFX power supply and your own output cables. When the first production batch ships, I'll open-source the schematics, Gerber files and firmware.

I won't launch the campaign until v3 is on my bench, carrying real loads and showing live readings on every output. Given how v2 went, I would rather show you a board that works than promise one that should.

In the meantime I'll keep posting progress here, including the parts that go wrong. If you run a homelab and this sounds useful, or you have power electronics experience and can see something I've missed, I'd really like to hear from you.

The easiest place for that conversation is the discussion thread on Reddit. Tell me which of the next steps you'd actually use, or point out what I've got wrong. Given v2, there's probably something.

Recent Posts

Two and a half weeks with a Bambu P2S

I ordered a Bambu Lab P2S in early November, on an early Black Friday deal. Two and a half weeks later it has printed parts for my server rack, my desk, the lights on my walls and a friend's family, and I have a list of projects that

/ 4 min read

One Core That Matters: The Kamrui P2 Core 3 304 Mini PC Review

For the last four years the cheap end of the mini PC market has been Alder Lake-N: the N95, the N100, the N305, all of them stacks of Gracemont efficiency cores with no performance core anywhere in the design. They were fine. They were also uniformly frustrating in the same

/ 21 min read