Skip to the content
2 layers36 × 58 mmUps adaptor, the printed circuit board in 3D

Put a USB-only UPS on the network: an ESP32-S3 board and firmware that serves NUT on TCP 3493, with a web UI. No host computer, no Raspberry Pi.

Size
36 × 58 mm
Copper layers
2
Thickness
1.6 mm
Parts
38
Nets
31
Pads
207
Tracks, vias
485, 218
Pours
6
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
20 Sep 2026
Updated
7 Nov 2026

Overview

Ups adaptor is an open-source printed circuit board by aronreid, from the aronreid/ups-to-esp32 repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 36 × 58 mm with 38 parts on 31 nets, routed with 485 tracks and 218 vias.

It is built around the CH340C, ESP32-S3-WROOM-1-N4 and AP2171WG, with the MMBT3904 and USBLC6-2SC6 among its other parts. Its parts include 12 resistors, 9 capacitors, 4 ICs, 4 diodes and 4 connectors. It belongs with the power and home automation and IoT boards and the ESP32 boards of this library.

Main components

5

README

README.md

My UPS Pal Canadian flag

Licence: GPL-3.0-or-later Latest release Hardware: CERN-OHL-S v2

Put a USB-only UPS on your network. No Raspberry Pi, no SD card, no vendor network card that costs more than the UPS.

Plug it into the UPS's USB port and this ESP32-S3 board is a Network UPS Tools (NUT) server on TCP 3493. Home Assistant, Synology, TrueNAS, unraid, Proxmox and upsmon connect to it the way they connect to upsd, because that is what it is.

The board's web page: battery gauge, live readings and the UPS's controls

Specifications

The production board, Rev B. Rev A differs in memory and fuse rating; see docs/rev-a.md.

Board
Size36 × 58 mm, two layers
ModuleESP32-S3-WROOM-1-N16R8: 16 MB flash, 8 MB PSRAM
Temperaturemodule rated to 65 °C
Power
Input5 V over USB-C
Drawabout 0.08 A (0.4 W) in normal operation
Worst caseabout 0.5 A, so any 1 A USB charger is enough
Ports
UPS portUSB-A host with switched, current-limited power (1 A)
Computer portUSB-C for power, programming and console, with auto-reset
ProtectionESD protection on both USB ports and a 3 A resettable fuse
LightsSTATUS and FAULT LEDs
Displayheader for an optional 0.96-inch OLED
ButtonsBOOT and RESET. Press BOOT five times to clear Wi-Fi and login.
Connectivity
Wi-Fi2.4 GHz, 802.11 b/g/n
Setupcaptive portal on ups-esp32-XXXX at 192.168.4.1
Addressups-esp32-XXXX.local over mDNS, a name you choose, or a fixed IP if you set one
RemoteTailscale, built in
Protocols
NUT serverTCP 3493, UPS name ups unless you rename it. Reads need no login.
UPS inputUSB HID Power Device, polled
MetricsPrometheus /metrics, names follow nut_exporter
SNMPv2c, UPS-MIB (RFC 1628), read only, with traps. Off until you set a community.
Web pagelive readings, battery gauge, NUT connection string and UPS controls, over HTTPS
NUT commandsself-test, beeper and shutdown, if your UPS supports them. Shutdown needs OFF typed to arm it.
Firmware
Updatesover the air, signed, one click to install. Rolls back on its own if an update is bad.
Recoveryreconnects after a Wi-Fi drop or a UPS replug
Historylong readings history and an outage log
Loginneeded for setup, web changes and NUT commands
BuildESP-IDF 5.5.5
Enclosure
Printno supports. The cover snaps on, so no screws.
Wall mounttwo countersunk holes for #6 / 3.5 mm screws, 23 mm apart
Detailslight pipes for the LEDs and pinholes for RESET and BOOT
FilesSTL, plus a three-colour 3MF for Bambu Studio and Orca

What it does

  • Speaks NUT. The real protocol on port 3493. It reports what the UPS's own USB descriptor provides (charge, runtime, voltage, load, status) and offers only the controls that UPS has: self-test, beeper, shutdown. A value the UPS does not expose is absent, never guessed at.
  • A web page with the readings in plain words, the UPS's controls, and the NUT connection string ready to paste into a client.
  • Set up in a browser. First power raises a Wi-Fi access point; pick your network and the board is at ups-esp32-XXXX.local, or at a name you give it.
  • Updates itself, signed, with automatic rollback if a new version does not come up.
  • Recovers on its own from a Wi-Fi drop or a UPS that stops answering.
  • Prometheus /metrics, SNMP with traps, and an optional OLED display.

