Skip to the content
2 layers76.5 × 71 mmStartbie, the printed circuit board in 3D

Starbie is a custom embedded electronics project built around the Seeed Studio XIAO ESP32-C3 (RISC-V). It combines a Seeed XIAO ESP32-C3, a DHT11 temperature and humidity sensor, an MPU6050 IMU, a 0.96-inch I2C OLED…

Size
76.5 × 71 mm
Copper layers
2
Thickness
1.6 mm
Parts
7
Nets
29
Pads
54
Tracks, vias
68, 5
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
11 Oct 2026
Updated
24 Oct 2026

Overview

Startbie is an open-source printed circuit board by AP-123456789, from the AP-123456789/Starbie repository on GitHub. It is a 2-layer board of 76.5 × 71 mm with 7 parts on 29 nets, routed with 68 tracks and 5 vias.

It is built around the DHT11. Its parts include 2 ICs, 2 connectors, 2 switches and 1 resistor. It belongs with the ESP32 and RISC-V boards of this library.

Main components

1

README

README.md

Starbie

Starbie is a custom embedded electronics project built around the Seeed Studio XIAO ESP32-C3 (RISC-V). It combines a Seeed XIAO ESP32-C3, a DHT11 temperature and humidity sensor, an MPU6050 IMU, a 0.96-inch I2C OLED display, and two push buttons on a custom two-layer PCB designed from scratch in KiCad.

Hardware Components

  • Microcontroller: Seeed Studio XIAO ESP32-C3 (RISC-V 32-bit RISC-V single-core CPU, Wi-Fi, BLE)
  • Display: 0.96-inch I2C Monochrome OLED Display (128x64 resolution, SSD1306 driver)
  • Temperature/Humidity Sensor: DHT11 Sensor with a $10\text{ k}\Omega$ pull-up resistor on the data line
  • Motion Sensor: MPU6050 6-axis Accelerometer & Gyroscope
  • User Input: 2x Tactile push buttons
  • Expansion: 1x4 and 1x8 pin headers

Repository Structure

text
starbie/
├── Firmware/
│   ├── include/
│   ├── lib/
│   ├── src/
│   │   └── main.cpp          # Core C++ firmware
│   └── platformio.ini        # PlatformIO build configuration
├── Hardware/
│   ├── startbie.kicad_sch    # Schematic capture file
│   ├── startbie.kicad_pcb    # PCB layout file
│   ├── startbie.kicad_pro    # KiCad project file
│   └── Gerbers/              # Manufacturing files
└── README.md

Firmware & Toolchain

The firmware is written in C++ using the Arduino framework via PlatformIO in VS Code. It handles I2C communication with the OLED display while polling the push buttons and reading sensor data.

Dependencies

VS Code terminal showing successful PlatformIO build


10-Hour Build Log

Hour 1: Environment Setup and Error 10013

I started by setting up a PlatformIO workspace for the ESP32-C3, referencing the Seeed Studio XIAO ESP32-C3 Wiki. Right away, the build crashed with Error 10013: An attempt was made to access a socket in a way forbidden by its access permissions.

After trying admin mode and checking firewalls with having no success, I looked through PlatformIO Community Forum Discussions and GitHub Issues and realized local network security was blocking the registry port. Changing the package mirror source and clearing the local cache fixed the socket block and let dependencies download.

Hours 2–4: Firmware Architecture

I wrote the core application logic in Firmware/src/main.cpp, integrating the Adafruit SSD1306 Library and Adafruit GFX Library. Compiling for the RISC-V architecture taught me a lot about managing memory and library conflicts before successfully generating the binary image, which I initially did not understand.

Hours 5–7: Schematic Design

Transitioning to the hardware, I opened KiCad (startbie.kicad_sch) and placed the XIAO ESP32-C3 (U2), DHT11 (U1), push buttons (SW1, SW2), pin headers (J1, J2), and the $10\text{ k}\Omega$ pull-up resistor (R1) based on the DHT11 Datasheet.

Initial schematic layout of Starbie components

I learned why pull-up resistors are needed for digital single-wire data lines and how power flags (+3.3V, +5V, GND) work.

KiCad Tools menu for updating PCB and assigning footprints

Running the Electrical Rules Checker (ERC) helped catch floating pins before moving to the board layout.

Completed KiCad circuit schematic capture

Hours 8–9.5: Footprints, Layout, and DRC

Updating the PCB layout from the schematic (referencing the KiCad Getting Started Guide) threw missing-footprint errors because default symbols weren't bound to physical packages.

KiCad global footprint libraries table configuration

I used the Assign Footprints tool to map symbols to their exact physical packages.

Assign Footprints tool overview

I hit a few search misses at first...

Assign Footprints search showing zero matches for missing package

...but after fixing library paths, I found the correct packages (Sensor:Aosong_DHT11 and Seeed_Studio_XIAO_Series:XIAO-ESP32-C3-SMD).

Assign Footprints tool successfully locating the Seeed ESP32-C3 package

