-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
SunFounder
committed
Sep 21, 2022
1 parent
188a1a6
commit 4745795
Showing
4 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
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?** | ||
|
||
#. 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. | ||
|
||
.. image:: img/sec_inter.png | ||
|
||
|
||
#. Go to the ``pico_4wd_car/examples`` path and double click on ``move_forward.py`` to open it. 这是一个非常简单的示例,它会让小车往前走。 | ||
|
||
.. image:: img/move_forward.png | ||
|
||
#. Observe whether the wheels of the car are driving forward and marked the wrong motor. | ||
|
||
#. 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. | ||
|
||
.. image:: img/rdp_dir.png | ||
|
||
#. Run again ``move_Forward.py``, if the car is driving correctly, the calibration is completed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.