Skip to the content
2 layersLight trainer, the printed circuit board in 3D

Light pour l'entrainement sportif, physique et mental.

Copper layers
2
Thickness
1.6 mm
Parts
14
Nets
30
Pads
67
Tracks, vias
65, 0
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
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 with 14 parts on 30 nets, routed with 65 tracks and 0 vias.

It is built around the VL53L0X and WS2812B. Its parts include 6 resistors, 2 ICs, 1 capacitor, 1 diode and 1 switch. It belongs with the radio and wireless boards and the ESP32 and RISC-V 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

14
QtyValueFootprintReferences
6100KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1, R2, R3, R4, R5, R6
1100nFCapacitor_THT:CP_Radial_D5.0mm_P2.50mmC1
1BUZZConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalTP2
1Battery 3.7VConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalBT1
1GNDConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalTP1
1SW_SPDTConnector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_VerticalSW1
1VL53L0Library:VL53L0U2
1WS2812BConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalD1
1XIAO-ESP32-C3-SMDLibrary:XIAO-ESP32-C3-DIP-SMDU1

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 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

Similar boards

  • 2 layers88.9 × 150 mmKeypad, the printed circuit board in 3D

    Keypad

    souptik-samanta/Soup_Pad

    This project involves the assembly of various electronic components, which I will be soldering by hand. Below is the Bill of Materials (BOM) for the project:

    78 parts1
  • 2 layersLidar, the printed circuit board in 3D

    Lidar

    CRLG/HW_LIDAR

    Carte électronique du LIDAR CRLG

    47 partsGPL-3.0
  • 2 layers42 × 48 mmKERISE, the printed circuit board in 3D

    KERISE

    kerikun11/micromouse-kerise-v3

    MicroMouse KERISE v3

    130 parts32
  • 2 layers68.6 × 53.3 mmShoei, the printed circuit board in 3D

    Shoei

    CALIL/openbookcamera

    高速な書影撮影システム「オープンブックカメラ」

    28 parts23MIT
  • 2 layers100 × 80 mmEsp, the printed circuit board in 3D

    Esp

    0Zane/E.L.B.E.R.R

    Fanmade of E.LB.E.R.R. robot by LightsAreOff

    94 parts6MIT
  • 2 layers140 × 80 mmIntelliThings, the printed circuit board in 3D

    IntelliThings

    embedded-purdue/IntelliThings

    From IoT to AIoT: ESP32-C6 sensor nodes, Home Assistant and an LLM agent that acts through MCP

    12 parts5
  • 2 layers24 × 24 mmDistance sensor vl53l0x, the printed circuit board in 3D

    Distance sensor vl53l0x

    festlv/laser-distance-sensor

    Laser distance sensor with USB and serial output

    28 parts3
  • 4 layersLogiBot PCB, the printed circuit board in 3D

    LogiBot PCB

    Lukikato101/LogiBot

    Low-cost autonomous mobile robot (AMR) for warehouse material transport and automation.

    114 parts2

Questions

What parts does the Light trainer use?

14 parts, built around the VL53L0X and WS2812B. 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_02/light_trainer/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).