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
Q1: Change AP mode to STA mode
You will need to download the relevant code.
Install IDE, then, install libraries
SoftPWM
andSunFounder AI Camera
. Q2: Compilation error: SoftPWM.h: No such file or directory? .Then, open the
galaxy-rvr.ino
file located in thegalaxy-rvr-main\galaxy-rvr
directory.Comment out lines 69-71, uncomment lines 73-75, and change
SSID
andPASSWORD
to your WLAN.
Connect the Arduino and computer with a USB cable, and then turn the upload switch of the car to the upload end.
Upload your code.
Q2: Compilation error: SoftPWM.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.
Q3: 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.
Q4: 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 the button.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 car.
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