Skip to content

ChrGri/DIY-Sim-Racing-FFB-Pedal

 
 

Repository files navigation

Arduino Build Doxygen Action CC BY-NC-SA 4.0

License selection

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

The reason for that license selection is that at some point in time, individuals have done the following without contributing anything to this project.

  • Taken the sources and binaries and sold them on the internet
  • Started mass production of FFB Pedals from these designs in their living rooms to make money, by taking parts from this project and Simucube's design files
  • The DIY FFB Pedal project is not affiliated with the video (https://www.youtube.com/watch?v=9ibAyHcSjO0) or its channel (https://www.youtube.com/@xiaoximu). We do not provide support or after-sales service for the content of this video or the associated website.

All that, without contributing anything to this project.

DIY Sim Racing FFB Pedal

If you're used to standard spring or damper-based pedals with rumble motors attached, a force-feedback pedal is the next step. It uses a high power servo attached to a linear rail to control the motion of the pedal. This allows you to change how the pedal feels with a few changes on your PC, whether that's braking pressure, response or travel or the thottle weight or stiffness. You can even use profiles to build different "feels" for different cars, switching profiles between cars to give each vehicle a different driving experience. Additionally, since the pedal movement is controlled, the feedback it can produce is totally different - imaging feeling ABS feedback moving the pedal, the kick of the gear change through the throttle or feedback from road bumps through the pedals. It's an experience like no other! If that sounds like something you want to build for yourself, then read on! This project documents people who want to design and/or build their own force-feedback pedal.

Tip

Disclaimer This repository documents my research progress. I wanted to understand the necessary signal processing and control theory algorithms behind such a device.

Warning

The FFB pedal is a robot and can be dangerous. Please watch The Terminator before continuing. If not interacted with care, it may cause harm. I'm not responsible for any harm caused by this design suggestion. Use responsibly and at your own risk.

Project repositories

This project has been divided into multiple repositories, each with differt purposes. The mechanical design repository provides the information you need to build the mechanics of ChrGri's pedal. It's not the only design, but it's strong and reliable. There are more options on the Wiki, and you can find even more designs on the Discord server. The Software repo (this repo) discusses how to select, order and connect the electronics, flash the firmware and get the pedal up and running. The final repo, contains designs for the recommended circuit boards that control the pedal.

Description Link
ChrGri's mechanical and electrical design https://github.com/ChrGri/DIY-Sim-Racing-FFB-Pedal-Mechanical-Design
Software (firmware, SimHub plugin, ...) https://github.com/ChrGri/DIY-Sim-Racing-FFB-Pedal
Control Board and Power Board design https://github.com/gilphilbert/DIY-Sim-Racing-FFB-Pedal-PCBs

Features

  • SimHub integration
  • Integration into a number of different simulators
  • Tune pedal parameters
  • Connect over USB or wireless
  • Supports Analog output for integration into additional devices
  • Multiple feedback types (more details in the Wiki)
    • ABS (AntiLock Braking System)
    • Traction Control
    • RPM vibration
    • Road rumble
  • Powerful servo that can generate torque for heavy braking exceeding 100KGs when paired with a suitable linear rail

See the pedals in action

IMAGE ALT TEXT HERE

More pedal action examples can be found on the Wiki and the Discord server

Contributions

A lot of awesome devs have helped this project grow. Just to name a few:

  • tjfenwick started the project with an initial implementation
  • tcfshcrw helped to elevate the SimHub plugin to its current form, added a ton of new pedal effects, provides support on Discord, is a great guy and much more!
  • MichaelJFr helped by refactoring the code at the beginning of this project. Fruitful discussions let to the implementation of the control-loop strategies
  • Ibakha Our Discord channel CEO
  • gilphilbert developed custom PCB assemblies, refactored the Wiki and created the Web Flash tool

How to get started

Read the Wiki

Detailed descriptions of all aspects of the build can be found on the dedicated Wiki page, which includes instructions on how to select parts, build the pedals and integrate them into your games

Join the Discord server

Our Discord server has thousands of users just like you and contains additional designs, insight and provides a place to find answers to all of your questions.

Architecture

A Doxygen report of the sources can be found here.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 48.6%
  • C++ 17.9%
  • HTML 15.5%
  • C# 14.1%
  • Jupyter Notebook 1.7%
  • JavaScript 0.8%
  • Other 1.4%