measurement in centimeters with SR04 sensor
Posted: Mon Feb 19, 2024 2:05 pm
Hello,
I 'm having trouble using the SR-04 ultrasonic sensor in Flowcode V9.
The component macro says that the returned value that is given after receiving echo is in centimeters, but when I measure the distance in centimeters it is almost twice the distance that is given from te component macro.
Could it be that te distance from the component macro is in inches, not in centimeters?
Greetings,
Theo
I 'm having trouble using the SR-04 ultrasonic sensor in Flowcode V9.
The component macro says that the returned value that is given after receiving echo is in centimeters, but when I measure the distance in centimeters it is almost twice the distance that is given from te component macro.
Could it be that te distance from the component macro is in inches, not in centimeters?
Greetings,
Theo