ArmPi FPV Troubleshooting Method for Missing Wi-Fi Hotspot After Booting
1. Introduction
After a successful boot of the ArmPi FPV robotic arm, the hotspot starting with HW might not be discoverable due to a prior switch to LAN mode. Consequently, a Wi-Fi connection via AP mode cannot be established.
2. Problem Description
The primary reasons for this issue with the robotic arm include the following:
- Software: Before powering on, the robotic arm was already set to LAN mode instead of the default AP mode.
- Hardware: The mobile phone or computer lacks support for the default 5GHz band communication.
- System: The system image is corrupted, causing the robotic arm to fail to boot properly and preventing it from detecting the hotspot starting with HW.
3. Solution
The following steps can be performed in order to enable a mobile phone or computer to detect the hotspot starting with HW.
Restoring AP Mode:
After the robot has been powered on for a period of time, the robotic arm resets. Check the status of LED2 on the expansion board. If LED2 remains steadily on, it indicates that the robotic arm is in LAN mode. In LAN mode, the HW hotspot will not be broadcast. The robotic arm needs to be switched back to AP mode. The detailed steps are as follows:
-
Press and hold the KEY1 button on the expansion board for a period of time until LED2 on the expansion board starts blinking continuously, indicating that the robotic arm has switched back to AP mode.
-
Enter the system via LAN mode, or connect a display using an HDMI cable to access the system.
-
Power on the robot, then connect to the system desktop via VNC remote connection.
-
Click the icon
at the top of the system to open the command-line terminal. -
Enter the command
cd hiwonder_toolboxand press Enter to navigate to the configuration directory.
cd hiwonder_toolbox
- Enter the command
vim wifi_conf.pyand press Enter to open the configuration file.
vim wifi_conf.py
-
Enter the following interface.
-
Press the i key on the keyboard to enter edit mode. Modify the value of
WIFI_MODEto 1, where 1 represents AP mode and 2 represents LAN mode.
-
After confirming that the input is correct, press the **ESC **key, then enter
:wqand press Enter to exit and save the file.
- Enter the command
sudo systemctl restart wifi.serviceto restart the robot’s Wi-Fi service.
sudo systemctl restart wifi.service
If LED2 on the expansion board is blinking continuously, it indicates that the robotic arm has switched back to AP mode.