In this article you will find out what an ultrasonic sensor X is and how to use it.

DESCRIPTION
The ultrasonic sensor X uses acoustic radiation to determine the distance to an object. The sensor readings are practically not affected by solar radiation and electromagnetic noise.
Technical description:

– Size (L*W*H): 40x36x18
– The measurement range is from 2 to 400 cm.
– Operating voltage: from 5V
– F-Dupont 4pin connector for connecting to another device


Functionality when connected to the RED X controller:

The ultrasonic sensor is used to determine the distance to an object. The measurement range is from 2 to 400 cm.

Ultrasonic sensor connecting scheme

Program example
*Physically, if the distance between the object and the ultrasonic sensor connected to port D2, D3 is less than 10cm, then the servomotor connected to port D1 rotates by zero degree, otherwise the servomotor rotates by 180 degrees

Technical support

red.help@r-ed.world

© R:ED – Robotics Education. All rights reserved