5. FAQ

Q1: NO MicroPython(Raspberry Pi Pico) Interpreter Option on Thonny IDE?

_images/interepter_thonny.png
  • Check that your Pico is plugged into your computer via a USB cable.

  • Check that you have installed MicroPython for Pico (2. Install MicroPython on Your Pico(Optional)).

  • The Raspberry Pi Pico interpreter is only available in version 3.3.3 or higher version of Thonny. If you are running an older version, please update (1. Install Thonny IDE(Important)).

  • Plug in/out the micro USB cable sveral times.

Q2: Cannot open Pico code or save code to Pico via Thonny IDE?

_images/save_to_pico.png
  • Check that your Pico is plugged into your computer via a USB cable.

  • Check that you have selected the Interpreter as MicroPython (Raspberry Pi Pico).

Q3: Unable to connect to COM51: Cannot configure port?

Unable to connect to COM51: Cannot configure port, something went wrong. Original message: PermissionError(13, 'A device attached to the system is not functioning.', None, 31)

If you have serial connection to the device from another program, then disconnect it there first.

Process ended with exit code 1.

When you plug in your Raspberry Pi Pico to your computer, some times the above error message will appear, at this time you need to re-plug the USB cable and reopen the Thonny IDE.

Q4:How can I use the STT mode on my Android device?

Android devices cannot use the STT mode. Because the STT mode requires the Android mobile device to be connected to the Internet and to install the Google service component.

Now follow the steps below.

  1. Modify the AP mode of app_control.py to STA mode.

    • Open the app_control.py under the path of pico_4wd_car-v2.0\examples\learn_modules.

    • Then comment out the AP mode related code. Uncomment the STA mode related co’decode and fill in the SSD and PASSWORD of your home Wi-Fi.

      _images/sta_mode.png
    • Click File -> Save as.

      _images/save_as.png
    • Select Raspberry Pi Pico in the pop-up window.

      _images/save_to_pico.png
    • After that, save app_control.py to Raspberry Pi Pico with a new name - main.py.

      _images/save_main.png
  2. Search google in Google Play, find the app shown below and install it.

    _images/google_voice.png
  3. Connect your mobile device to the same Wi-Fi as you wrote in the script.

    _images/sta_wifi.png
  4. Open the controller previously created in SunFounder Controller and connect it to my_4wd_car.

    _images/sta_connect.png
  5. Tap and hold the STT(I) widget after clicking the app_run button. A prompt will appear indicating that it is listening. Say the following command to move the car.

    _images/sta_listening.png
    • stop: All movements of the car can be stopped.

    • forward: Let the car move forward.

    • backward:Let the car move backward.

    • left:Let the car turn left.

    • right:Let the car turn right.