ultrasonic sensor programming

Status
Not open for further replies.

Ria Rastogi

Newbie level 1
Joined
Sep 24, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
8
i am working with ultrasonic sensor and arduino .I want to calculate distance using the ultrasonic sensor. arduino and sensor both are working but my problem is variation of distance is not linear in serial monitor....the readings are regularly changing. i want to have a more efficent distance calculation formula.
please help
 

Are you using an SR04 type of a sensor module? If so, its strange that you are not getting steady readings. What range are you looking at?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…