SunFounder GalaxyRVR Kit for Arduino, Release 1.0
Meet the Infrared Obstacle Avoidance Module - our rover’s smart sidekick. This little device is a pack of wonders.
Let’s take a tour:
Here are the pin definitions:
• GND: This is like the module’s anchor, connecting it to the ground or common point in the circuit.
• +: Here’s where the module gets its energy, needing a power supply of 3.3 to 5V DC.
• Out: This is the module’s communicator. By default, it stays high and only goes low when it spots an obstacle.
• EN: Meet the module’s controller. This enable pin decides when the module should work. By default, it is
connected to GND, meaning the module is always on the job.
Curious about how this tiny module works? It’s quite interesting! It uses a pair of IR components - a transmitter
and a receiver. The transmitter is like the module’s flashlight, emitting infrared light. When an obstacle appears, the
infrared light bounces back and gets caught by the receiver. The module then gives a low signal, alerting our rover of
the obstacle.
Our little module is quite robust, spotting obstacles within a range of 2-40cm and boasting excellent anti-interference
52 Chapter 3. Course Mode