54
6 Common Problems and Solutions(Q&A)
●Where to find the IP address of the Raspberry Pi?
Before connecting the Raspberry Pi via SSH, you need to know the IP address of the Raspberry Pi. Check the
Management interface for your router, or download the app `Network Scanner` -> search for a device named `RASPBERRY`
or `Raspberry Pi Foundation` to get the IP address.
For other methods of obtaining the IP address of Raspberry Pi, refer to the official documentation
●Errors occur with `permission denied` prompt when I manually run `server.py` or `webServer.py`.
The Raspberry Pi needs the root permission to run the dependent libraries for WS2812 LED lights control.
You need to add `sudo` to the beginning of `server.py` or `webServer.py` to run the program.
sudo python3 [PATH]/server.py
sudo python3 [PATH]/webServer.py
●I can't create the hots pot for the robot.
You need to use the open source project create_ap to setup the robot's hotspot. Prior to use, disconnect WiFi
network but DO NOT turn the WiFi module off, or the create_ap will show an error of hardware being blocked.
●The servo rotates to an abnormal degree.
Before assembling the rocker arm and servo, you need to make the servo gears rotate to the central position of its
rotating range. Then assemble the rocker arm based on the angle instructed in the documentation. There can be a
deviation of less than 9° due to the structure of the servo (number of teeth is 20 for the servo gears). For better
performance, you may refer to the servo control documentation for initial degree adjustment by code.
●The servo is shaking.
Probably the servo reducing gear is broken.
●Raspberry Pi can't boot.
Remove all parts on the driver board. Only connect the board to Raspberry Pi and power supply, reboot.
●"Remote side unexpectedly closed network connection" shows on a popup window.
There can be error prompts during installation because the Raspberry Pi will auto reboot after the installation,
which will disconnect the board.
●Program crashes after double clicking on client.py or GUI.py.
Run the script by `python client.py` or `python GUI.py` in cmd and check the error reports.
●How to initialize the servo's angle?
If you've finished software installation on the Raspberry Pi, just boot it up and the servo will be initialized.
●I can connect to the Raspberry Pi terminal via SSH \ Raspberry Pi failed to connect a WiFi.
The power supply methods will not influence control by SSH. Check whether you've created the file
`wpa_supplicant.conf` for multiple times. If yes, that's problem causing SSH errors.
●Can I supply the Motor HAT and Raspberry Pi via USB?
A 2A output is required for a Raspberry Pi 3B, when at least 3A is needed for a Raspberry Pi 4. You can use the USB
power for software installation and testing, but it's not suitable for high power module like servo or motor adjustment as it
may result in low voltage. It's recommended to use battery for power here.
●After installation, the robot shows no response when booting.
The `server.py` or `webServer.py` may not run due to some reasons. Try to manually run `server.py` or
`webServer.py` and check whether there's any error prompt.
Address]
[IP
Need help?
Do you have a question about the AWR Adeept Wheeled Robot and is the answer not in the manual?