Skip to content

About

No description, website, or topics provided.

Resources

Stars

12 stars

Watchers

1 watching

Forks

Repository files navigation

DIY Sim Racing FFB Belt Tensioner Banner

DIY Sim Racing Active FFB Belt Tensioner

CC BY-NC-SA 4.0 PlatformIO SimHub Compatible Support on Ko-fi Buy Me a Coffee

This repository contains the firmware and hardware integration documentation for an active Force Feedback (FFB) Seatbelt Tensioner for sim racing rigs.

It is designed to reuse the electronics, controller boards, and mechanical components from the DIY Sim Racing FFB Pedal project while being 100% plug & play compatible with the official SimHub Belt Tensioner Motion Plugin.


🎬 Demonstration in Action

DIY Sim Racing Active FFB Belt Tensioner in Action

πŸ“Ί Watch on YouTube: DIY Active FFB Sim Racing Belt Tensioner Showcase


πŸš€ Key Highlights

  • Dual Channel Mechanical Design: Complete CAD model and printable parts for a two-actuator build (one per shoulder belt) on a single 2040 spine, with power supply and servos in a 3D printed housing. See Mechanical Design.
  • Reuse Existing DIY FFB Pedal Hardware: Runs on all ESP32-S3 ControlBoards of the DIY FFB Pedal project (V4, V5, V6, V7, V8, PCBA V1.x and PCBA V2.x) and drives the same Stepperonline iSV57 integrated servo motors. See Supported Controller Boards.
  • 100% SimHub Motion Plugin Compatible: Communicates via the standard binary SimHub Belt Tensioner protocol (v2.0) at 250,000 baud with no custom SimHub forks required.
  • Sensorless Homing via Modbus Telemetry: Automatic, physical zero-point calibration using real-time Modbus current feedback from the iSV57 servo without needing fragile external microswitches or optical sensors.
  • Dynamic Speed & Acceleration Scaling: Built-in hardware multipliers scale SimHub's UI slider limits (36,000 Hz / 100,000 steps/sΒ²) to the full servo potential (180,000 Hz pulse frequency and 600,000 steps/sΒ² acceleration) for instantaneous, snappy braking belt pull.
  • Inactivity Watchdog & Auto-Park: Automatically eases the harness to a relaxed park position and unpowers the coils after 5 seconds of inactivity.
  • Visual RGB Status Feedback: Real-time system feedback via the on-board WS2812 RGB LED (Standby, Homing, Active Driving, Idle Parking, and Error states). See RGB Status LED Guide.
  • Dual-Core FreeRTOS Architecture:
    • Core 0: Cyclic Modbus RS485/RS232 telemetry, voltage monitoring, and continuous stall detection.
    • Core 1: SimHub binary serial stream decoding and hardware pulse generation using FastAccelStepper.

πŸ› οΈ Reusing DIY FFB Pedal Hardware

If you have already built or gathered parts for the DIY Sim Racing FFB Pedal, you can directly build this belt tensioner using the same ecosystem:

Component DIY FFB Pedal Equivalent Role in Belt Tensioner
Controller PCB Any ESP32-S3 ControlBoard (see Supported Controller Boards) Microcontroller running the motion generator & SimHub protocol.
Actuator Stepperonline iSV57T-180 / iSV57-130 integrated servo High-torque closed-loop servo driving the linear belt puller.
Linear Rail 100mm / 150mm linear rail with ball/lead screw (e.g. 10mm pitch) Converts rotary torque into fast linear harness pull.
Power Supply 36V / 48V DC Power Supply (MeanWell or similar) Powers the iSV57 integrated servo and controller.
RS232 / Modbus Onboard RS232 transceiver on ControlBoard Reads live current and encoder telemetry from the servo.

πŸ”Œ Supported Controller Boards

