Skip to the content
2 layers80 × 47.9 mmESP32 XIAO IoT PCB, the printed circuit board in 3D

PCB for MQTT projects. Sensor, i2c, Screen, and buck converter breakout

Size
80 × 47.9 mm
Copper layers
2
Thickness
1.6 mm
Parts
60
Nets
42
Pads
180
Tracks, vias
402, 73
Pours
23
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
1 Jul 2026
Updated
9 Jul 2026

Overview

ESP32 XIAO IoT PCB is an open-source printed circuit board by retrobuiltRyan, from the retrobuiltRyan/esp32c3_xiao_iot_pcb repository on GitHub, published under the BSD-3-Clause licence. It is a 2-layer board of 80 × 47.9 mm with 60 parts on 42 nets, routed with 402 tracks and 73 vias.

It is built around the UCC27511ADBV, ESP32-C3F and L7805, with the MAX40200AUK, AO3400A and MMBT2222A among its other parts. Its parts include 11 capacitors, 9 resistors, 9 connectors, 6 ICs and 6 diodes. It belongs with the home automation and IoT boards and the ESP32 and RISC-V boards of this library.

Main components

8

README

README.md

esp32c3_xiao_iot_pcb

PCB for MQTT projects. Sensor, I2C screen, rotary encoder input, RGB LEDs, and buck converter breakout for the ESP32 C3 XIAO dev board.

Project DifficultyRating
Hardware Difficulty●● Easy
Software Complexity●● Easy?

PCB
This is the ~$5 ESP32c3 XIAO microcontroller (with its antenna on the left) variant.

P1130036

Example Projects

Three-ish example projects are shown using this PCB:

  • 1.1 – WiFi Clock
  • 1.2 – Basic "Dumb" Clock
  • 1.3 – Countdown Timer
  • 2.0 – Weather Station with Terminal-Style Display
  • 3.0 – Current (120V AC) Probe Monitor over MQTT

1.1 WiFi Clock

P1130023
P1130020

Large digit (70mm height) 7-segment clock. Connects to 2.4 GHz WiFi and grabs time from HTTP "google.com" TCP port 80. Previously grabbed time from NTP, but I have found some enterprise networks do not like this traffic and block the device.

Files for the RGB LED 7-segment digit PCB. You'll need to make four (each digit needs qty 29 RGB LEDs).

A Daylight Saving Time function is implemented; however, every 6 months I find this doesn't work as expected, and 6 months between bug testing is annoying, so YMMV. DST compensation works better on Network Time Protocol grabs, but again, some networks do not like this.

The body is 3D printed. The digit diffusion layer can be experimented with in material color and thickness. (about 0.2)

1.2 Dumb Clock (no WiFi)

P1130025

Same hardware, different code for a regular clock that keeps time without WiFi. Hours and minutes are set using the rotary encoder & push button.

UI Flow:
BOOT → SET HOURS → SET MINUTES → SET COLOR → RUN
While in RUN → (press) BRIGHTNESS → Return
Long press resets clock to 12:00

1.3 Countdown Timer

Task Master style countdown timer. UI Flow: BOOT → brightness adjust + pulsing 00:00 →press [set min] press→ [set hr] →press [start] Time starts out green color and gradually changes to red as 00:00 time approaches.

2.0 Weather Station

P1130031

Calls API: https://api.weather.gov/points/40.4406,-79.9959. Then grabs weather forecast data from https://api.weather.gov/gridpoints/PBZ/78,66/forecast. A bunch of forecast data is returned in JSON text format. The lat and long point to Pittsburgh, PA, which can be changed. This weather API is a free government service available in the USA only, one benefit is no need for API key. Code then parses only the first five forecast 'periods' to save SRAM and prints over serial (for debug) and to OLED in a terminal-style display using this 2.4 inch OLED screen.
Forecast updates every hour. 3D printed body is stylized as a classic Mac if it was extra wide.

3.0 Current Probe Monitor over MQTT

P1130028
(add a dashboard pic when I get that done)

