Skip to the content
2 layers34.3 × 31.8 mmLight trainer, the printed circuit board in 3D

Light pour l'entrainement sportif, physique et mental.

Size
34.3 × 31.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
30
Nets
11
Pads
108
Tracks, vias
186, 129
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 34.3 × 31.8 mm with 30 parts on 11 nets, routed with 186 tracks and 129 vias.

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

Main components

2

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

30
QtyValueFootprintReferences
4MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
4SK6812LED_SMD:LED_SK6812_PLCC4_5.0x5.0mm_P3.2mmD1, D2, D3, D4
4SW_PushWork_Forestier:SW_Cherry_MX_1.00u_PCB_3DSW1, SW2, SW3, SW4
10.1uFCapacitor_SMD:C_0805_2012MetricC2
10.33uFCapacitor_SMD:C_0805_2012MetricC1
110kResistor_SMD:R_1206_3216MetricR1
13.3VTestPoint:TestPoint_THTPad_2.5x2.5mm_Drill1.2mmTP8
15VTestPoint:TestPoint_THTPad_2.5x2.5mm_Drill1.2mmTP7
19VTestPoint:TestPoint_THTPad_2.5x2.5mm_Drill1.2mmTP2
1BatteryWork_Forestier:BatteryHolder_Keystone_593-594BT1
1ESP32-DevKitC-32DWork_Forestier:ESP32-DevKitC-32DU2
1GndTestPoint:TestPoint_THTPad_2.5x2.5mm_Drill1.2mmTP6
1L78M05CDT-TRPackage_TO_SOT_SMD:TO-252-2U1
1LOGOWork_Forestier:logoG***
1Led-inTestPoint:TestPoint_THTPad_2.5x2.5mm_Drill1.2mmTP1
1Led-outTestPoint:TestPoint_THTPad_2.5x2.5mm_Drill1.2mmTP5
1SW_SPDTWork_Forestier:C&K-1101M2S5CQE2SW5
1SwitchTestPoint:TestPoint_THTPad_2.5x2.5mm_Drill1.2mmTP4
1TestPointTestPoint:TestPoint_THTPad_2.5x2.5mm_Drill1.2mmTP3

The 28 most common of 30 parts.

More from Forestierr/Light_trainer

2
  • 2 layers55 × 34.6 mmLight trainer, the printed circuit board in 3D

    Light trainer

    Forestierr/Light_trainer

    Light pour l'entrainement sportif, physique et mental.

    32 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 layers85 × 76 mmPedal, the printed circuit board in 3D

    Pedal

    GasimovDev/guitar-pedal

    A digital guitar pedal. Guitar in, an STM32 microcontroller runs three effects (overdrive, then tremolo, then delay), and the sound comes out to your amp. It has six knobs, three footswitches and three LEDs.

    106 parts
  • 2 layers82 × 98 mmCalkaBot PCB, the printed circuit board in 3D

    CalkaBot PCB

    JakubKivi/CalkaBot3K0

    Minisumo robot with an opponent-lifting system

    39 partsMIT
  • 4 layers100 × 100 mmCat a hack, the printed circuit board in 3D

    Cat a hack

    rimio/cat-a-hack

    Prototyping board for PC/μC to transceiver isolation.

    175 partsCC-BY-SA-4.0
  • 4 layers166 × 143 mmCustom Inverter PCB, the printed circuit board in 3D

    Custom Inverter PCB

    MiniNugen/Custom_Inverter_Hardware

    PCBProjectNameREV1.PrjPCB | Source Documents | | PCBProjectNameREV1.SchDOC | | PCBProjectNameREV1.PcbDOC | | BOM | Settings | Libraries

    108 parts1
  • 2 layers110 × 69 mmSolenoid main board, the printed circuit board in 3D

    Solenoid main board

    krimarty/pcbs_kriz

    Repository for all of Martin's PCBs

    17 parts
  • 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

Questions

How big is the Light trainer PCB?

It measures 34.3 × 31.8 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Light trainer use?

30 parts, built around the L78M05CDT-TR and 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_01/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).