Skip to the content
2 layers55 × 34.6 mmLight trainer, the printed circuit board in 3D

Light pour l'entrainement sportif, physique et mental.

Size
55 × 34.6 mm
Copper layers
2
Thickness
1.6 mm
Parts
32
Nets
46
Pads
113
Tracks, vias
563, 149
Pours
3
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
27 Nov 2020
Updated
29 Sep 2026

Overview

Light trainer is an open-source printed circuit board by Forestierr, from the Forestierr/Light_trainer repository on GitHub, published under the Apache-2.0 licence. It is a 2-layer board of 55 × 34.6 mm with 32 parts on 46 nets, routed with 563 tracks and 149 vias.

It is built around the SK6812. Its parts include 5 diodes, 5 switches, 2 capacitors, 2 ICs and 1 resistor. It belongs with the radio and wireless boards and the ESP32 boards of this library.

Main components

1

README

README.md

⚡ Light Trainer — Système d'Entraînement Réactif Sans Fil ⚡

Hardware Version Firmware ESP-NOW VL53L0X License

Pods lumineux interactifs, ultra-réactifs et modulaires pour l'entraînement sportif, le travail des réflexes, de l'agilité et de la réactivité cognitive.


🌟 Points Forts du Système

  • 🚀 Zéro Latence & Réseau Maillé Auto-Organisé : Communication instantanée multi-sauts via ESP-NOW (2.4 GHz). Pas besoin de routeur Wi-Fi, les pods se découvrent et se synchronisent automatiquement.
  • ✋ Interaction 100% Sans Contact (ToF Laser) : Télémètre VL53L0X cadencé à 50 Hz pour une détection millimétrique des frappes sans usure mécanique.
  • 🌈 Affichage 360° Haute Visibilité : Anneau de 7 LEDs RVB adressables WS2812B avec gestion de jauges de progression et flashs de confirmation.
  • 🔋 Gestion d'Énergie Avancée & Autonomie :
    • Batterie LiPo 3.7V avec recharge USB-C automatique.
    • Deep Sleep ultra-basse consommation ($\approx 10,\mu\text{A}$) via coupure d'alimentation commutée $3\text{V}3_S$ et réveil instantané sur interrupteur.
    • Mesure continue de la tension de batterie avec compensation ADC d'usine eFuse.
  • 📱 Double Interface : Pilotage 100% gestuel sur le pod + portail Web de configuration intégré (Wi-Fi SoftAP).

📂 Structure du Répertoire

text
Light_trainer/
├── 1_Documentation/               # 📖 Documentation complète & schémas
│   ├── Architecture_Systeme.md    # Spécifications techniques & protocoles
│   ├── Dashboard_Web_App.md       # Spécifications de l'interface Web & API
│   ├── Guide_Montage_Materiel.md  # Guide pas-à-pas d'assemblage & BOM
│   ├── Manuel_Utilisation_et_Modes.md # Guide des gestes & 5 modes de jeu
│   ├── Roadmap_Idees_et_TODO.md   # Feuille de route & TODO pour la production
│   └── DOC_FAB/schema.pdf         # Schéma électronique officiel V3
├── 2_Mesures/                     # 📊 Cahier d'expérimentation & banc d'essais
│   └── Protocole_de_Tests_et_Mesures.md # Tableaux de relevés et qualification
├── 3_Datasheets/                  # 📑 Fiches techniques des composants
├── 4_Fabrication/                 # 🛠️ Fichiers de fabrication KiCad & Gerber
│   └── Version_02/light_trainer/  # Projet PCB KiCad V3
├── 5_Programmation/               # 💻 Codes sources & firmware
│   ├── XIAO-esp32-v3/main/        # Firmware principal complet (Production)
│   └── TEST_BENCH/                # Suite de qualification unitaire matérielle
└── README.md                      # Ce document

📐 Schéma & Câblage Matériel (V3 / Veroboard)

Pinout du Seeed Studio XIAO ESP32-C3

