Arduino UNO firmware for the GalaxyRVR robot car, works with the SunFounder Controller APP.
Current version: 2.0.0
| Item | Version |
|---|---|
| Board | Arduino UNO |
| IDE | Arduino IDE 2.x |
| AVR Boards | 1.8.3 |
Dependencies:
- IRLremote
- SoftPWM
- Servo
- ArduinoJson
- SunFounder_AI_Camera
- Open
galaxy-rvr/galaxy-rvr.inoin Arduino IDE - Select Board: Arduino UNO, pick the correct port
- Compile and upload
- Install SunFounder Controller APP on your phone, connect to WiFi
GalaxyRVR(password12345678)
galaxy-rvr/
├── galaxy-rvr/ # Main firmware
│ ├── galaxy-rvr.ino # Entry point (setup/loop/state machine/WS handler)
│ ├── galaxy-rvr.h # Central config (pins, constants, includes)
│ ├── cmd_code_config.hpp # Mode definitions, voice command table
│ ├── car_control.cpp/h # Motor driver
│ ├── rgb.cpp/h # RGB LED strip
│ ├── ir_obstacle.cpp/h # IR obstacle avoidance sensor
│ ├── ultrasonic.cpp/h # Ultrasonic distance sensor
│ ├── soft_servo.cpp/h # Software PWM servo (camera gimbal)
│ ├── battery.h # Battery voltage / percentage
│ └── test.h # Per-module test routines
├── lesson_codes/ # Tutorial examples (by chapter)
│ ├── 5_car_move/ # Car movement
│ ├── 6_read_ir/ # IR sensor read
│ ├── 6_ir_avoid/ # IR obstacle avoidance
│ ├── 7_read_ultrasonic/ # Ultrasonic read
│ ├── 7_ultrasonic_avoid/ # Ultrasonic avoidance
│ ├── 8_ultrasonic_ir_avoid/ # Ultrasonic + IR avoidance
│ ├── 8_ultrasonic_ir_follow/ # Ultrasonic + IR follow
│ ├── 9_rgb_*/ # RGB LED control
│ ├── 10_servo*/ # Servo control
│ ├── 11_camera_*/ # Camera control
│ ├── 12_app_*/ # APP interaction
│ └── 13_*battery*/ # Battery monitoring
├── test/
│ └── electric-test/ # Factory electrical test
├── ai-camera-firmware.v1.5.3-ota.bin # ESP32-CAM firmware image
├── update-arduino-firmware.bat # One-click flash script (Windows)
├── LICENSE
└── Readme.md
update-arduino-firmware.batThe script uses avrdude to flash galaxy-rvr.ino.2.0.0.hex.
Open galaxy-rvr/galaxy-rvr.ino, compile and upload.
The AI Camera module requires its own firmware. See ai-camera-firmware for source and instructions.
https://docs.sunfounder.com/projects/galaxy-rvr/en/latest/
SunFounder focuses on STEAM education with open-source robots, dev boards, kits, and modules. We help students and hobbyists learn programming and engineering through hands-on practice.
Website: www.sunfounder.com
Contact: service@sunfounder.com