Motor Calibration

Because of assembly methods and other reasons, your motor may still need a calibration direction. Otherwise, when the car moves forward, it may turn left, turn right, or even go backwards. Please follow the following steps to complete the calibration.

How to do?

  1. Select Correct Interpreter. Plug the Pico into your computer with a micro USB cable and select the “MicroPython (Raspberry Pi Pico).COMXX” interpreter in the bottom right corner.

    ../_images/sec_inter.png
  2. Go to the pico_4wd_car/examples path and double click on move_forward.py to open it. This is a very simple example, which will let the car go forward.

    ../_images/move_forward.png
  3. Observe whether the wheels of the car are driving forward and marked the wrong motor.

  4. Open the pico_4wd.py file that was uploaded to the pico before, modify the wrong motor’s dir to reverse the value and save it.

    ../_images/rdp_dir.png
  5. Run again move_forward.py, if the car is driving correctly, the calibration is completed.