Finally FFB again!

A project log for Open FFBoard

A modular and open source force feedback interface and motor driver for DIY wheels and controllers

Yannick (Gigawipf)Yannick (Gigawipf) 02/15/2020 at 13:564 Comments

The last days i spent preparing the firmware for a modular architecture, porting the old FFB code and improving it to a usable point.

Constants for the driver and some settings are stored in flash and loaded at boot so you only have to set parameters like motor type, main class, encoder parameters and button sources once.

Thrustmaster wheels with buttons are supported now as well as 8 local digital pins as button sources.

Most of the effects are implemented and set to reasonable values.
Its HID Physical Interface compatible so it works without drivers for any supported platform and game.

Here is a short race with the new boards on low/medium power for checking some parameters:

No comments on my driving or the mess of a table please^^

The motor used is a Nema34 with a 10k ppr encoder on the back with a supply of 19V (Notebook psu).

The large cap on the left is connected to the internal motor power rails to buffer the power without enabling the braking resistor too often. You don't need a cap this large but having more capacity is always a good idea here.

I am now waiting for a new version of pcbs to arrive with better hall/encoder filtering as with some very noisy motors the pwm can cause some issues. Apart from that i am pleased with how good it works and feels and with some tuning it should get even better.


vandea05 wrote 02/20/2020 at 10:26 point

Looking good mate. Really excited about this. Started pricing up a Granite / Midge setup and just can't justify that sort of money for a hobby!

  Are you sure? yes | no

Benjamin wrote 02/16/2020 at 20:58 point

I have this bookmarked and check every week or so. Really excited about the project. Thankyou for sharing it.

  Are you sure? yes | no

Edson wrote 02/16/2020 at 12:04 point

Hi, ive been seen your project for a long tima but never came in the comment section to say the brilliant job you have doing.

Im from brazil and here we have serious limitations when we talk about automation or motor controllers and things such this type.

My question is, if this board called "ODrive" Could be used for the same propurse or at least "similar" from your board.,searchweb201602_,searchweb201603_

  Are you sure? yes | no

Yannick (Gigawipf) wrote 02/16/2020 at 13:21 point

Odrive is similiar and a great 2 axis motor driver but optimized for fast and smaller 3 phase motors while the TMC board is more a general motor driver for a single larger 3 phase, 2 phase or dc motor.

It depends on what you need. For a FFB wheel i would use the TMC but if you want to build a multi axis device maybe odrive would a a good option too as its probably a bit cheaper and simpler per axis.
Maybe we can also get odrive support into the firmware too.

  Are you sure? yes | no