Skip to content

About

No description, website, or topics provided.

Resources

Stars

644 stars

Watchers

38 watching

Forks

Β 
Β 

Latest commit

Β 

History

2,407 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

DIY Sim Racing FFB Pedal Banner

DIY Sim Racing Force Feedback (FFB) Pedal

Arduino Build Doxygen Action Discord Community CC BY-NC-SA 4.0 Support the Team


πŸ“œ License

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

CC BY-NC-SA 4.0

Non-Commercial Policy

This license was specifically chosen because commercial entities and individuals have previously:

  • Taken open-source binaries and sources to resell them for commercial gain without attribution or contribution.
  • Mass-produced pedals based on these designs and proprietary files without contributing back to the community.
  • Produced unofficial video guides or storefronts with which we have no affiliation (e.g., the DIY FFB Pedal project is not affiliated with this video or channel, and we cannot provide support for third-party commercial kits).

Please respect the open-source spirit: Build it, learn from it, improve it, and share your modifications with the community under the same open-source terms.


Overview β€’ Hardware at a Glance β€’ Features β€’ Video Demo β€’ Ecosystem β€’ Getting Started β€’ Support the Team β€’ Disclaimer & Safety


πŸ“– Overview

If you are used to standard spring- or elastomer-based pedals with small rumble motors, a force feedback (FFB) pedal is a game changer.

Instead of static mechanical resistance, an FFB pedal uses an industrial-grade high-power servo motor connected to a precision linear rail/ball screw mechanism. This empowers you to define and alter how the pedal behaves purely through software:

  • Full software adjustability: Modify braking force, travel distance, preload, and force curves in seconds without swapping rubbers, springs, or elastomers.
  • Per-car profiles: Switch between a modern GT3 with heavy, short-travel hydraulic brake feel, a classic formula car, or a road car clutch with a realistic physical bite point.
  • Dynamic telemetry effects: Feel true telemetry-driven sensations through your feetβ€”ABS pulses, traction control kick, engine RPM rumble, wheel slip, and road surface bumps.

DIY Pedal Assembly

Tip

Research & Community Project: This repository documents ongoing research into control theory, motor control algorithms, and signal processing for DIY sim racing hardware.

πŸ› οΈ Hardware at a Glance

Component Recommendation Purpose / Notes
Microcontroller (MCU) ESP32-S3 (V7) Runs 4 kHz control loop, telemetry decoding, and servo communication.
Integrated Servo Motor Stepperonline iSV57-130 High-torque closed-loop servo delivering dynamic pedal resistance & telemetry pulses.
Linear Rail & Ball Screw JKK60 / KK60 rail (100–150 mm travel, 5–10 mm pitch) Converts rotary torque into smooth, heavy-duty linear pedal travel.
Load Cell & ADC DYLY-107 (100–200 kg) + ADS1220 24-bit ADC Precision force measurement for realistic hydraulic brake pressure curves.
Controller & Power PCBs ControlBoard V6 / V7 + Power Distribution Board Clean wiring with RC filtering, diode protection, and RS232 telemetry transceiver.
Power Supply (PSU) 36V (e.g., MeanWell LRS / RSP series) High-current DC power for single or multi-pedal configurations.
Estimated Build Cost ~€250 – €400 per pedal High-end commercial FFB performance at a fraction of the cost.

⚑ Key Features

  • True Force Feedback: Servo-driven linear motion delivering realistic pedal feel with customizable resistance curves.
  • High Force Capacity: Capable of exceeding 100 kg of braking pressure when paired with recommended servo motors (e.g., Stepperonline iSV57) and ballscrew linear rails.
  • Rich Telemetry Effects:
    • ABS (Anti-lock Braking System) vibration and pulses
    • Traction Control (TC) kick & wheel slip effects
    • Engine RPM and rev-limiter rumble
    • Road surface texture and curbs
    • Simulated clutch bite point with tactile snap-through
  • Flight Sim & Rudder Mode (✈️ / 🚁): Two pedals can be linked wirelessly via ESP-NOW to act as synchronized flight rudder pedals with authentic dynamics for airplanes ✈️ (self-centering, speed-dependent aerodynamic stiffness) and helicopters 🚁 (force trim release, friction hold). Read more in the Rudder Modes & Flight Dynamics Guide.
  • SimHub Integration: Deep integration with SimHub for telemetry effect configuration, live telemetry tuning, and profile switching.
  • Versatile Connectivity: Supports USB serial communication, wireless ESP-NOW pedal-to-pedal linking, and analog output for external compatibility.
  • Cross-Simulator Support: Works seamlessly across major racing simulators (iRacing, Assetto Corsa, ACC, rFactor 2, Automobilista 2, BeamNG, and more) as well as flight simulators (MSFS 2020/2024, X-Plane, DCS World).

