Note
Hello, welcome to the SunFounder Raspberry Pi & Arduino & ESP32 Enthusiasts Community on Facebook! Dive deeper into Raspberry Pi, Arduino, and ESP32 with fellow enthusiasts.
Why Join?
Expert Support: Solve post-sale issues and technical challenges with help from our community and team.
Learn & Share: Exchange tips and tutorials to enhance your skills.
Exclusive Previews: Get early access to new product announcements and sneak peeks.
Special Discounts: Enjoy exclusive discounts on our newest products.
Festive Promotions and Giveaways: Take part in giveaways and holiday promotions.
👉 Ready to explore and create with us? Click [here] and join today!
FAQ
How to Change Wi-Fi Channel?
The 2.4GHz Wi-Fi band has channels ranging from 1 to 13. ESP32 supports channels 1 to 11. Other devices operating on the same channel may cause interference, leading to connection issues. To mitigate this, you can try changing the channel. By default, the channel is set to 1. When selecting a new channel, it’s recommended to skip 1-2 channels at a time. For example, if the current channel is 1, try channel 3 first, and if the signal is still poor, proceed to channel 5.
Note
ESP32 CAM firmware version 1.4.1 or above is required to change channels. Refer to How to Update Firmware for ESP32 CAM for more details.
Power on the GalaxyRVR. To activate the ESP32 CAM, move the mode switch to the Run position, and press the reset button to reboot the R3 board.
Find
GalaxyRVR
on the list of available networks on your mobile device (tablet or smartphone), enter the password12345678
, and connect to it.Open a web browser on your mobile device and navigate to
http://192.168.4.1
to access the ESP32 CAM OTA update page.Under the Wi-Fi AP Channel section, select a different channel.
The default channel is 1. When selecting a new channel, skip 1-2 channels at a time (e.g., from channel 1 to 3, and if needed, to 5).
Click the Confirm button to save the changes.
A confirmation popup will appear, prompting you to reset the device. Click Confirm.
Press the Reset button to reboot the device. The GalaxyRVR is now ready for normal operation.
How to Update Firmware for ESP32 CAM
Follow these detailed steps to update the firmware for your ESP32 CAM:
Power on the GalaxyRVR. To activate the ESP32 CAM, move the mode switch to the Run position, and press the reset button to reboot the R3 board.
Find
GalaxyRVR
on the list of available networks on your mobile device (tablet or smartphone), enter the password12345678
, and connect to it.Click the link below to download the firmware file
ai-camera-firmware-v1.4.1-ota.bin
and save it to your mobile device.Open a web browser on your mobile device and navigate to
http://192.168.4.1
to access the ESP32 CAM OTA update page.On the OTA page, click the button to select the firmware file.
Choose the previously downloaded
ai-camera-firmware-v1.4.1-ota.bin
file from your device and click OK.Click the Update button to start the firmware update process.
Wait for the update to complete. Once the displayed version number changes to
1.4.1
, the update is successful.After the update is complete, you can close the web browser. Press the Reset button to reboot the device. The ESP32 CAM is now ready for normal operation.
How to Upload the galaxy-rvr.ino
Code?
By default, the GalaxyRVR’s Uno R3 board comes preloaded with the necessary firmware, allowing you to control it via APP. If your R3 board has been overwritten with other code, but you’d like to return to the default firmware and continue with the Quick Play with APP process, follow these steps to re-upload the code to your R3 board:
Use a USB cable to connect the Arduino to your computer. Then, switch the upload switch on the rover to the “upload” position.
Download the required firmware from the link below:
Extract the downloaded zip file, then double-click the
update-arduino-firmware.bat
file to run it.Type the corresponding number for your GalaxyRVR’s Arduino Uno (e.g.,
2
) and press Enter to begin the update.Note
If the correct COM port does not appear, or if you’re unsure which one it is, disconnect other USB devices from your computer, leaving only the rover connected.
If you encounter an error like “avrdude.exe: stk500_getsync() attempt 1 of 10: not in sync: resp=0xXX”, ensure the upload switch on the rover is set to the “upload” position, as described in step 1.
After a short while, the new code will be successfully uploaded to the Uno R3 board on GalaxyRVR.
Rover Network Configuration: Home WiFi and AP Mode
By default, the Uno R3 is preloaded with code configured in AP mode. This means the GalaxyRVR will broadcast a hotspot, allowing you to connect your mobile device to control it via the SunFounder Controller APP.
If you prefer to control the rover using your home WiFi, or need to reset to AP mode for different use cases, follow these steps to upload the modified code to the Uno board:
Download the required files from the following link:
Refer to the installation guide: Install Arduino IDE.
Use the Library Manager to install the
SoftPWM
andSunFounder AI Camera
libraries. For detailed steps, see Compilation error: SoftPWM.h or SunFounder_AI_Camera.h: No such file or directory?.Navigate to the
galaxy-rvr-main\galaxy-rvr
directory and open thegalaxy-rvr.ino
file.Comment out lines 69-71, uncomment lines 73-75, replace
SSID
andPASSWORD
with your home WiFi credentials.// /** Configure Wifi mode, SSID, password*/ // #define WIFI_MODE WIFI_MODE_AP // #define SSID "GalaxyRVR" // #define PASSWORD "12345678" #define WIFI_MODE WIFI_MODE_STA #define SSID "xxxxxxxxxx" #define PASSWORD "xxxxxxxxxx"
Connect the GalaxyRVR and computer with a USB cable, and then turn the upload switch of the rover to the upload end.
Click the Upload button in the Arduino IDE to upload the modified code to the Uno board.
To activate the ESP32 CAM, move the mode switch to the Run position, and press the reset button to reboot the R3 board. You will then observe a cyan light flashing on the bottom strip.
Ensure your mobile device (tablet or smartphone) is connected to your home WiFi network.
Open the SunFounder Controller App, tap the “+” icon to create a new controller, select the “GalaxyRVR” preset, enter a name or tap “Confirm” to proceed.
The app will automatically search for the GalaxyRVR. After a moment, you will see a prompt stating “Connected Successfully.”
Now, tap the
button enables you to view the live video feed from the camera and control the rover using the provided widgets.
Resetting AP Mode
To reset to AP mode and change the SSID and PASSWORD, make sure the AP mode lines are enabled and update the SSID and PASSWORD to the new values.
#define WIFI_MODE WIFI_MODE_AP #define SSID "newSSIDName" #define PASSWORD "newPassword" // #define WIFI_MODE WIFI_MODE_STA // #define SSID "xxxxxxxxxx" // #define PASSWORD "xxxxxxxxxx"
Follow the same steps for uploading the code as detailed above.
Once uploaded, the GalaxyRVR will broadcast its network with the new network name and password, allowing direct connections without a home WiFi network.
How to Invert the Camera?
If you find the camera feed upside down while using the SunFounder Controller, you can easily correct it through the app. Follow these steps:
Tap the
button in the top-right corner.
Click the camera button to open a popup. Toggle the Inverted switch to turn it on.
Save your settings.
Return to the control interface and click the
button.
Note
Occasionally, the camera feed may not appear. If this happens, pause the controller and then click the run button again.
Compilation error: SoftPWM.h
or SunFounder_AI_Camera.h
: No such file or directory?
If you get a “Compilation error: SoftPWM.h
: No such file or directory” prompt, it means you don’t have the SoftPWM library installed.
Please install the two required libraries SoftPWM
and SunFounder AI Camera
as shown.
For the SunFounder AI Camera
library, you need to select “INSTALL ALL” to simultaneously install the required ArduinoJson
dependency.
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x6e?
If the following message keeps appearing after clicking the Upload button when the board and port have been selected correctly.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
At this point, you need to make sure that the ESP32 CAM is unplugged.
The ESP32-CAM and the Arduino board share the same RX (receive) and TX (transmit) pins. So, before you’re uploading code, you’ll need to first disconnect the ESP32-CAM to avoid any conflicts or potential issues.
After the code is successfully uploaded, if you need to use the ESP32 CAM, then you need to move the switch to the left to start the ESP32 CAM.
How can I use the STT mode on my Android device?
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.
Modify the AP mode of
galaxy-rvr.ino
file to STA mode.Open the the
galaxy-rvr.ino
file located in thegalaxy-rvr-main\galaxy-rvr
directory.Then comment out the AP mode related code. Uncomment the STA mode related code and fill in the
SSID
andPASSWORD
of your home Wi-Fi./** Configure Wifi mode, SSID, password*/ // #define WIFI_MODE WIFI_MODE_AP // #define SSID "GalaxyRVR" // #define PASSWORD "12345678" #define WIFI_MODE WIFI_MODE_STA #define SSID "xxxxxxxxxx" #define PASSWORD "xxxxxxxxxx"
Save this code, select the correct board (Arduino Uno) and port, then click the Upload button to upload it to the R3 board.
Search
google
in Google Play, find the app shown below and install it.Connect your mobile device to the same Wi-Fi as you wrote in the code.
Open the controller previously created in SunFounder Controller and connect it to
GalaxyRVR
through thebutton.
Tap and hold the STT(J) widget after clicking the
button. A prompt will appear indicating that it is listening. Say the following command to move the rover.
stop
: All movements of the rover can be stopped.forward
: Let the rover move forward.backward
: Let the rover move backward.left
: Let the rover turn left.right
: Let the rover turn right.
Q5: About the ESP32 CAM Firmware
Here is the firmeware link of ESP32 CAM: ai-camera-firmware