In this article you will find out what an ultrasonic sensor X is and how to use it.
DESCRIPTION
The ultrasonic sensor Xuses 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
If you face a problem, drop us a line to support@r-ed.pro or fill in the form below