EasyManua.ls Logo

SunFounder GalaxyRVR - Avoid(E); Follow(F); Stt(J)

Default Icon
120 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SunFounder GalaxyRVR Kit for Arduino, Release 1.0
2.2 Avoid(E)
Tap the Avoid(E) widget to activate the obstacle avoidance mode.
Before enabling this mode, you may need to adjust the detection ranges of the sensors according to your current envi-
ronment, as the factory settings may not be ideal for all situations.
If the detection range of the two infrared modules is too short, the Mars Rover might bump into obstacles. Conversely, if
the range is too long, the Rover might start swerving too far away from an obstacle, potentially disrupting its navigation.
Here’s how you can fine-tune the settings:
1. Start by adjusting the right obstacle avoidance module. During transportation, collisions may cause the trans-
mitter and receiver on the infrared module to tilt. Therefore, you need to manually straighten them.
2. Place an obstacle about 20 cm directly in front of the right module. The box in which our Rover kit came is
a good choice for this! Now, turn the potentiometer on the module until the indicator light on the module just
lights up. Then, keep moving the obstacle back and forth to check if the indicator light comes on at the desired
distance. If the light doesn’t turn on at the correct distance or if it remains on without going out, you’ll need to
adjust the other potentiometer.
3. Repeat the same process for the other module.
2.3 Follow(F)
When you’re ready to activate follow mode, simply tap the Follow(F) widget. If you haven’t previously adjusted the
detection distance of the obstacle avoidance modules, you will need to follow the steps in Avoid(E) first.
Once in follow mode, the GalaxyRVR will move towards an object in front of it or turn left or right to follow the object’s
movement.
2.4 STT(J)
STT stands for Speech to Text. The SunFounder Controller app integrates with your mobile device’s voice recognition
engine. Hence, when you tap and hold the STT(J) widget on the SunFounder Controller and speak into your mobile
device,
Your device will capture your speech, convert it into text, and send it to the GalaxyRVR. If this text matches the pre-set
commands in your code, the Rover will carry out the corresponding actions.
The following are the commands currently preset in the code. Speak any of the following commands and observe how
the GalaxyRVR responds.
10 Chapter 2. Play Mode

Related product manuals