It's lunchtime and you're starving, but there might be a line for the microwave and toaster! Three minutes for someone's Factor meal to cook?! Wouldn't you like to know if these appliances are available before walking to the office kitchen? What if you could check a dashboard that monitors microwave and toaster oven usage?

Two contactless probes (current clamp) monitor current draw (0–10A) of both appliances and report their status over MQTT. A dashboard logs usage history and can provide a bunch of interesting data on office lunchtime habits. Could also be deployed as an online monitor for critical infrastructure like deep freezers or coolant pumps—useful things. A temperature and humidity sensor (SHT45) is populated on this PCB to also report ambient conditions as a baseline data point. The SHT45 is a very tiny SMD part; adding this is advanced soldering (you need that stencil ordered).

PCB BoM

ReferenceValueQtyDigiKey P/N
BZ1Buzzer_5V1
C1, C3, C4, C5, C6, C8, C100.1uF 50V71276-1068-1-ND
C2, C7, C9, C110.22uF 50V CER4445-2283-1-ND
D1WS2812B1aliexpress
D5, D6, D7LED31080-1419-1-ND
D8D1S5AC-FDICT-ND
D9SMF15A1SMF15A-E3-08CT-ND
J1Barrel_Jack 2.1 × 5.5mm1EJ508A-ND
J2, J5, J6, J7, J10Screw_Terminal_2_P3.50mm5732-2747-ND
Q1MOSFET P-CH 30V 25A TO2521785-1106-1-ND
Q2MMBT2222A1MMBT2222ATPMSCT-ND
Q3AO3400A1785-1000-1-ND
R12201311-220FRCT-ND
R2, R3, R5, R61K4311-1.00KFRCT-ND
R43.3K1311-3.30KFRCT-ND
R7100k1311-100KFRCT-ND
R8, R910K2311-10.0KFRCT-ND
RN110k array1CAY16-103J4LFCT-ND
RN4200 array1CAY16-201J4LFCT-ND
SW1RotaryEncoder_Switch_MP1PEC11R-4220F-S0024-ND
U1MAX40200AUK1175-MAX40203AUK+TCT-ND
U2MP1584_Buck1aliexpress
U3L78051497-7255-1-ND
U7ESP32C311597-113991054-ND
U8UCC27511ADBV1296-49474-1-ND
U9SHT4x11649-SHT45-AD1B-R2CT-ND

Parts

60
QtyValueFootprintReferences
70.1uF 50VCapacitor_SMD:C_1206_3216MetricC1, C3, C4, C5, C6, C8, C10
5Screw_Terminal_2_P3.50mmTerminalBlock_Phoenix:TerminalBlock_Phoenix_PT-1,5-2-3.5-H_1x02_P3.50mm_HorizontalJ2, J5, J6, J7, J10
5TestPointTestPoint:TestPoint_Pad_2.5x2.5mmTP2, TP3, TP4, TP5, TP6
40.22uF 50V CERCapacitor_SMD:C_1206_3216MetricC2, C7, C9, C11
41KResistor_SMD:R_1206_3216MetricR2, R3, R5, R6
4SolderJumper_3_OpenJumper:SolderJumper-3_P1.3mm_Open_RoundedPad1.0x1.5mmJP2, JP4, JP7, JP8
3LEDLED_SMD:LED_1206_3216MetricD5, D6, D7
3MountingHole_M3MountingHole:MountingHole_3.2mm_M3H1, H2, H3
210KResistor_SMD:R_1206_3216MetricR8, R9
1100kResistor_SMD:R_1206_3216MetricR7
110k arrayRyan Custom:CAT16-4_R-Array_1206RN1
1200 arrayRyan Custom Modules:CAT16-4_R-Array_1206RN4
1220Resistor_SMD:R_1206_3216MetricR1
13.3KResistor_SMD:R_1206_3216MetricR4
1AO3400APackage_TO_SOT_SMD:SOT-23-3Q3
1Barrel_JackConnector_BarrelJack:BarrelJack_GCT_DCJ200-10-A_HorizontalJ1
1Buzzer_5VBuzzer_Beeper:MagneticBuzzer_ProSignal_ABT-410-RCBZ1
1DDiode_SMD:D_SMC_HandsolderingD8
1ESP32C3ESP32_XIAO:esp32c3_xiao_seeed_studioU7
1L7805Package_TO_SOT_SMD:TO-252-2U3
1MAX40200AUKPackage_TO_SOT_SMD:SOT-23-5U1
1MMBT2222APackage_TO_SOT_SMD:SOT-23Q2
1MOSFET P-CH 30V 25A TO252Ryan_Custom_Modules:MOSFET_P-CH_30V_25A_TO252Q1
1MP1584_BuckRyan_Custom_Modules:MP1584U2
1PINHD_1x2_MaleConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ4
1PINHD_1x4_MaleConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ9
1RotaryEncoder_Switch_MPRotary_Encoder:RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mmSW1
1SHT4xRyan Custom:SHT4XU9
1SMF15ADiode_SMD:D_SMFD9
1ServoPort_03PCM_SL_Connectors:ServoPort_03_VerticalJ3
1UCC27511ADBVPackage_TO_SOT_SMD:SOT-23-6U8
1WS2812BLED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mmD1

