STA Mode Failing

Updated from AP to STA mode. Uploaded it, flipped the switch to run, press the rest button and it fails every time. Not sure what I’m doing wrong here or if theres any other edits needed.

Update on this, it was because it was a 5ghz network. Change the network, and it was all good. However, connecting using the scan function while on the same network as the rover doesnt seem to reliably work too great, but the ip address will change every 4 hours. Is there a way to find the new ip address or connect it without plugging in to my computer and doing the serial monitor?

If its changing every 4 hours then that is a timer setting in your router for security purposes. I’d suggest allocating a fixed ip address to the PiCar-X in your router settings.

Can your GalaxyRVR connect in AP mode?

Please also double-check that the WiFi account and password you entered are correct.

Additionally, please copy and send us the complete serial print information. We would like to know your firmware version. Alternatively, you can try updating the firmware. Detailed tutorial: FAQ — SunFounder GalaxyRVR Kit for Arduino 1.0 documentation

So in the end, I was able to connect using STA mode, look up the IP address and connect. However, the network I will be on while using these does not allow for a locked IP address and will assign a new one every 4 hours. Is there a simpler way of getting the new IP address for someone who is not comfortable in using Arduino? Or will it connect using the “scan” function if the ipad and the rover are on the same network? The scanning hasnt seemed to work, but I’m not sure if its supposed to.

It will connect in AP mode, but the connection is inconsistent and unstable. At times it will work great, other times it will start to freeze, disconnect, reconnect with no problems. I assume theres just some interference. Any tips on how to improve this would be helpful.

Thanks

In the Arduino IDE’s Serial Monitor, you can view the current IP. Generally, when your iPad and GalaxyRVR are on the same network, the Scan function on the Controller should work. Only when it fails to scan should you manually enter the IP.

AP mode can sometimes be unstable due to WiFi interference or signal strength. You may try:

Keep the iPad close to the rover to reduce signal interference.

Avoid areas with many WiFi networks (which may cause channel interference).

Restart the rover after powering it on to ensure the AP starts correctly.