Skip to the content
2 layers94.7 × 90.4 mmRishiStarbie, the printed circuit board in 3D

These are my Starbie files for Hackclub Halflife

Size
94.7 × 90.4 mm
Copper layers
2
Thickness
1.6 mm
Parts
7
Nets
7
Pads
60
Tracks, vias
56, 2
Pours
2
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
11 Oct 2026
Updated
17 Oct 2026

Overview

RishiStarbie is an open-source printed circuit board by rishigovindnair-web, from the rishigovindnair-web/RishiStarbie repository on GitHub. It is a 2-layer board of 94.7 × 90.4 mm with 7 parts on 7 nets, routed with 56 tracks and 2 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

RishiStarbie

My Starbie for Week 1 of Hack Club Half-Life. A Starbie is a desk pet built on a star-shaped circuit board. It has "emotions" like joy and energy, and you look after it through a menu where you can do things like feed it.

Repo layout

text
RishiStarbie/
├── firmware/RishiStarbie/            Arduino sketch for the XIAO ESP32-C3
├── pcb/                              KiCad project (open this)
│   ├── RishiStarbie.kicad_pro
│   ├── RishiStarbie.kicad_sch        schematic
│   ├── RishiStarbie.kicad_pcb        board layout
│   ├── fp-lib-table / sym-lib-table  point KiCad at libs/
│   └── libs/
│       ├── Imported Parts.pretty/    footprints: XIAO ESP32-C3, OLED, MPU6050
│       ├── Seeed_Studio_XIAO_Series.kicad_sym
│       └── 3D Models/                see the README in there
└── production/
    ├── RishiStarbie_gerbers.zip      upload this to JLCPCB
    └── BOM.csv

Editing in KiCad

  1. Install KiCad 7 or newer (the files are saved in KiCad 7 format, so 8 and 9 open them too).
  2. Clone or download this repo. Keep the folder structure as it is.
  3. Open pcb/RishiStarbie.kicad_pro. The schematic and PCB editors open from there.

The custom footprints and the XIAO symbol live in pcb/libs/, and the project's library tables point at them with ${KIPRJMOD}, so they load on any computer without extra setup. Everything else (switches, DHT11, resistor, connectors) comes from KiCad's built-in libraries.

If you change the board, re-export gerbers (File → Fabrication Outputs → Gerbers + Drill Files), zip them, and replace production/RishiStarbie_gerbers.zip.

Firmware

The code is in firmware/RishiStarbie/RishiStarbie.ino.

  1. Install the Arduino IDE.
  2. Add ESP32 support: File → Preferences → "Additional boards manager URLs", paste https://espressif.github.io/arduino-esp32/package_esp32_index.json, then install esp32 by Espressif from Tools → Board → Boards Manager.
  3. Install these libraries from Sketch → Include Library → Manage Libraries (click "Install All" when it asks about dependencies): Adafruit GFX Library, Adafruit SSD1306, Adafruit MPU6050, DHT sensor library.
  4. Open the .ino, pick Tools → Board → esp32 → XIAO_ESP32C3, plug in the Starbie, choose its port, and click Upload.

Pin numbers, starting stats, menu actions and the pet sprite are all in the BEGINNER SETTINGS section at the top of the file. The pins there match the PCB: SDA on D4, SCL on D5, DHT11 on D1, left button on D2, right button on D3.

What's on the board

  • The board. The flat purple star that everything else attaches to. Thin lines of metal printed on it serve as wires, carrying electricity and data.
  • The brain. A tiny computer (Seeed XIAO ESP32-C3) about the size of a stamp. It runs the program that controls the pet and draws on the screen.
  • The screen. A small 0.96" OLED in the middle of the star, about the size of a thumbnail. This is where the pet lives.
  • Two buttons. Small key-like buttons, one on each side arm.
  • Motion sensor. An MPU6050 that detects orientation and shaking, like the sensor in your phone that tells which way it's pointing.
  • Temperature sensor. A DHT11 that reads the temperature and humidity in the room.

How to play

Plug it into a phone charger or a USB-C port on a computer. It doesn't have a battery, so it only runs while plugged in.

The pet walks side to side on the screen, trailing sparkly contrails.

Press the left button and a menu with four options appears: nap, play, feed and dance. Instead of arrow keys you use the motion sensor. Tilt the star and a small ball rolls toward the option you want, like a marble on a tray. Press the left button again to select it.

Each option affects the pet:

  • Feeding increases happiness and fullness.
  • Napping increases happiness and energy.
  • Playing and dancing increase happiness but use up energy.