text
                       +-------------------+
                       |    [ USB-C ]      |
     (ADC Batt)   D1 --| 2              14 |-- 5V VBUS  (Détection Charge USB)
   (Switch SW1)   D2 --| 3              13 |-- GND      (Masse Commune)
  (Buzzer Opt.)   D3 --| 4              12 |-- 3V3_OUT  (Sortie Régulateur LDO)
     (I2C SCL)    D4 --| 5              11 |-- D10      (Entrée Diviseur Charge)
     (I2C SDA)    D5 --| 6              10 |-- D9
                  D6 --| 7               9 |-- D8
    (LED Data)    D7 --| 8               8 |-- 3V3
                       +-------------------+
                          |  [BAT+]  [GND] |
                          |   (21)    (22) |

[!TIP] Résistances $100\text{ k}\Omega$ Unifiées : Le circuit utilise uniquement des résistances standard de $100\text{ k}\Omega$ ($R_1$ à $R_6$), simplifiant l'approvisionnement et le montage.

Consultez le Guide de Montage Matériel [blocked] pour les détails d'implantation et les schémas complets.


🎮 Modes de Jeu & Navigation Gestuelle

Geste ToFDuréeAction en Mode MenuAction en Cours de Jeu
Tap Court$< 500\text{ ms}$Défilement des 5 modes (0 $\rightarrow$ 1 $\rightarrow$ 2 $\rightarrow$ 3 $\rightarrow$ 4 $\rightarrow$ 0)Ignoré
Hold Départ$1.5\text{ s}$Départ de partie (Jauge circulaire 0 à 100%)Non applicable
Frappe (Hit)$< 300\text{ ms}$IgnoréValidation de la cible (Flash blanc instantané)
Hold Menu$3.0\text{ s}$RéinitialisationArrêt du jeu et retour synchronisé au Menu pour tout le réseau

Consultez le Manuel d'Utilisation [blocked] pour découvrir les 5 modes sportifs disponibles (Vitesse Solo, Duel Bicolore, Réflexe Aléatoire, Agilité Cognitive et Jeu Simon).


🧪 Banc de Tests et Qualification

Un firmware dédié autonome 5_Programmation/TEST_BENCH/TEST_BENCH.ino [blocked] permet de mesurer précisément les performances de votre prototype :

  1. TEST_BATTERY_STRESS : Décharge extrême à pleine puissance (LEDs 100% blanches + RF) avec export CSV.
  2. TEST_BATTERY_GAME_SIM : Test d'autonomie en conditions de match réelles.
  3. TEST_TOF_BENCHMARK : Test de portée ToF, cadence de frappe (hits/min) et tenue aux perturbations solaires.
  4. TEST_RADIO_PING_RTT_RSSI : Mesure de la portée radio, de la latence RTT (ms) et de la force du signal (RSSI).
  5. TEST_DEEP_SLEEP_POWER : Validation de l'interrupteur matériel et mesure du courant de veille.
  6. TEST_ALL_INTERACTIVE : Tableau de bord interactif par commandes Série.

🚀 Démarrage Rapide

Prérequis Logiciels

  • Arduino IDE (version 2.x recommandée).
  • Package de cartes : ESP32 by Espressif Systems (version 2.0.14+ ou 3.x).
  • Sélectionner la carte : XIAO_ESP32C3.
  • Configuration Indispensable de la Flash :

    [!IMPORTANT] Dans le menu Outils $\rightarrow$ Partition Scheme, sélectionnez impérativement Huge APP (3MB No OTA/1MB SPIFFS). La puce physique du XIAO ESP32-C3 dispose de 4 Mo de Flash. Sans ce réglage, le schéma standard réserve seulement 1.3 Mo à l'application, ce qui est insuffisant pour accueillir l'interface Web complète et provoque une erreur de compilation Sketch too big.

  • Bibliothèques Arduino requises :
    • FastLED
    • Adafruit_VL53L0X

Flasher le Projet

  1. Ouvrez 5_Programmation/XIAO-esp32-v3/main/main.ino [blocked].
  2. Branchez le XIAO ESP32-C3 via un câble USB-C.
  3. Vérifiez que la carte est bien configurée en Huge APP (3MB).
  4. Cliquez sur Téléverser.
  5. Ouvrez le Moniteur Série à 115200 bauds pour observer le tableau de bord temps réel.

🗺️ Feuille de Route & Production

Pour découvrir les axes d'évolution logicielle pour le déploiement à grande échelle (SoftAP master exclusif, WebSockets, Gzip, PWA, calibration ToF, Web OTA et PlatformIO), consultez notre Feuille de Route & TODO Backlog [blocked].


