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
measurement in centimeters with SR04 sensor
-
- Posts: 3
- http://meble-kuchenne.info.pl
- Joined: Mon Jan 11, 2021 10:42 am
-
- Matrix Staff
- Posts: 1384
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 184 times
- Been thanked: 322 times
-
- Posts: 3
- Joined: Mon Jan 11, 2021 10:42 am
Re: measurement in centimeters with SR04 sensor
HC-SR04 ultrasonic sensor on PIC16F887 and on a PIC16F1937 as target devices.