Skip to the content
2 layers56.1 × 37 mmPowerBoard, the printed circuit board in 3D

Interactive Chess board that brings visuals to the game and can help the player to learn.

Size
56.1 × 37 mm
Copper layers
2
Thickness
1.6 mm
Parts
44
Nets
24
Pads
119
Tracks, vias
427, 121
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
2 Mar 2026
Updated
22 Oct 2026

Overview

PowerBoard is an open-source printed circuit board by dev-campusfab, from the dev-campusfab/chessLab repository on GitHub, published under the AGPL-3.0 licence. It is a 2-layer board of 56.1 × 37 mm with 44 parts on 24 nets, routed with 427 tracks and 121 vias.

It is built around the MT3608, AMS1117-3.3 and DW01A, with the TP4056, AO3400A and CDRH4D28NP-2R2NC among its other parts. Its parts include 9 resistors, 7 capacitors, 4 ICs, 3 diodes and 3 connectors.

Main components

8

README

README.md

ChessLab — Documentation technique

Échiquier connecté détectant la position des pièces (capteurs à effet Hall) et affichant un retour visuel case par case (LEDs RGB adressables), pour visualiser une partie et aider à l'apprentissage du jeu.

Architecture système

text
                        ESP32-C6
        WiFi 6 · BLE 5 · RISC-V 160 MHz · 512 KB SRAM
                            |
        +-------------------+-------------------+
        |                   |                   |
  Capteurs Hall         LEDs RGB           Alimentation
   (8x8 = 64)          (8x8 = 64)          Pack 18650

Hardware

Capteurs de position — SS49E

Capteur à effet Hall Analogique, suffisant pour détecter la présence ou l'absence d'une pièce sur une case.

LEDs — WS2812B (NeoPixel)

64 LEDs adressables individuellement, câblées en une seule chaîne série (une ligne de données, montage serpentin case par case). Alimentation 5 V, consommation crête d'environ 60 mA par LED.

Multiplexage des capteurs Hall

64 capteurs analogiques dépassent le nombre de broches disponibles sur l'ESP32-C6. Solution retenue : multiplexeurs analogiques 74HC4051 (8 voies vers 1), soit 8 multiplexeurs pour 64 capteurs, ramenant le besoin à environ 11 broches ESP32.

Alimentation — 18650

  • 2 cellules 18650 montées en parallèle (~6000 mAh)
  • Gestion de charge : IC TP4056
  • Régulation :
    • 5 V / 3 A pour les LEDs WS2812B (convertisseur buck MP3608)
    • 3,3 V pour l'ESP32 et les capteurs Hall (LDO AMS1117-3.3)

Circuit d'alimentation (mise sous tension)

Commutation assurée par un MOSFET P-Channel AO3401, piloté par le bouton d'alimentation et maintenu par l'ESP32 :

text
VBAT
 |
 R1 10k
 |
 +----------------------> Gate AO3401 (P-MOS)
 |                              |
 |        +---- R2 100k --------+
 |        |
 |     Source AO3401 = VBAT
 |        |
 |       Drain --------------------> VSYS
 |                                     |
BTN_PWR                          (MT3608 + AMS1117)
 |                                     |
 +---- vers Gate                 ESP32-C6
                                   |         |
                          GPIO_PWR_HOLD  GPIO_BTN_PWR
                          (maintien ON)  (lecture bouton)

Séquence d'allumage

  1. Appui sur BTN_PWR
  2. La gate du MOSFET passe à GND, le MOSFET conduit
  3. VSYS s'active, l'ESP32 démarre
  4. L'ESP32 maintient son GPIO à l'état bas pour garder le MOSFET conducteur
  5. Le bouton peut être relâché, le système reste alimenté

Extinction logicielle

  1. Inactivité détectée (par exemple 10 minutes sans coup joué)
  2. Sauvegarde de l'état de la partie si nécessaire
  3. Le GPIO passe à l'état haut, le MOSFET se bloque et coupe l'alimentation

Extinction manuelle

  1. Appui long sur BTN_PWR (environ 3 secondes)
  2. Détection par l'ESP32 via le GPIO de lecture du bouton
  3. Même séquence que l'extinction logicielle

Répartition des composants entre les deux cartes

