Open a serial monitor on the com port of the board (icon # at the top in Node Blue), You can see the calibration messages in the serial monitor (window at the bottom in Node Blue).
Click on the "Cal" entry of the "LogitechShifter" module. The message "Calibration started" appears.
Put the shifter on neutral and click on "Cal" again.
Engage 1st gear and click on "Cal" again.
Engage 6th gear and click on "Cal" again.
When done, the message "Calibration finished" is displayed.
The settings are saved in the non-volatile memory of the board and are restored on each restart.
You can redo a calibration multiple times, by just repeating these operations.
You can also clear the calibration data, go to the "Settings" menu of Node Blue, check "Clear Storage" and upload your project twice in a row.
If necessary, the detection thresholds can be modified :
- double click on the "LogitechShiter" module and modify the parameters.
- "H Thres. L": decrease if the 1st gear is detected instead of the 3rd (or the 2nd instead of the 4th), increase if the 1st or the 2nd is not always detected.
- "H Thres. R": decrease if the 5th gear is detected instead of the 3rd (or the 6th instead of the 4th), increase if the 5th or the 6th is not always detected.
- V Thres. : increase if the neutral is not always detected.
- Seq. Thres. (G25 only): increase if the action is not always detected, decrease if it is too sensitive.
If you have arduino boards connected and detected by NodeBlue, unplug them, then plug in the adapter, select the com port that appeared at the top left of Node Blue window.
Click on "Upload", perform a new calibration, and repeat the process until all gears are detected correctly.