Complete the software - ChrGri/DIY-Sim-Racing-FFB-Pedal GitHub Wiki
Install the Simhub plugin
To install the plugin, simply copy the plugin DLL from the release (same as pedal firmware!) to your Simhub installation path, e.g. C:/programms (x86)/SimHub.
Restart Simhub afterwards to make it detect the plugin. If not shown automatically, go to Simhub settings and activate the "DIY FFB pedal" plugin.
Disable Arduino plugin port scanning
When using SimHub with these control boards, the Arduino plugin may interfere with automatic connection to the pedals or bridge. To ensure stable communication, it's recommended to prevent the plugin from scanning all COM ports:
- Open Simhub
- Select Arduino on the left had side
- Select "My Hardware"
- Select "Scan only selected ports"
- Unselect every port, except the ones you use are using Arduinos controlled by Simhub.
Identify COM port of pedal
- Open device manager
- Check which COM port appears when pedal is connected to PC. For V5 PCB and V2 PCBA, this typically is named "USB-Enhanced-SERIAL (CH343)"
Check if iSV57 was detected
- Open the Simhub plugin
- Connect to the COM port of your pedal
- Open "Pedal Log Monitor"
- Check the serial log on the right hand side. It should say that "iSV57 found: 1" during pedal boot. Otherwise check the servo wiring.
Check loadcell polarity
Once the pedal succesfully homed, it should be able to move under pressure. Slightly press on the pedal faceplate to verify. If it's not reacting, slightly pull on the pedal faceplate. If its moving now, go to the Simhub plugin, enable "reverse LC reading" and restart the pedal.
Parameterize pedal kinematic
The ESP reads the loadcell value and converts it to the force applied at the pedal faceplate. In order to do so, the ESP needs the geometry of the pedal. Please go to the Simhub plugin, open the "PEDAL KINEMTAIC" tab and adjust the values according to your pedal.
The distances in the plugin translate as follows to the following scematic:
OA: $c_{hor}$ OC: $b$ CD: $d$ CB: $a$ AB: $c_{ver}$
Spindle pitch
Open the Simhub plugin and set the spindle pitch. Values are given in mm.
Hint: SFU1605 has 5mm pitch. SFU1610 has 10mm pitch.
Loadcell rating
Open the Simhub plugin and the loadcell rating.
The ESP assumes 2mV/V input/output gain. You can calibrate the loadcell as shown here.
Tune pedal response
-
Select the control strategy. Recommended is MPC control strategy
-
When you move the MPC slider to the right, the pedal response will by slower. To the left and the pedal will feel more responsive
-
Tune the filter settings. Recommended settings, see below
Windows USB energy settings
Disable USB Selective Suspend in Power Options
- Open Power Options:
- Right-click the Start button and select Power Options.
- Alternatively, go to Settings > System > Power & sleep and click on Additional power settings.
- Change Plan Settings:
- Click Change plan settings next to your active power plan.
- Click Change advanced power settings.
- Modify USB Selective Suspend Settings:
- In the Advanced settings window, expand USB settings > USB selective suspend setting.
- Set both On battery and Plugged in to Disabled.
- Click Apply and then OK.
Prevent Power Management for Specific USB Devices
- Open Device Manager:
- Press Win + X and select Device Manager.
- Locate the USB Device:
- Expand Universal Serial Bus controllers or the category of the specific device (e.g., Human Interface Devices for keyboards/mice).
- Change Power Management Settings:
- Right-click the device, select Properties.
- Go to the Power Management tab.
- Uncheck Allow the computer to turn off this device to save power.
- Click OK.
- Repeat this for each USB device you want to prevent from entering power-saving mode.