Works with

ClientConfiguration
Home AssistantAdd the built-in NUT integration. Usually discovered on its own; otherwise host ups-esp32-XXXX.local, port 3493, UPS name ups, no credentials.
Synology DSMControl Panel → Hardware & Power → UPS → Enable UPS support, UPS type Synology UPS server, and the board's IP address as the network UPS server.
TrueNAS / unraidUPS service in "slave" or network mode, same address and port.
Linux / Proxmoxupsmon / upsc ups@ups-esp32-XXXX.local
PrometheusScrape http://ups-esp32-XXXX.local/metrics directly. Metric names follow nut_exporter, so its dashboards and alerts carry over.
LibreNMS, PRTG, ZabbixTurn SNMP on under Connect on the board's Board page and set a community. Poll it as a UPS-MIB (RFC 1628) device over SNMP v2c, and give it your trap receiver's address to get on-battery, low-battery and back-on-mains traps.

Which UPSes work: docs/tested-ups.md, or search the full compatibility list by model.


The boards

Rev B is the production board: an ESP32-S3-WROOM-1-N16R8 with the memory for Tailscale, a long readings history, an outage log and HTTPS, on top of everything above. Its hardware design is not published.

Rev A is the first board, an open-hardware design under CERN-OHL-S v2: schematic, layout, bill of materials and printable case are in this repository, and it keeps receiving every firmware release. See docs/rev-a.md.

Both run the same firmware from this repository; each release carries an image for each.

Ready-made Rev B boards, with or without the OLED display, are sold at myupspal.com and ship from Canada.


Getting started

  1. Download ups-adaptor-<board>-full.bin from Releases and flash it over USB: esptool.py --chip esp32s3 write_flash 0x0 ups-adaptor-revb-full.bin
  2. Join the ups-esp32-XXXX access point, open http://192.168.4.1/, choose your network and set the login.
  3. Point your NUT client at port 3493, UPS name ups.

The full walk-through, including the login, a fixed address and recovery, is in docs/getting-started.md. Building from source: firmware/README.md. To run it on an ESP32-S3 dev board you already have: docs/dev-board.md.

Boards labelled "UPS to ESP32 Module" are the same product under its earlier name and update as before.


Documentation

docs/getting-started.mdflashing, setup, the login, a fixed address, recovery
docs/tested-ups.mdsupported UPSes: verified on hardware, verified against their USB descriptors, and what cannot work
docs/updates.mdhow a board updates, signed images, update channels
docs/firmware.mdarchitecture, HID-to-NUT mapping, the protocol subset, the web API
firmware/README.mdbuilding and flashing the firmware
docs/dev-board.mdrunning the firmware on a generic ESP32-S3 dev board
docs/rev-a.mdthe Rev A board: photos, case, schematic, the optional display
docs/hardware.mdRev A specification, pin map, power tree, editing the design
docs/hardware-schematic.mdevery Rev A net and pin
docs/circuit.mdthe one-page circuit description
docs/BOM.mdparts, and the substitutions that would break the board
docs/jlcpcb.mdmanufacturing limits, and what to check before ordering
docs/privacy.mdwhat the board sends, and how to turn it off
SECURITY.mdreporting a problem; what someone with the board in their hands can read
docs/licensing.mdfirmware, hardware and trademark licences
docs/CHANGELOG.mdwhat changed in each release

Security and privacy

Updates are signed and checked by the board before they install. The login protects the settings and controls from other devices on your network; reading the UPS never needs it. What someone with physical access to the board can read, and what to do about it, is in SECURITY.md. What the board sends home (a short check-in, off in one click) is in docs/privacy.md.

Licence

Firmware: GPL-3.0-or-later. Rev A hardware: CERN-OHL-S v2. The name and logo are trademarks and not covered by either. Details, including third-party code and how to contribute: docs/licensing.md.

The design and direction are the author's; Claude Code wrote most of the firmware and documentation under the author's review.


  Designed in Canada

Parts

