Hello everyone, I need measure distance in milimeter with ultrasonicsensor. I researched some type of sensor but how do they measure in milimeter not cm. Or do you know any type of sensor which is able to measure in milimeter? If I cant measure in milimeter with available sensor how can ı make my sensor?
any centimeter contain 10 millimeter
I know, I think I couldnt explain me. For example HCSR04 measure approximately 3cm but distance is 2.72 cm. So I need real distance in milimeter not approximately value in cm. Do you know how can I do this?
module can't measure distance smaller as it self. 3 cm is distance between echo sensor and emitter on the module
Ahh bro I said if you try the HCSR04 will measure 2.72 cm as 3cm because ıt cant give integer data, so I need exact distance not approximately. I didnt say it measure smaller.
bro, noone who need exact distance using this module. savvy?
But I need, so I want to learn how can I measure exact value. Its not obligatory using HCSR04, I can use different sensor. Do you know any sensor or any method
laser, IR, inductive, capacitive, mechanical
I think you just don't use the measurement of the sensor correctly,
by rounding the computed result to cm.
I need measure it with ultrasonic sensor, project is about this
well, show how you compute your result .
Yes I know but how can I get float data such as 2.72, I tried but ı just get some integer data such as 3
show code
sorry, I fixed
Then you did something wrong.
But as you keep the code hidden, that is all that can be said.
Okey, ı will send just a minute
Oww, okey I solved my problem. I defined it is a float but I couldnt write it serial print part, thank you. Its my bad
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.