Pre-compiled firmware is released for every ESP32-S3 ControlBoard of the DIY FFB Pedal project. Pick the release archive (DIY-Sim-Racing-FFB-BeltTensioner_<environment>.zip) or PlatformIO environment matching your board:

ControlBoard Microcontroller PlatformIO Environment SimHub Connection
ControlBoard_V4 ESP32-S3 DevKit ControlBoard_V4 UART USB port (CP2102)
ControlBoard_V5 ESP32-S3 DevKit ControlBoard_V5_without_espnow UART USB port (CP2102)
ControlBoard_V6 ESP32-S3 DevKit ControlBoard_V6 UART USB port (CP2102)
ControlBoard_V7 ESP32-S3 Zero ControlBoard_V7 Native USB
ControlBoard_V8 ESP32-S3 Zero ControlBoard_V8 Native USB
ControlBoard PCBA V1.x ESP32-S3 (pre-assembled PCBA) ControlBoard_PCBA_V1X Native USB
ControlBoard PCBA V2.x LOLIN S3 Mini (pre-assembled PCBA) ControlBoard_PCBA_V2X_without_espnow Native USB
Generic ESP32 DevKit v1 Classic ESP32 esp32_devkit UART USB port

Pinouts for every board are listed in the Developer & Hardware Guide.


πŸ—οΈ Mechanical Design (Dual Channel)

Dual channel FFB belt tensioner CAD render

The reference mechanical design is a dual channel belt tensioner with one active actuator per shoulder belt:

  • Two JKK60 linear modules with iSV57T-130S servos, mirrored left and right on a vertical 2040 spine that mounts to the rig behind the seat.
  • Belt rollers on a 2020 crossbar guide both belts over the shoulders down to the carriages.
  • MeanWell LRS-350 power supply between the rails.
  • 3D printed four-part housing with hexagonal vents, belt slots and screwed joints, designed for a 256 mm print bed.

Each actuator is driven by its own ControlBoard and set up in SimHub as a Dual belt tensioner (see SimHub Motion Setup Guide).

Resource Content
πŸ“ Mechanical Design Guide Layout, housing concept, printed and purchased parts, and assembly order
πŸ”§ Build Instructions Step-by-step assembly with a CAD picture for every step
πŸ–¨οΈ Printable parts (cad/stl/) All printed parts as 3MF; the required quantity is part of the file name
🧩 CAD assembly (cad/) Complete assembly plus source models (Fusion 360, STEP, IGES)

πŸ“¦ Bill of Materials (BOM)

All components are derived from the DIY Sim Racing FFB Pedal Ecosystem.

Note

Simpler than a pedal! Unlike an active FFB pedal, the belt tensioner does not need a load cell or an ADS1220 ADC amplifier. Physical homing, travel limits, and stall protection are handled sensorlessly through real-time Modbus current and encoder telemetry.

A complete, categorized bill of materials with direct part links, 3D print STLs, and hardware fastener specifications is available here:

πŸ‘‰ Complete Bill of Materials (BOM) & Sourcing Guide

  • ⚑ Electronics: Any supported ESP32-S3 ControlBoard (V4–V7 or PCBA V1.x / V2.x), iSV57 integrated servo, 36V/48V PSU, wiring & connectors. Self-soldered boards additionally need the SP2323 / SP3232 RS232 transceiver and SR5100 diode (already populated on the PCBAs).
  • πŸ”© Mechanics: KK60 ballscrew linear rail, 8mm to 8mm coupler, 3060 adapter plate, lower load cell arm adapter (8mmLowerAdapter_v3), 3060 aluminum profile (400 mm).
  • πŸŽ—οΈ Harness & Straps: 20 cm heavy-duty soft tie-down loops & racing harness connection.
  • πŸ”§ Fasteners: M4Γ—16, M5Γ—20, M5Γ—25 cylinder head screws, M8Γ—45 threaded rod, and 3030 M5 spring ball nuts.

⚑ Quick Setup Guide

