Skip to the content
2 layers75.3 × 84.3 mmAI Motion Correction, the printed circuit board in 3D

AI Motion Correction

HikmalRafi/VibeCoach-schematic

This repository contains the official hardware schematic for VibeCoach, a TinyML-powered wearable gym form detector.

Size
75.3 × 84.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
26
Nets
49
Pads
104
Tracks, vias
159, 12
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
24 Apr 2026
Updated
18 May 2026

Overview

AI Motion Correction is an open-source printed circuit board by HikmalRafi, from the HikmalRafi/VibeCoach-schematic repository on GitHub. It is a 2-layer board of 75.3 × 84.3 mm with 26 parts on 49 nets, routed with 159 tracks and 12 vias.

It is built around the MPU-9250. Its parts include 6 capacitors, 6 connectors, 5 resistors, 3 switches and 2 ICs.

Main components

1

README

README.md

VibeCoach: Hardware Schematic (KiCad)

This repository contains the official hardware schematic for VibeCoach, a TinyML-powered wearable gym form detector. The circuit architecture is designed around the STM32F411 microcontroller, optimizing power delivery, analog sensor integration, and user interface peripherals for high-reliability wearable tracking.

The project files are built and maintained using KiCad 8.0 (or latest stable release).


🛠️ Hardware Subsystems & Design Choices

The schematic isolates low-power digital computing networks from inductive and high-frequency noise sources through clean net topology:

  • Central Processing Unit: Powered by an STM32F411CEU6 development board, capturing multi-axis kinematic data streams and executing real-time neural network inference locally.
  • Kinematic Sensor Ingestion: Bridges the MPU-9250 IMU sensor via standard serial communication buses, mapped to high-speed digital lines to preserve waveform integrity at a 78 Hz sampling rate.
  • Haptic and Visual Feedback: Integrates a coreless haptic motor driven via a low-side N-Channel MOSFET switching circuit on pin PA8 (PWM) to protect the MCU from inductive back-EMF spikes. Visual cues route through an active RGB LED array and an SPI-driven ST7735 LCD display.
  • Power Management and Telemetry: Utilizes a lightweight 3.7V 250mAh LiPo battery paired with a TP4056 linear charging IC via a USB Type-C interface. Battery state-of-charge tracking is handled securely through a passive Voltage Divider network (two balanced 10kOhm resistors) that steps down the peak 4.2V potential to a safe 2.1V domain for the PA0 (ADC1 Channel 0) pin.

🔌 Core Pin Assignments

ComponentFunctionSTM32 Pin AssignmentNotes
MPU-9250 IMUKinematic Data BusSerial Bus (I2C/SPI)78 Hz Sampling Window
ST7735 LCDVisual UI RenderingSPI Bus (MOSI, SCK, CS, RS, RST)High-speed data line
Haptic MotorPhysical Warning PulsesPA8 (TIM1 Channel 1)PWM Controlled / MOSFET Gate
RGB LEDImmediate Visual StatusHardware Timer Pins (TIM2/TIM3)Green, Blue, Red Tiers
Voltage DividerBattery Capacity MonitoringPA0 (ADC1 Channel 0)Dual 10kOhm Network
Blue Button BarSystem Menu NavigationDigital GPIO InputsInternal Pull Resistance

📦 Bill of Materials (BOM) Highlights

  • 1x STM32F411CEU6 Development Board (Black Pill)
  • 1x MPU-9250 9-Axis IMU Sensor Module
  • 1x ST7735 1.8-inch SPI TFT LCD Display Module
  • 1x 3.7V 250mAh Lithium Polymer (LiPo) Battery Pack
  • 1x TP4056 USB Type-C Lithium Battery Charger Module
  • 1x 5V Coreless Micro Vibration Motor
  • 1x N-Channel MOSFET (e.g., 2N7002 or equivalent for haptic switching)
  • 2x 10kOhm Resistors (0.1% tolerance recommended for accurate ADC Voltage Divider)
  • 1x 4-Position Blue Tactile Button Bar Array

