This is open source force feedback wheel base on Arduino 1.8.10, future for teensy 4.0 600MHz :O!!!!!!
The code use some libraries and files from other projects like:
https://github.com/MartinBloedorn/libFilter
It has not tested yet.
Usage:
bool initialRun = true; => run 1st time for calculate maxPositionChange, maxVelocity, maxAcceleration. after that you can set to false and assign directly to these variables (uncomment codes)
Wheel.encoder.maxPositionChange = 1151;
Wheel.encoder.maxVelocity = 72;
Wheel.encoder.maxAcceleration = 33;
PS: stm32 version is in development phase: