Skip to main content

HAT+ panel board

Panel board Rev. B

The HAT+ sits on the Raspberry Pi inside the base. The panel board brings the signals that users plug things into out to the housing: the camera trigger, a fan, addressable LEDs and an I2C expansion port. It has no microcontroller. Everything on it is driven by the ESP32 on the HAT+ through one 7-pin cable.

Current revisionRev. B, 2026-04-06
Supply12 V from the HAT+. Own bucks for 5 V / 3 A (LEDs) and the fan, LDO for 3.3 V
Firmwarenone of its own. Uses the HAT+ firmware UC2_canopen_master.
SourcesKiCad project · schematic PDF

Connectors​

Top view with silkscreen

RefTypePin 1 → nUse
J101JST PH 7GND, +12 V, SDA, SCL, camera trigger, NeoPixel, fan tachofrom the HAT+ (J2201 there, same pin order)
J105SMAtrigger, GNDtrigger into the camera
J4013-pin fan headerGND, fan supply, tachofan
J102, J1033-pin, 2.54 mm+5 V, data, GNDaddressable LEDs. J102 is the plain "VDG" header, J103 the keyed ARGB style used on PC mainboards. J104 is a third, unpopulated footprint.
J107JST PH 4 (STEMMA)SCL, SDA, 3.3 V, GNDI2C expansion
J106JST SH 4 (STEMMA QT)SCL, SDA, 3.3 V, GNDI2C expansion

Signals and where they come from​

SignalHAT+ ESP32 GPIONotes
I2C SDA / SCL21 / 22pull-ups are on the HAT+. The fan potentiometer is on this bus too.
camera trigger27
NeoPixel data19continues the chain that starts at the status LED on the HAT+
fan tacho33open-drain output of the fan

Camera trigger​

The ESP32 pin is a 3.3 V output. Industrial cameras such as the HIKROBOT models used in the FRAME have an opto-isolated input that wants at least 5 V. The panel board therefore switches a 12 V level onto the SMA jack (NPN stage driving a P-channel MOSFET), which goes to the high side of the camera's optocoupler. The series resistor is inside the camera.

Only the trigger into the camera (Line 0) is implemented. Camera outputs (Line 1, Line 2) are not wired on this revision.

Cable for HIKROBOT cameras: opto input, pin 2 (yellow), to the SMA centre. Opto ground, pin 5 (white), to the SMA shield.

Fan​

The fan header gives a variable supply voltage instead of PWM. A buck converter makes roughly 3 to 12 V. Its feedback divider contains an MCP4017 digital potentiometer (I2C address 0x2F, 128 steps), so the ESP32 sets the fan speed with one I2C write. The tacho signal goes back to the HAT+.

LED headers​

5 V, up to 3 A in total, from the board's own buck. The data line carries 3.3 V logic. The two header styles exist because ARGB accessories for PCs come with either plug. Electrically they are the same.

STEMMA​

3.3 V and I2C, 200 mA continuous. Do not enable additional pull-ups on the module you connect.


Boards: shop.openuc2.com. Questions: openuc2.discourse.group.