go_away

Author Topic: Ultrasonic Sensors in my autonomous bot read junk values while the bot's running  (Read 868 times)

0 Members and 1 Guest are viewing this topic.

Offline harshit3096gTopic starter

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
I have attached 4 Ultrasonic Sensors on my motor driven autonomous robot. It has a servo-driven steering.
I am using Arduino mega to program the robot. The values of all 4 sensors are pretty accurate when I see them on the serial monitor with the motors off. But as soon as I turn the motors on, I start getting junk and inconsistent distance values on the serial monitor. I did this test while the bot is on the Jack, so it is not moving when I turn the motors on.

I guess this is happening due to the interface to ultrasonic sensors due to vibrations of the motors. Therefore I am guessing these junk values would increase as soon as I keep my bot on the ground.

Please helm me remove these junk values and figure out a way to get exact distance readings while the motors are running.

 


Get Your Ad Here

data_list