38
QtyValueFootprintReferences
41kResistor_SMD:R_0402_1005MetricR1, R2, R7, R8
3100nF 16VCapacitor_SMD:C_0402_1005MetricC3, C6, C9
310kResistor_SMD:R_0402_1005MetricR3, R4, R12
2100uF 6.3VCapacitor_SMD:C_1206_3216MetricC2, C7
24.7kResistor_SMD:R_0402_1005MetricR5, R6
25.1kResistor_SMD:R_0402_1005MetricR9, R10
2MMBT3904Package_TO_SOT_SMD:SOT-23Q1, Q2
2USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6D1, D2
1100kResistor_SMD:R_0402_1005MetricR11
1100nF 25VCapacitor_SMD:C_0402_1005MetricC8
11uF 16VCapacitor_SMD:C_0402_1005MetricC1
122uF 16VCapacitor_SMD:C_0805_2012MetricC4
122uF 6.3VCapacitor_SMD:C_0805_2012MetricC5
12A holdFuse:Fuse_1206_3216MetricF1
1AP2114H-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U3
1AP2171WPackage_TO_SOT_SMD:SOT-23-5U4
1BOOTButton_Switch_SMD:SW_Push_1P1T_XKB_TS-1187ASW2
1CH340CPackage_SO:SOIC-16_3.9x9.9mm_P1.27mmU2
1ESP32-S3-WROOM-1-N4RF_Module:ESP32-S3-WROOM-1U1
1OLED (optional)Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ3
1RESETButton_Switch_SMD:SW_Push_1P1T_XKB_TS-1187ASW1
1USB-A host (right-angle)Connector_USB:USB_A_Receptacle_XKB_U231-091N-4BLRA00-SJ2
1USB-C sinkConnector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J1
1expansionConnector_PinHeader_2.54mm:PinHeader_1x07_P2.54mm_VerticalJ5
1redLED_SMD:LED_0603_1608MetricD4
1yellowLED_SMD:LED_0603_1608MetricD3

Similar boards

  • 4 layers127.8 × 56.1 mmController, the printed circuit board in 3D

    Controller

    sudo-junkie/Controller

    ESP32-based replacement PCB for UCOM USB game controller, with LCD, IMU, IR TX/RX and more...

    105 parts1
  • 2 layers75 × 55 mmWellfed bench, the printed circuit board in 3D

    Wellfed bench

    Isaac-Duarte/wellfed

    Open firmware that runs the PETLIBRO Granary PLAF103 pet feeder on your own Wi-Fi: no cloud, no account. Early and in testing.

    93 parts8MIT
  • 4 layers101.6 × 101.6 mmAvionus Flight Controller, the printed circuit board in 3D

    Avionus Flight Controller

    leptun/Avionus_Flight_Controller

    Controller board for autonomous RC plane

    287 parts1GPL-3.0
  • 4 layers170 × 120 mmCm5, the printed circuit board in 3D

    Cm5

    YORROY123/kicad-scripted-pcb

    Three KiCad 10 PCBs designed entirely as Python code with layered verification

    243 parts1MIT
  • 4 layers66 × 53.3 mmShield, the printed circuit board in 3D

    Shield

    harrydshill/Base-Station

    106 parts
  • 4 layers16.5 × 33.6 mmAVRinator, the printed circuit board in 3D

    AVRinator

    leptun/AVRinator

    47 partsGPL-3.0
  • 2 layers106.3 × 21.7 mmNanoleaf shapes, the printed circuit board in 3D

    Nanoleaf shapes

    Cptmeme/Nanoleaf-Shapes-controller

    Bus-powered half-duplex interface board between a 3.3 V MCU and the Nanoleaf Shapes panel bus

    63 parts3GPL-3.0
  • 2 layers45 × 100 mmWalkiepcb, the printed circuit board in 3D

    Walkiepcb

    houseofthe051010/ESP32-Walkie-Talkie-V2

    This ESP32 Walkie Talkie is redesigned with a SX1262 radio, a PCB, and a full case redesign.

    93 parts1

Questions

How big is the Ups adaptor PCB?

It measures 36 × 58 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Ups adaptor use?

38 parts, built around the CH340C, ESP32-S3-WROOM-1-N4, AP2171WG and MMBT3904. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Ups adaptor KiCad files?

From the aronreid/ups-to-esp32 repository on GitHub, at the commit this page was made from: the board is hardware/kicad/ups-adaptor.kicad_pcb and its schematic hardware/kicad/ups-adaptor.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Ups adaptor design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).