Then I initialized the PCB canvas in startbie.kicad_pcb...

Initial PCB editor workspace setup

...placed the components...

PCB Editor component placement overview

...and routed the copper traces on the top (F.Cu, red) and bottom (B.Cu, blue) layers.

PCB Editor showing routed copper tracks

When I ran the Design Rules Checker (DRC), it flagged 5 errors and 20 warnings.

Design Rules Checker window showing courtyard and track width errors

I had to fix courtyard errors, widen traces that were under $0.2000\text{ mm}$, and clear silkscreen text overlapping solder masks.

PCB zoom-in showing silkscreen and solder mask warnings

Hour 10: Gerbers and GitHub

With a clean DRC check, I generated manufacturing files and inspected them in the KiCad Gerber Viewer.

KiCad Gerber Viewer verifying final production layers

Finally, I added a .gitignore, initialized git, and pushed the repo to GitHub.

2-Hour Product Personalization

Hours 11–12: DHT11 Climate Alert Integration & OLED UI Overhaul

I updated the Starbie firmware by adding a temperature and humidity alert system using the DHT11 sensor. The system monitors temperature and humidity and triggers warnings when the temperature exceeds 30°C or humidity exceeds 70%. I also updated the OLED Stats screen to display the sensor readings and corresponding warning messages. If both values exceed their limits, the display indicates both alerts; if the sensor readings are unavailable, it shows “Climate unavailable.” The updated firmware compiled successfully in PlatformIO, confirming that there were no compilation errors.

ImageP1

ImageP2 61


BOM

REFERENCEVALUEQUANTITYDESCRIPTION
U2XIAO ESP32-C31Main microcontroller
U1DHT111Temperature and humidity sensor
SW1Push Button1User input button
SW2Push Button1User input button
R110k Ohm1Resistor
J14-pin connector1Power and I²C connections
J28-pin connector1Component connections

References

Parts

7
QtyValueFootprintReferences
2SW_PushButton_Switch_Keyboard:SW_Cherry_MX_1.00u_PCBSW1, SW2
110kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1
1Conn_01x04Imported Parts:Display_128x64_096_I2CJ1
1Conn_01x08Imported Parts:MPU6050_ModuleJ2
1DHT11Sensor:Aosong_DHT11_5.5x12.0_P2.54mmU1
1XIAO-ESP32-C3-SMDImported Parts:XIAO-ESP32-C3-SMDU2

Similar boards

  • 2 layers96.6 × 82.8 mmStarbie, the printed circuit board in 3D

    Starbie

    SharKingStudios/Starbie

    Half-Life Week 1 Example Project

    11 parts28MIT
  • 2 layers100 × 50 mmConveyor belt pcb, the printed circuit board in 3D

    Conveyor belt pcb

    lansidev/conveyor-belt

    Miniature 3D printed conveyor belt for simulation and fun working with sensors, all controllable with Raspberry Pi

    22 parts9MIT
  • 2 layers93 × 20 mmWiFi VFD, the printed circuit board in 3D

    WiFi VFD

    ciisaichan/WiFi-VFD

    开源的ESP8266驱动VFD屏电路,支持BiliBili粉丝数、时间、温度、湿度

    23 parts8MIT
  • 2 layersOpenMQTTGatewayPCB, the printed circuit board in 3D

    OpenMQTTGatewayPCB

    ebrithiljonas/OMG_PCB

    All in One PCB for the OpenMQTTGateway Project

    36 parts7GPL-3.0
  • 2 layers62 × 19.3 mmSniffingTrinket, the printed circuit board in 3D

    SniffingTrinket

    GeorgK/SniffingTrinket

    A room climate monitor using the Adafruit Trinket Pro

    23 parts6GPL-3.0
  • 2 layersArduino relay, the printed circuit board in 3D

    Arduino relay

    bhaskar9980/Guardian

    Guardian is an advanced, fully automated hydroponics system designed to optimize plant growth and maximize yield.

    58 parts5MIT
  • 2 layers100 × 43.5 mmFirefly, the printed circuit board in 3D

    Firefly

    Twistx77/Firefly

    Open WIFI-enabled RGB lamp with temperature, humidity, suspended air particles and eCO2 sensors.

    33 parts5GPL-3.0
  • 2 layers30.5 × 77.5 mmProyecto sensor temperatura, the printed circuit board in 3D

    Proyecto sensor temperatura

    unla-investigacion-desarrollo/ecosistema-iot

    Antes de desarrollar el sistema final, realizamos una etapa de exploración donde investigamos y experimentamos con las siguientes tecnologías:

    8 parts5

Questions

How big is the Startbie PCB?

It measures 76.5 × 71 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Startbie use?

7 parts, built around the DHT11. 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 Startbie KiCad files?

From the AP-123456789/Starbie repository on GitHub, at the commit this page was made from: the board is Hardware/startbie.kicad_pcb and its schematic Hardware/startbie.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Startbie design in my own project?

Its repository states no licence, so its author keeps all rights: ask AP-123456789 before reusing the design.