📄 Licence

Ce projet est distribué sous licence Apache 2.0. Consultez le fichier LICENSE [blocked] pour plus de détails.


Robin Forestier — Projet Light Trainer

Parts

32
QtyValueFootprintReferences
8TestPointTestPoint:TestPoint_THTPad_2.5x2.5mm_Drill1.2mmTP1, TP2, TP3, TP4, TP5, TP6, TP7, TP8
5SK6812LED_SMD:LED_SK6812_PLCC4_5.0x5.0mm_P3.2mmD1, D2, D3, D4, D5
4MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
4SW_PushWork_Forestier:SW_Cherry_MX_1.00u_PCB_3DSW1, SW2, SW3, SW4
110kResistor_SMD:R_1206_3216MetricR1
110uFCapacitor_SMD:C_0805_2012MetricC2
110uHInductor_SMD:L_1210_3225MetricL1
11uFCapacitor_SMD:C_0805_2012MetricC1
1BatteryWork_Forestier:BatteryHolder_Keystone_2464_3xAABT1
1ESP32-DevKitC-32DWork_Forestier:ESP32-DevKitC-32DU2
1JumperJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP1
1LTC3525-5Package_TO_SOT_SMD:SOT-363_SC-70-6U1
1SW_SPDTWork_Forestier:C&K-1101M2S5CQE2SW5

The 30 most common of 32 parts.

More from Forestierr/Light_trainer

2
  • 2 layers34.3 × 31.8 mmLight trainer, the printed circuit board in 3D

    Light trainer

    Forestierr/Light_trainer

    Light pour l'entrainement sportif, physique et mental.

    30 parts1Apache-2.0
  • 2 layersLight trainer, the printed circuit board in 3D

    Light trainer

    Forestierr/Light_trainer

    Light pour l'entrainement sportif, physique et mental.

    14 parts1Apache-2.0

Similar boards

  • 2 layers299 × 82.5 mmPixelWave, the printed circuit board in 3D

    PixelWave

    hackclub/OnBoard

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

    663 parts915
  • 4 layers95 × 95 mmOpenmicro, the printed circuit board in 3D

    Openmicro

    conol-ai/openmicrokbd

    Open-source recreation of OpenAI's Codex Micro macropad — PCB written in CoHDL, an AI-native hardware description language. Rust firmware (embassy) + companion app (makepad). MIT licensed. https://openmicrokbd.org

    88 parts154MIT
  • 2 layers312.5 × 122.3 mmSHEGO75-V5, the printed circuit board in 3D

    SHEGO75-V5

    Charading/Shego75HE

    My endgame 75% hall effect keyboard

    392 parts75
  • 2 layers140.1 × 121.8 mmTH LEDS, the printed circuit board in 3D

    TH LEDS

    DraftShift/Tophat

    StealthChanger now has an official website!

    89 parts64GPL-3.0
  • 2 layers187.9 × 127.2 mmDya panelized, the printed circuit board in 3D

    Dya panelized

    cormoran/dya-dash-keyboard

    DYA Dash portable wireless split keyboard with 25mm trackball

    269 parts57CC-BY-4.0
  • 2 layers145 × 145 mmNeofighter, the printed circuit board in 3D

    Neofighter

    w4ilun/neofighter

    A MIDI controller using arcade buttons with RGB lighting effects

    111 parts51
  • 2 layers176 × 189.6 mm8x8, the printed circuit board in 3D

    8x8

    miliar/saiboard

    An open-source, wooden electronic Go board that integrates with KataGo.

    222 parts48GPL-3.0
  • 6 layers128 × 128 mmEmberone, the printed circuit board in 3D

    Emberone

    256foundation/emberone00-pcb

    KiCAD design files for the emberOne/00 hashboard

    395 parts45CERN-OHL-S-2.0

Questions

How big is the Light trainer PCB?

It measures 55 × 34.6 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Light trainer use?

32 parts, built around the SK6812. 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 Light trainer KiCad files?

From the Forestierr/Light_trainer repository on GitHub, at the commit this page was made from: the board is 4_Fabrication/Version_00/C_KiCAD/Light_trainer_v1/Light_trainer.kicad_pcb and its schematic 4_Fabrication/Version_02/light_trainer/light_trainer.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Light trainer design in my own project?

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