Carte principaleCarte d'alimentation
ESP32-C6TP4056
Connecteur USB-CDW01A + FS8205A
64× WS2812BConnecteur 18650
64× SS49EMT3608 (5 V)
8× 74HC4051AMS1117 (3,3 V)
1× 74HC138Commutation MOSFET
BTN_BOOT + BTN_RESETBTN_PWR + LED power
Connecteur JST vers carte d'alimentationConnecteur JST vers carte principale

Les deux cartes sont reliées par un connecteur JST 4 broches :

BrocheSignal
1VBAT (18650+)
2GND
35 V (sortie MT3608 vers carte principale)
43,3 V (sortie AMS1117 vers carte principale)

Layout PCB

  • Routage serpentin des WS2812B (entrée/sortie de données case par case)
  • Matrices de capteurs Hall organisées en lignes/colonnes vers les multiplexeurs
  • Épaisseur de PCB standard : 1,6 mm
  • Couche diffusante imprimée en 3D au-dessus des LEDs

Largeurs de piste

SignalLargeur
Données / GPIO0,25 mm
Alimentation 3,3 V0,5 mm
Alimentation 5 V (LEDs)1,0 mm
VBAT1,0 mm
VSYS1,0 mm
USB D+ / D-0,2 mm

Vias

TypePerçagePad
Standard0,4 mm0,8 mm
Puissance0,6 mm1,2 mm

Pinout ESP32-C6

BrocheGPIOFonction
13GPIO12USB D-
14GPIO13USB D+
8GPIO0Mux — sélection canal S0
9GPIO1Mux — sélection canal S1
27GPIO2Mux — sélection canal S2
16GPIO1874HC138 — sélection rangée A0
25GPIO1674HC138 — sélection rangée A1
24GPIO1774HC138 — sélection rangée A2
26GPIO3Lecture capteurs Hall (A_OUT)
17GPIO19Données WS2812B (via résistance 33 Ω)
18GPIO20VBAT
15GPIO9Bouton BOOT
19GPIO21Lecture bouton d'alimentation (BTN_PWR)
20GPIO22Maintien alimentation (PWR_HOLD)

Fixation des pièces

Aimants cylindriques N52, Ø6×3 mm, insérés dans la base de chaque pièce et collés à l'époxy dans un logement imprimé en 3D. Ce choix permet une détection fiable par les capteurs Hall tout en restant invisible une fois la pièce posée.

Boîtier

Hauteur totale estimée : 25 à 30 mm, dimensionnée pour loger la carte principale, la carte d'alimentation et les deux packs 18650.

Firmware

Architecture logicielle sous FreeRTOS, organisée en tâches indépendantes :

TâcheRôle
Hall ScannerScrutation des 64 capteurs (polling 50 ms)
LED ControllerTraduction de l'état de l'échiquier en animation LED
Chess EngineValidation des positions et des coups légaux
BLE/WiFiCommunication avec l'application mobile ou l'interface web
Battery MonitorSuivi de la tension batterie via diviseur de tension sur ADC

Bibliothèques envisagées

  • FastLED ou Adafruit NeoPixel pour le pilotage des WS2812B
  • Stockfish (version allégée, via WASM) pour le moteur d'échecs
  • Interface web servie depuis la mémoire flash (SPIFFS/LittleFS)

Feuille de route

PhaseObjectif
P1Prototype d'une case (1 LED + 1 capteur Hall + multiplexeur) sur breadboard
P2PCB de test 4×4 (KiCad) pour valider le multiplexage
P3PCB complet 8×8 et boîtier v1
P4Firmware — moteur d'échecs et application
P5Impression 3D du boîtier final et des pièces modifiées

Parts