Press the right button for the status menu, which shows how happy, energetic and full the pet is, plus the room temperature.

Shake the star to make the pet happier. If it was sleeping, it wakes up.

The pet remembers its status between sessions. Unplug it and plug it back in and it'll still feel the way it did.

Building it

Everything goes on the front of the star and is held on with solder.

How a part is attached

All parts have little metal legs, and the board has a hole for each leg with a ring of metal around it. Push the legs through the holes from the front so the part sits flat on the front of the star (not on its side), then flip the board over.

On the back, touch the soldering iron to where the leg meets the metal ring and add a little solder. Solder is a metal wire that melts easily. It pools around the leg and ring and hardens in a couple of seconds. That does two things:

  1. It physically holds the part in place.
  2. It makes an electrical connection, so electricity can flow from the part to the lines on the board.

After soldering a leg, snip off the extra length sticking out the back.

The three mini boards

The brain, the screen and the motion sensor each come on their own mini board, so they need one extra step. They usually come with a strip of metal header pins. Solder the pins onto the mini board first, which gives it legs, then solder those legs into the star like normal.

Where everything goes

  • Top: temperature sensor, with the little resistor next to it
  • Middle: the screen
  • Left and right points: one button each
  • Bottom left: the motion sensor
  • Bottom right: the brain, with its USB-C port sticking out over the bottom edge

Order to do it in

Solder the parts that sit lowest on the star first, so it can still lie flat on a desk while you work: resistor (the little part with two wire legs), temperature sensor, brain, motion sensor, and screen. Then the buttons. The keycaps go on last and just snap onto the buttons, no solder needed.

The motion sensor's pins stick out a long way underneath. Trim them short or the star won't lie flat.

Parts list

PartStoreLinkNeedBuyPrice
XIAO ESP32-C3Seeed StudioXIAO ESP32C311$4.99
Header pins, 7-pin XIAO headersSeeed Studio7-pin male header, 5 pcs18 (14 for the XIAO + 4 for the OLED)1 pack of 5$0.20
0.96" OLED, white, GND-VCC-SCL-SDAAliExpressEstardyn 0.96" SSD1306 OLED11$1.09
MPU6050 (GY-521), comes with its 8 pinsAliExpressAOKIN GY-521 MPU605011$3.15
DHT11, bare 4-pinAliExpressDHT11 (choose the "DHT11" option)11$2.33
10k resistorAliExpress10k metal film, 100 pcs11 pack of 100$1.02
MX-compatible switchesAliExpressGateron G Pro 3.0 Blue, 10 pcs21 pack of 10$2.85
KeycapsAliExpressBlank DSA PBT keycaps, 20 pcs21 pack of 20$3.38
PCBJLCPCBJLCPCB instant quote (upload production/RishiStarbie_gerbers.zip)15 (minimum order)$0.01
Parts and board subtotal$19.02
Tax & shipping (Seeed $6.30, AliExpress $1.36)$7.66
Total$26.68

The same list with reference designators and footprints is in production/BOM.csv.

Build journal images

Screenshots from the schematic, layout and DRC steps (click to expand) s3-silk-back s3-silk s3-jlcpcb s3-front s3-drc s3-back s3-07 s3-06 s3-05 s3-04 s3-03 s3-02 s3-01 s2-placement s2-05 s1-schematic s1-libraries s1-07 s1-06 s1-05 s1-04 s1-03 s1-02 s1-01 Journal2_6 Journal2_5 Journal2_4 Journal2_3 Journal2_2 Journal2_1

Parts

7
QtyValueFootprintReferences
2MX switchButton_Switch_Keyboard:SW_Cherry_MX_1.00u_PCBSW1, SW2
110kResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR1
1DHT11Sensor:Aosong_DHT11_5.5x12.0_P2.54mmU2
1MPU6050Imported Parts:MPU6050_ModuleJ2
1OLEDImported Parts:Display_128x64_096_I2CJ1
1XIAO-ESP32-C3Imported Parts:XIAO-ESP32-C3-DIPU1

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 RishiStarbie PCB?

It measures 94.7 × 90.4 mm and has 2 copper layers, 1.6 mm thick.

What parts does the RishiStarbie 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 RishiStarbie KiCad files?

From the rishigovindnair-web/RishiStarbie repository on GitHub, at the commit this page was made from: the board is pcb/RishiStarbie.kicad_pcb and its schematic pcb/RishiStarbie.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the RishiStarbie design in my own project?

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