🎬 See the Pedals in Action

DIY FFB Pedal in Action

πŸ“Ί Watch on YouTube: DIY FFB Sim Racing Pedal in Action


🌐 Project Ecosystem & Repositories

The DIY FFB ecosystem consists of modular repositories covering mechanical design, electronics, software, and companion hardware:

Repository Description Link
Software & Firmware (This Repo) Microcontroller firmware (ESP32), SimHub integration, control loop code, and effect algorithms. DIY-Sim-Racing-FFB-Pedal
Mechanical Design 3D models, CAD files, laser-cut templates, and assembly instructions for the pedal mechanics. DIY-Sim-Racing-FFB-Pedal-Mechanical-Design
Control & Power PCBs Custom PCB designs (ControlBoard V6 / V7 and Power Distribution) for clean, reliable wiring. DIY-Sim-Racing-FFB-Pedal-PCBs
FFB Belt Tensioner Force feedback seatbelt tensioner firmware & guide β€” reuses the exact same PCB and servo motor ecosystem! DIY-Sim-Racing-FFB-BeltTensioner

πŸ”§ Why DIY?

This is a DIY project, and that is the point. Building the pedal yourself, printing the parts, wiring it up, and tuning it is half the fun and the best way to understand how it works. Buying a finished aluminium kit and bolting it together isn't really DIY anymore, it's LEGO.

Tip

Don't be fooled by claims that only aluminium can handle the forces. With a design that accounts for the weaknesses of FDM prints (load cell joint at faceplate height, wide pedal arm, reinforced weak points), the 3D-printed pedal (PETG-CF) has easily held up to 200 kg of brake force so far, and the printed design has been in daily use since 07/2024 without signs of wear.

πŸ“ Static stress analysis of the pedal arm (support forces, bending moment, FEA stress plots and safety factors, adjustable to your own peak load):
Pedal Arm Strength Analysis


πŸš€ How to Get Started

  1. Read the Wiki:
    Head over to the DIY FFB Pedal Wiki. It contains step-by-step guides on component selection (servos, rails, load cells, power supplies), mechanical assembly, wiring diagrams, and software flashing.
  2. Review the Source Architecture:
    Explore the deep architecture documentation on Deepwiki.
  3. Join the Discord Community:
    Join our Discord Server with thousands of builders. You'll find community designs, troubleshooting help, 3D printing mods, and shared pedal profiles.

β˜• Support the Team

We ❀️ doing research. New hardware (e.g. oscilloscopes, logic analyzers, servos, PCBs, load cells) is very expensive. Feel free to support us and thus accelerate our research activity:

Dev captainchris tcfshcrw gilphilbert
Buy me a coffee Buy Me A Coffee Buy Me A Coffee Buy Me A Coffee
Ko-fi ko-fi ko-fi ko-fi

Your support directly helps fund prototype components, PCBs, test equipment, and future companion sim racing hardware!


🀝 Contributions & Credits

This project thrives thanks to an incredible open-source community:

  • tjfenwick – Started the project with the initial proof of concept and implementation.
  • captainchris – Maintained and advanced the project, focusing on control algorithms, signal processing, and system architecture.
  • tcfshcrw – Elevated the SimHub plugin to its modern form, engineered pedal effects, and provides dedicated Discord support.
  • MichaelJFr – Refactored the core codebase in the early stages and co-developed control-loop strategies.
  • Ibakha – Discord community lead and community coordination.
  • gilphilbert – Designed custom PCB assemblies, overhauled the Wiki, and developed the Web Flasher tool.
  • soyd – Continued development and evolution of custom PCB hardware.

πŸ“ˆ Star History

Star History Chart


⚠️ Disclaimer & Safety

Warning

The FFB pedal is a robot and can be dangerous. Please watch The Terminator before continuing!

Force feedback pedals and servo actuators produce high mechanical forces and rapid motions. If not interacted with care, it may cause harm:

  • Mechanical pinch points: Keep hands, loose clothing, and cables clear of linear rails, pedal arms, and moving parts during operation.
  • Mounting & rigidity: Ensure your rig structure and pedal base are rigid and securely mounted to safely absorb high braking loads (100+ kg).
  • Emergency shutoff: Always include a readily accessible emergency power cut-off / kill switch for high-voltage power supplies.
  • Liability: I'm not responsible for any harm or damage caused by this design suggestion. Use responsibly and entirely at your own risk.

About

No description, website, or topics provided.

Resources

Stars

644 stars

Watchers

38 watching

Forks

Releases

Packages

Contributors

Languages