44
QtyValueFootprintReferences
5~TestPoint:TestPoint_Pad_4.0x4.0mmBTN_PWR1, GND1, PWR_HOLD1, VBAT2, VSYS1
4MountingHoleMountingHole:MountingHole_2.7mm_M2.5H1, H2, H3, H4
31.1kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR17, R18, R19
2100uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC1, C5
2100µFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC11, C12
210uFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC6, C7
2LEDLED_SMD:LED_0201_0603MetricD4, D5
1-BATTestPoint:TestPoint_Pad_D2.0mmTP6
10.1uFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC3
1100Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR3
1100kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR15
110kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR16
11kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR7
1220kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR4
133kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR5
13V3TestPoint:TestPoint_Pad_D2.0mmTP10
15VTestPoint:TestPoint_Pad_D2.0mmTP4
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U2
1AO3400APackage_TO_SOT_SMD:SOT-23Q2
1AUXpretty:JST_B4B-XH-A_LF__SN_J6
1BAT+TestPoint:TestPoint_Pad_4.0x4.0mmBAT+1
1BAT-TestPoint:TestPoint_Pad_4.0x4.0mmBAT-1
1CDRH4D28NP-2R2NCCDRH4D28_pretty:CDRH4D28NP100NCFB1
1DATApretty:JST_B4B-XH-A_LF__SN_J4
1DW01APackage_TO_SOT_SMD:SOT-23-6U3
1FS8205AFS8205A_pretty:SOP65P640X120-8NQ1
1MT3608Package_TO_SOT_SMD:SOT-23-6U4
1PWRpretty:JST_B4B-XH-A_LF__SN_J5
1SS34Diode_SMD:D_SMAD3
1SolderJumper_2_BridgedJumper:SolderJumper-2_P1.3mm_Bridged2Bar_RoundedPad1.0x1.5mmJP2
1TP4056Package_SO:SOIC-8-1EP_3.9x4.9mm_P1.27mm_EP2.41x3.3mm_ThermalViasU5

More from dev-campusfab/chessLab

1
  • 2 layers240 × 239.9 mmKiCad chessLab, the printed circuit board in 3D

    KiCad chessLab

    dev-campusfab/chessLab

    Interactive Chess board that brings visuals to the game and can help the player to learn.

    295 parts2AGPL-3.0

Similar boards

  • 2 layers150 × 40 mmBicopter, the printed circuit board in 3D

    Bicopter

    InputBlackBoxOutput/Bicopter

    Design files for a PCB Bicopter

    79 parts1MIT
  • 2 layers61 × 61 mmVael, the printed circuit board in 3D

    Vael

    dialgorithm/vael

    esp32s3 flight controller

    66 parts
  • 2 layers35 × 39 mmNex, the printed circuit board in 3D

    Nex

    dialgorithm/nex

    esp32 swarm bots

    60 parts1
  • 2 layers70 × 120 mmMultimetre V2, the printed circuit board in 3D

    Multimetre V2

    hilham1990/Multimetre

    AkademiUsta Multimetre: ATmega328P + 16 bit ADS1115 ADC, OLED ekran ve Li-ion pil ile açık kaynak el multimetresi. KiCad 10 dosyaları, Gerber ve LCSC kodlu BOM. Kart henüz üretilmedi.

    86 parts
  • 2 layers62 × 6 mmTableLight, the printed circuit board in 3D

    TableLight

    jonny190/TableLight

    A 3D-printable, battery-powered, USB-C rechargeable table lamp in the classic "Poldina" shape - honeycomb disc base, thin stem, down-firing cone shade with a white top - running WLED on an ESP32, with a capacitive touch…

    72 partsMIT
  • 2 layers100 × 100.1 mmDiploma, the printed circuit board in 3D

    Diploma

    t3ry4git/stm32Co2

    A simple CO2 and environmental monitor based on the STM32F103C8 microcontroller. The firmware reads temperature and humidity from a DHT22 sensor, measures CO2 concentration using an MHZ19B module and displays values on…

    62 parts
  • 2 layers25.8 × 34.5 mmCargadorDeBaterias, the printed circuit board in 3D

    CargadorDeBaterias

    Tintun1/Practicas

    Practicas de programacion / diseño / demas

    27 parts
  • 2 layers50 × 97.5 mmMiniMorse, the printed circuit board in 3D

    MiniMorse

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    55 parts915

Questions

How big is the PowerBoard PCB?

It measures 56.1 × 37 mm and has 2 copper layers, 1.6 mm thick.

What parts does the PowerBoard use?

44 parts, built around the MT3608, AMS1117-3.3, DW01A and TP4056. 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 PowerBoard KiCad files?

From the dev-campusfab/chessLab repository on GitHub, at the commit this page was made from: the board is Hardware/powerBoard/powerBoard.kicad_pcb and its schematic Hardware/kiCad_chessLab/cell.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the PowerBoard design in my own project?

Its repository publishes it under the AGPL-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).