Getting your active FFB Belt Tensioner up and running takes four steps:

1️⃣ Build the Mechanics

Print the parts and assemble the dual channel frame, actuators and housing: πŸ‘‰ Mechanical Design Guide (Dual Channel)

2️⃣ Assemble & Wire the PCB

Use any supported ESP32-S3 ControlBoard. Self-soldered boards need the SR5100 diode, XT30 connector, SP2323 / SP3232 RS232 transceiver and ESP32-S3 module; the pre-assembled PCBAs only need the iSV57 servo wired up: πŸ‘‰ PCB Soldering & Assembly Guide

3️⃣ Flash, Configure & Test with the SimHub Plugin

Install the Belt Tensioner SimHub plugin (one DLL from the latest release). It does everything in one place: flash the firmware and the servo, set pitch & working range (with automatic range detection), test the actuator and create the SimHub Motion preset.

Belt Tensioner SimHub plugin

πŸ‘‰ SimHub Plugin Guide Β· without the plugin: Firmware Flashing Guide (FFB Pedal Dashboard flasher + serial commands)

4️⃣ Configure the SimHub Motion Plugin

Import the preset created by the plugin (or one of the pre-configured presets) into SimHub Motion: πŸ‘‰ SimHub Motion Plugin Setup Guide


πŸ“š Documentation & Technical References

Document Topic & Content
πŸ“¦ Bill of Materials (BOM) Complete parts list, electronics, mechanics, 3D printable adapters, fasteners, and sourcing links.
πŸ“ Mechanical Design Guide (Dual Channel) Dual channel layout, 3D printed housing, printable 3MF parts, purchased parts, and assembly order.
πŸ”§ Build Instructions (Dual Channel) Step-by-step assembly with CAD pictures.
πŸ› οΈ PCB Soldering & Assembly Guide Step-by-step soldering tutorial for ControlBoard_V7 / V6, servo interface wiring, and tensioner simplifications.
πŸ’Ύ Firmware Flashing Guide Step-by-step guide to flashing pre-compiled releases using the SimHub FFB Pedal Dashboard USB Flasher.
🧩 Belt Tensioner SimHub Plugin Recommended setup tool: flash firmware and servo, configure single / dual channel belts, test the actuator and create SimHub Motion presets.
πŸ“– SimHub Motion Setup Guide Step-by-step installation guide with screenshots, axis calibration, and importable .shmotionoutput profiles.
πŸ› οΈ Developer & Hardware Guide Hardware pinouts, board wiring, src/Config.h parameters, and compiling from source with PlatformIO.
⚑ Protocol & Command Specification Complete specification of binary SimHub packets (CMD 1–15), serial ASCII commands (FLASH_SERVO, HOME, STATUS, CONFIG, SET_PITCH, SET_RANGE), and diagnostic responses.
πŸ—οΈ Architecture & Execution Reference Firmware state machine, sensorless homing workflow, dual-core task design, and step-loss encoder recovery.
πŸ’‘ RGB Status LED Guide On-board WS2812 RGB LED color states (Standby, Homing, Active Driving, Parking, Error), pinouts, and brightness tuning.

⚠️ Disclaimer & Safety

Warning

Active force feedback seatbelt tensioners and servos produce high mechanical forces and rapid motions.

  • Keep hands, loose clothing, and cables clear of linear rails, pulleys, and belt loops during operation.
  • Ensure your rig structure is rigid and securely mounted.
  • Always include a readily accessible emergency power cut-off / kill switch for high-voltage power supplies.
  • Use this project responsibly and at your own risk.

πŸ’– Supporting the Project

If this project helps bring your sim racing rig to life, consider supporting further open-source development:

Support on Ko-fi Buy Me a Coffee


🌟 Star History

Star History Chart

πŸ“„ License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0).

CC BY-NC-SA 4.0

About

No description, website, or topics provided.

Resources

Stars

12 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages