Programming with Scratch
In addition to programming on the Arduino IDE, we can also use graphical programming.
We recommend using Scratch for programming. However, the official Scratch currently only supports Raspberry Pi. To address this, we have developed Mammoth Coding, a graphical programming software based on Scratch 3, specifically for Arduino boards (Uno, Mega2560, and Nano).
Mammoth Coding retains the basic functionalities of Scratch 3 while adding the capability to control various boards such as Arduino Uno, Mega, Nano custom boards. It allows you to use external sensors and robots to control the sprites on stage, providing robust hardware interaction capabilities.
Moreover, this app is easy to use even if you don’t have much programming experience. You can learn and utilize these cutting-edge technologies with ease.
Simply drag and drop Scratch coding blocks to create exciting games, animations, interactive projects, and even control robots exactly as you envision!
Let’s embark on this journey of exploration now!
Download the Code
Note
All the Scratch scripts for the projects below have been uploaded to GitHub. You can download them via the link provided. All
.sb3script files are located in the foldergalaxy-rvr-main/scratch_codes/.
Or check out the code at SunFounder GalaxyRVR Kit for Arduino - GitHub.
Basic Projects
These projects are the basic courses for controlling the GalaxyRVR with Mammoth Coding. They will guide you step by step on how to utilize GalaxyRVR.
- Lesson 1 Unveiling the Mars Rover
- Lesson 2 Getting Started with the Mammoth Coding App
- Lesson 3: Remote Control Your GalaxyRVR
- Lesson 4: Ultrasonic Module
- Lesson 5 Interactive Animation
- Lesson 6 IR Obstacle
- Lesson 7: Create an IR Obstacle Animation
- Lesson 8 Advanced Obstacle Avoidance
- Lesson 9: Mars Exploration Partner
- Lesson 10: Lighting the Way with RGB LED Strips
- Lesson 11: Control Your Rover’s Camera Tilt
- Lesson 12: See Through Your Rover’s Eyes
- Lesson 13: Complete Mars Rover Control
Fun Projects
Here are some fun projects that don’t require the Galaxy RVR, but you can implement them here.