Releases: ranenbg/Arduino-FFB-wheel
Magnetic encoder and button mapping fixes
Changes from the previous release:
- added support for magnetic encoder AS5600 over i2C bus (available only in HEX with option "w')
- added wiring diagram for AS5600 in the wirings folder
- added motor (PWM) enable pin feature (see pinouts and BTS7960 wirings for more details)
- updated BTS7960 wiring
- fixed button mappings between Arduino digital pins (hat switch pins are now always available with any firmware option)
- with GUI v2.6.1 you can see which buttons are available
- updated firmware info and RS232 serial command documentation
- various small fixes and improvements under the hood
HEX files from each firmware version are now organized in their respective folders, which should make life easier when navigating to the desired HEX.
H-shifter advanced config and analog FFB axis selector
Changes from the previous release:
- added advanced H-shifter configuration (you can now invert X, Y axis as well as a button for reverse gear - Logitech shifters support)
- added an option to select which axis is tied to the FFB effects (corresponding to internal, user, and game effects)
- usage of the latest wheel control v2.6.0 is required for utilizing new features
- fixed analog input averaging functionality, HEX with an option "i" is now available
- pedal calibration max ranges are now variable depending on firmware options (available values are 1023, 2047 and 4095)
- make sure to update your pedal calibration values after uploading the new HEX using the wheel control GUI (for firmware with manual pedal calibration option, no "a" in HEX)
- updated RS232 serial documentation with new commands
Note the slight name change for folders containing firmware HEX files. The leonardo folder contains firmware for Leonardo and Micro boards, while promicro folder contains HEX for proMicro board only.
Additional features for v22X including extra buttons
This is an update of Firmware v22X with changes from the previous release:
- added a few more compiled HEX with various firmware options
- restructured firmware code in order to add a new firmware option "e" (two extra buttons for Arduino ProMicro, note that clutch and handbrake are unavailable)
- updated firmware info and other docs
Please note a slight restructuring of the folder hierarchy, HEX firmware, wirings and other docs are located inside their respective folders inside BRwheel_my folder.
X-axis range 0-65k and z-index reset feature
New Firmware v22X with changes from the previous release:
- changed X-axis calibration in HID from +-32k to 0-65k, with center at 32768 (fix for some games like Desert Dakar Rally)
- added encoder Z-index reset feature (easy setup of Z-index offset)
- code optimizations that allowed freeing some Arduino flash memory (enabled more space for program features)
- updated firmware info and other docs
Please note a slight restructuring of the folder hierarchy, HEX firmware, wirings and other docs are located inside their respective folders inside BRwheel_my folder.
RCM mode and pwm optimizations
New Firmware v21X with changes from the previous release:
- added RCM pwm mode
- restructured and re-optimized the part of the code which is handling pwm signals
- extended the range of available pwm frequencies
- added RS232 commands to support the configuration of rcm mode
- updated firmware info and other docs
Please note a slight restructuring of the folder hierarchy, HEX firmware, wirings and other docs are located inside their respective folders inside BRwheel_my folder.
Manual pedal calibration, pwm0.50.100, fw re-center
New Firmware v20X with changes from the previous release:
- added manual pedal axis calibration feature
- added pwm0.50.100 feature
- added RS232 commands to support the configuration of new features
- added hardware wheel re-center button function
- updated firmware info and other docs
Please note a slight restructuring of the folder hierarchy, HEX firmware, wirings and other docs are located inside their respective folders inside BRwheel_my folder.
XY shifter, CPR max 100k, angle as metric
New Firmware v19X with changes from the previous release:
- added support for XY analog shifter with up to 8 gears + reverse (fw-v190azf and fw-v190af)
- compiled a HEX with support for XY shifter + load cell (fw-v192af and fw-v192azf)
- increased resolution of wheel angle relevant variables from 16bit to 32bit
- increased allowed CPR values (currently limited to 100k)
- increased fidelity of conditional effects like spring, damper, inertia and friction due to CPR increase
- changed metric for conditional effects to wheel angle (before was raw encoder position)
- conditional effects are equally strong for every setting of rotation degrees
Please note a slight restructuring of the folder hierarchy, HEX firmware, wirings and other docs are located inside their respective folders inside BRwheel_my folder.
Shift register fix, button matrix fix, periodic effects fix, 2 FFB axis
New Firmware v18x with changes from the previous release:
- shift register interface optimizations and improvements of the button box firmware
- added 4x4 button matrix (only available in the firmware v180 or v180m with "t" option)
- fixed timing of periodic effects, start delay, and duration
- 8 individual buttons (activated by shorting the corresponding pin to gnd)
- new HX711 library
- added 2nd FFB axis in HID (fix for LFS and fedit, but no 2nd PWM ffb output yet)
- increased resolution of effect direction in HID descriptor to 16bit
- implemented direction enable (available only for constant force effect currently)
- optimized the FFB protocol debugging via UART
- reduced the stiffness or coefficient for the spring effect (does not affect the centering spring)
Firmware Handbrake+HatSwitch
This is a new version of firmware v170, v171, v172, and v173. The options are now contained in the firmware version and are visible in the new wheel control v2.0 (it is required for this firmware). This firmware is not compatible with older wheel control versions. The new feature of this firmware is an addition of Hat Switch in the HID, which you can use with the firmware version that has "h" option. Other small improvements and bug fixes regarding encoder z-index functionality are implemented as well.
Firmware option description:
a - automatic calibration for pedal axis
z - encoder Z-index support
h - enabled Hat Switch
v173 has analog FFB output with two 12bit external i2C DAC - MCP4725 (recommended for DD wheels)
Leonardo MCP4725_L MCP4725_R
5V VCC VCC
gnd GND GND
2 SDA SDA
3 SCL SCL
DAC ffb_force i2C_address address_pin
0 left 0x60 GND
1 right 0x61 VCC
Recommended is DAC+- mode and the usage of a differential amplifier in order to buffer and amplify the outputs up to the required input level of AASD (ac servo drive motor controller).
Firmware Handbrake
Latest versions of HEX files v160, v161, v162 and v163 for Arduino Leonardo include handbrake support. There are different variants available, please read ver_info.txt to help you choose the firmware with desired options. Please note that for this firmware you must use wheel control v1.9 or newer because it is not compatible with previous wheel control versions.