Configure VNM wheelbase - hoantv/CarSimulatorFirmware GitHub Wiki

A. Configuration for V1.13.1.1

1. Hardware config

Hardware Tab

1.1. PWM

  • Choose PWM mode which was required by your driver: H-brigde, PWM/DIR or 0.50.100
  • Choose PWM freq which is suitable with your driver

1.2. Encoder

  • Enter Encoder Pulse per revolution (PPR not CPR)
  • ignore "absolute encoder"- not yet implemented.
  • Zindex if encoder has zindex, check zindex
  • reverse Encoder if the Xaxis moves opposite to wheel's direction.

1.3. FFB Frequency

  • Based on you encoder resolution, low encoder resolution -> low ffb freq and vise versa (Try one by one to see the difference)

1.4. Other (Ignore)-not yet implemented.

1.5. Save data

  • Click apply
  • Click save

2. wheelbase configuration

Base Tab

2.1. Steering Angle

  • you can adjust steering angle by entering angle number or moving the slider.

  • Centering: turn the wheel at centering and click "centerize" (do later)

  • Calibrate: finding some parameter for ffb, it is importance (do later)

2.2. Force setting

  • Stop force: the force which prevent the wheel runs out of steering angle.
  • Min force: if there is any force and it is below min force, wheelbase will play min force.
  • Max force: if game ffb is greater than max force, wheelbase will play max force.

2.3. Advance filter

The filters were you to make ffb smoother. The lower value, the smoother ffb, the smaller ffb. Adjust values when you think it is good :).

  • Overall filter: apply filter for total force

  • damper: apply filter for damper effect

  • friction: apply filter for friction effect

  • inertia: apply filter for inertia effect

  • Q, gain (try adjust to recommend me the value).

2.4 Game Effect

  • FFB telemetry: instead of ffb via direct input. wheelbase use telemetry data to play ffb - not yet implement.

  • Reverse force: Some game it send reverse force to wheelbase. Instead of changing a config file, you can reverse it on GUI.

  • Overall: It is a gain of total force. the lower gain, the lower ffb.

Game effect

  • click to the arrow on game effect, it will display all gain for each effect. you can adjust the gains as you like. share them to other :).

2.5 Wheel animation

  • It display the angle and direction of the wheel. Turn off if you dont use (sometimes it make a lag on GUI)

2.6 User effect

  • If you want a desktop effect (play when no effect from game), you can enable them here.

2.7 Save

  • choose profile (there are 5 profiles)
  • Click apply
  • click save B. Calibration

1. Testing encoder

  • Move the wheel from max left -> max right => in debug tab, X value run from -100000 to 100000 => if not, wrong wiring with encoder.

  • Does the wheel direction as the same steering wheel, if not, exchange encoder A and B instead of reverse encoder.

2. Check FFB direction

  • Enable spring user effect -> apply.
  • Turn the wheel if there is a force prevent you move the wheel -> correct wiring with Hbride (with Pulse dir need to change PN191 with AASD) or you can use wheelcheck to test (spring, cycle)

3. Calibation

  • After step1, 2 are ok. click calibration. It will turn left -> turn righ -> turn to the center.

https://youtu.be/0oquFnVj1pY