🚀 How to View and Edit the Schematic

To open and inspect the hardware project architecture locally:

  1. Clone this repository to your computer workspace.
  2. Download and install the latest stable version of KiCad EDA.
  3. Open KiCad, select Open Project, and navigate to the cloned directory.
  4. Launch the .kicad_pro project file.
  5. Click on the Schematic Editor icon to view the full circuit diagrams, net labels, and power rail configurations.
  6. To generate fabrication sheets, go to File -> Plot to export the layout as an SVG or PDF vector file.

Parts

26
QtyValueFootprintReferences
3100nFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC1, C4, C5
3100uFCapacitor_THT:CP_Radial_D5.0mm_P2.00mmC2, C3, C6
3SW_PushButton_Switch_THT:SW_PUSH_6mmSW1, SW2, SW3
210KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1, R3
2220Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR4, R5
110kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR2
1Conn_01x20_SocketConnector_PinSocket_2.54mm:PinSocket_1x20_P2.54mm_VerticalU2
1LED_RGBConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ3
1MCUConnector_PinSocket_2.54mm:PinSocket_1x20_P2.54mm_VerticalU1
1MPU-9250Connector_PinSocket_2.54mm:PinSocket_1x10_P2.54mm_VerticalJ1
1SSD1306Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ2
1UARTConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ4
1charger +Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ5
1charger -Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ6

The 22 most common of 26 parts.

Similar boards

  • 2 layers35 × 38.4 mmHandgelenk, the printed circuit board in 3D

    Handgelenk

    Jeija/esp8266-smartwatch

    ESP8266 DIY WiFi Smartwatch with MPU-9250, RTC, OLED, FT232, ...

    61 parts233
  • 2 layers100 × 74 mmMicromouse, the printed circuit board in 3D

    Micromouse

    kbumsik/WolfieMouse

    IEEE Reion 1 Micromouse competition.

    214 parts79
  • 4 layers70 × 80 mmPower Board, the printed circuit board in 3D

    Power Board

    kbob/LED-Cube

    Blinky in 3D!

    91 parts51
  • 4 layers42 × 83.9 mmStratoSoar MK2.2, the printed circuit board in 3D

    StratoSoar MK2.2

    crnicholson/StratoSoar-MK2

    StratoSoar is an engineering project that aims to be able to fly a glider (dropped from a high-altitude balloon), down to any selected coordinates.

    116 parts24
  • 2 layers187 × 152 mmKiss masterboard, the printed circuit board in 3D

    Kiss masterboard

    squarewavedot/ledcubeelectronics

    LEDCube battery and masterboard electronics

    163 parts22
  • 2 layers49.3 × 19.7 mmFineMotion-5, the printed circuit board in 3D

    FineMotion-5

    Kamilake/FineMotion-Tracker

    ESP8266 Motion Capture Full-Body Tracker for SlimeVR

    43 parts16CERN-OHL-P-2.0
  • 2 layers146 × 100 mmLoliBot, the printed circuit board in 3D

    LoliBot

    CCHS-Melbourne/LoliBot

    Welcome to the 2018 linux.conf.au Open Hardware Project. You can see information about this and other MiniConfs at .

    42 parts13
  • 4 layers46 × 45.9 mmESP32-S3-MINI, the printed circuit board in 3D

    ESP32-S3-MINI

    vandychuob/ESP32-S3-Project

    65 parts12MIT

Questions

How big is the AI Motion Correction PCB?

It measures 75.3 × 84.3 mm and has 2 copper layers, 1.6 mm thick.

What parts does the AI Motion Correction use?

26 parts, built around the MPU-9250. 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 AI Motion Correction KiCad files?

From the HikmalRafi/VibeCoach-schematic repository on GitHub, at the commit this page was made from: the board is AI-Motion-Correction.kicad_pcb and its schematic AI-Motion-Correction.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the AI Motion Correction design in my own project?

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