go_away

Author Topic: using the PING ultrasonic sensor  (Read 1122 times)

0 Members and 1 Guest are viewing this topic.

Offline wowlaTopic starter

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
using the PING ultrasonic sensor
« on: June 20, 2011, 09:46:54 PM »
Hi everyone, I am new here. I am doing a school project that require us to use the H8S2633R microproccesor to program the PING ultrasonic sensor. I have already done triggering the pulse, but I could not get back the echo. I use a digital oscilloscope to find what is the problem and the result is that the echo that is returning to me is only about 0.5V. It is not enough for the microprocessor to determine it as high. So, what is my problem? hardware or software? thanks for helping me :)

Offline garrettg84

  • Robot Overlord
  • ****
  • Posts: 187
  • Helpful? 8
  • Armchair Roboticist Extraordinaire
Re: using the PING ultrasonic sensor
« Reply #1 on: June 21, 2011, 05:41:26 AM »
Take a look at op amps. That should fix you right up.
-garrett

Offline joe61

  • Supreme Robot
  • *****
  • Posts: 417
  • Helpful? 16
Re: using the PING ultrasonic sensor
« Reply #2 on: June 21, 2011, 06:33:56 AM »
I use a digital oscilloscope to find what is the problem and the result is that the echo that is returning to me is only about 0.5V. It is not enough for the microprocessor to determine it as high. So, what is my problem? hardware or software? thanks for helping me :)

It might be a power problem, are you sure it's getting 5v? In my experience they just don't work well without that.

Joe

Offline garrettg84

  • Robot Overlord
  • ****
  • Posts: 187
  • Helpful? 8
  • Armchair Roboticist Extraordinaire
Re: using the PING ultrasonic sensor
« Reply #3 on: June 21, 2011, 01:00:58 PM »
It might be a power problem, are you sure it's getting 5v? In my experience they just don't work well without that.

+1 for this. I've seen a few other people have their ping sensor issues resolved with a better power supply right in posts on this message board.
-garrett

Offline wowlaTopic starter

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Re: using the PING ultrasonic sensor
« Reply #4 on: June 22, 2011, 10:16:19 PM »
Thanks, the problem have been resolved. :)

Offline garrettg84

  • Robot Overlord
  • ****
  • Posts: 187
  • Helpful? 8
  • Armchair Roboticist Extraordinaire
Re: using the PING ultrasonic sensor
« Reply #5 on: June 23, 2011, 04:27:53 AM »
Thanks, the problem have been resolved. :)

What was the solution?
-garrett

Offline wowlaTopic starter

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Re: using the PING ultrasonic sensor
« Reply #6 on: June 23, 2011, 08:32:48 PM »
the power supply did not supply exactly 5v.

 


Get Your Ad Here