Marty the Robot V2 Distance Sensor
Description
The Distance sensor for Marty V2 can be attached under Marty’s face, enabling your robot to be programmed in Scratch or Python to react differently to changes in the distance between it and an obstacle. This works through infrared light, the same technology that exists in a car parking sensor used to help the driver understand how close the car is to an object while reversing. Note: You'll need firmware v0.0.124 or above for this add-on to function.Features
IR Emitter:
An infrared light-emitting diode (LED) on the sensor sends out a modulated beam of IR light, which is invisible to the human eye
Reflection:
This IR light beam bounces off any object in front of the robot
IR Receiver:
The reflected light is captured by a light-detector, or receiver, on the sensor
Distance Measurement:
The sensor measures the intensity of the light that returns to the receiver, estimating the distance based on how much light is reflected back. The sensor has a detection range of approximately 0.393 inches to 4 feet
Attachment:
The distance sensor is designed to be attached under Marty's face
Comparison:
Similar to the technology of car parking sensors, which also use a reflected signal to help understand the proximity to objects
Programming:
The sensor's data can be used in coding platforms like Scratch and Python. Programmers can build scripts that instruct Marty to perform different actions based on the distance detected
Variations in Readings:
Because the sensor relies on reflected light, the material and color of an object can affect the reading
- 1 Distance Sensor

