The Open FFBoard is an open source force feedback interface with the goal of creating a platform for highly compatible simulation devices.
This firmware is optimized for the Open FFBoard. At the moment the software is far from finished. Features may not work completely or contain errors.
More documentation about this project is on the hackaday.io page.
The hardware designs are found under OpenFFBoard-hardware.
The GUI for configuration is found at OpenFFBoard-configurator.
Updates often require matching firmware and GUI versions!
The modular structure means you are free to implement your own main classes. Take a look into the FFBoardMain and ExampleMain class files in the UserExtensions folder. Helper functions for parsing CDC commands and accessing the flash are included.
The firmware is class based in a way that for example the whole main class can be changed at runtime and with it for example even the usb device and complete behavior of the firmware.
For FFB the motor drivers, button sources or encoders also have their own interfaces.
A simplified command parser is available and recommended for setting parameters at runtime. (see CmdParser.h
and CommandHandler.h
and the example main)
Callbacks like command parsers and timers or external interrupts are also based on virtual classes that can be implemented to add this functionality to any other module. Take a look at global_callbacks.cpp
for some of them.
This project is still in development. Recommended motors are not guaranteed to work but are well established in the simracing community.
Name | Picture | Capabilities | Estimated price | Where to buy |
---|---|---|---|---|
130ST-10010 Small Mige |
Rated Power: 1000W Rated Voltage: 220V Rated Speed: 1000rpm Rated Torque: 10Nm Peak Torque: 20Nm Torque coefficient: 2.2Nm/A |
Please contact Mige directly for a quote. The cost for shipping is significant. Taxes and fees have to be paid. |
Search for Mige on Alibaba. It is not recommended to buy 3rd party. |
|
130ST-15015 Big Mige |
Rated Power: 2300W Rated Voltage: 220V Rated Speed: 1500rpm Rated Torque: 15Nm Peak Torque: 30Nm Torque coefficient: 1.58Nm/A |
Please contact Mige directly for a quote. The cost for shipping is significant. Taxes and fees have to be paid. |
Search for Mige on Alibaba. It is not recommended to buy 3rd party. |
|
80ST-M04025 | Rated Power: 1000W Rated Voltage: 220V Rated Speed: 2500rpm Rated Torque: 4Nm Peak Torque: 12Nm Torque coefficient: 0.9Nm/A |
Please contact Mige directly for a quote. The cost for shipping is significant. Taxes and fees have to be paid. |
Search for Mige on Alibaba. It is not recommended to buy 3rd party. |
|
SEM HR115C6 | Rated Power: XXW Rated Voltage: 530V Rated Speed: 6000rpm Rated Torque: XNm Peak Torque: 6.8Nm Torque coefficient: XNm/A |
Used from e.g. Ebay | ||
34HS59-5004D Stepper |
Amps/Phse: 5A Voltage: 5V Holding Torque: 13Nm Step Angle: 1.8° |
stepperonline.com | ~120€ + Shipping (EU) |
How to contact Mige?
-Goto Mige on Alibaba: Alibaba.com/mige
-Login or create an account
-Click on "Contact supplier"
-Type in which servomotor you want, ask for its price including shipping for the motor, cables and the better 10k encoder (if you want the 10k encoder).
Lisa is very helpfull and will answer in no time.
Encoders that can be used with the current development. Some encoders can only be used as SinCos encoders.
Name | PPR/CPR | Estimated price | Where to buy |
---|---|---|---|
CUI AMT103 | Depends on version. Up to 2048ppr or 8192cpr |
Digikey.de | ~20€ + Shipping |
AMT132 | Depends on version. Up to 4096ppr or 16384cpr |
||
E6B2CWZ6C | |||
AMS5115 | |||
EQN1325 |
When will it be available?
No idea. Hopefully this year (not in large quantities yet.... So probably mid next year). Prototypes are ordered and have to be tested. First boards go to developers that want to help with the firmware
How much will it cost?
From my estimates of parts and manufacturing a full kit should be available under 150€ if no unforseen costs come up. No promises on that though. Might be less or slightly more to cover the costs.
How much current does the TMC driver provide?
Its designed for 20A (Most motors are fine with under 10A and plenty strong). With a 1mOhm shunt you can get it up to 30A+
I want it super cheap and don't need servos. Is that possible without the TMC?
Yes. For really simple setups a halfbridge DC motor driver and encoder can be connected directly to the FFBoard (STM Interface) instead of using the TMC driver. This way you can also use some third party motor drivers with PWM inputs.
How can i donate?
How can I help
There needs to be done a lot of testing and debugging. Therfore if you have c++ experience and/or have a motor (see recommended motors to test with join our discord.
Some parts of this software may contain source code by ST. The license applying to these files is found in the header of the file. For all other parts the LICENSE file applies.