Similar boards

  • 2 layers90 × 119 mmSkid Steer 4x4 ESP32 DRV8833 PCB, the printed circuit board in 3D

    Skid Steer 4x4 ESP32 DRV8833 PCB

    retrobuiltRyan/4x4_Rover_ESP32

    1:10 scale robot Rover with ESP32 and PS4 controller. Custom PCB for multi channel motor control

    111 parts2BSD-3-Clause
  • 2 layers168.9 × 123.3 mmOEM ECU, the printed circuit board in 3D

    OEM ECU

    aeonSolutions/AeonLabs-AI-Volvo-MKII-Open-Hardware

    Volvo MKII Open Hardware

    296 parts161CC0-1.0
  • 4 layersFanCTRL, the printed circuit board in 3D

    FanCTRL

    MuffinKing-jpeg/FanCTRL

    Controlled board for PC fans, with mux capabilities. WIP

    272 parts
  • 2 layers90 × 45 mmEsp32-dalitester, the printed circuit board in 3D

    Esp32-dalitester

    lukasprojects/esp32-dalitester

    Small ESP32 DALI tester for commissioning and maintaining light installations via the DALI bus

    84 parts
  • 2 layers35.6 × 94.6 mmUsb3sun, the printed circuit board in 3D

    Usb3sun

    delan/usb3sun

    usb input adapter for sun workstations

    60 parts45ISC
  • 2 layers38 × 25.1 mmMistMaker Battery Kit V0-4, the printed circuit board in 3D

    MistMaker Battery Kit V0-4

    Dav1dyang/Programmable-Mist-Maker

    An open-source, low-cost ultrasonic mist maker designed to share commercial humidifier circuits and empower creators with accessible, well-documented hardware.

    105 parts26MIT
  • 2 layers77.9 × 100 mmPower distribution, the printed circuit board in 3D

    Power distribution

    Haxintosh/tiled-pcb-heater

    Scalable and modular 3D printer heated bed

    216 parts2CERN-OHL-P-2.0

Questions

How big is the ESP32 XIAO IoT PCB PCB?

It measures 80 × 47.9 mm and has 2 copper layers, 1.6 mm thick.

What parts does the ESP32 XIAO IoT PCB use?

60 parts, built around the UCC27511ADBV, ESP32-C3F, L7805 and MAX40200AUK. 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 ESP32 XIAO IoT PCB KiCad files?

From the retrobuiltRyan/esp32c3_xiao_iot_pcb repository on GitHub, at the commit this page was made from: the board is hardware/ESP32_XIAO_IoT_PCB.kicad_pcb and its schematic hardware/ESP32_XIAO_IoT_PCB.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the ESP32 XIAO IoT PCB design in my own project?

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