
unclemike
USA
Asked
— Edited

UncleMike here again; I am having a problem (yes I read the post by angpal59, and have not found any other posts relative to this ) getting a signal from my ping unit. I have hooked a 3 wire connector (as supplied in the kit blk,red,wht) black-5v, red- grd. white to trigger and a separate white to echo (by the way DJ in the ultrasonic tutorial video says the middle pin is ground but that is not how the board is labeled) I have set the trigger to D0 and the echo to D1 and the servo to D2, (servo responds correctly) the panel shows the changing servo settings but the distance shows 20 and does not change when I change the distance my hand is in front of it, nor does the graphic show "pings" Any ideas? UncleMike
The photo shows red to Vcc and Black to Gnd.
And no, the ping sensor requires 2 digital ports (even if you're a programmer). You can get single port sensors but they aren't used often and aren't supported by the native controls.
OK thanks guys I think I'll order up a bunch of prewired cables and ultrasonic sensors for future. It does put me at a stand still on this project until get more ultrasonic sensors. On the IR question any ideas as to why I get strange readings in IR radar mode (works fine in collision mode)? UncleMike
Which IR sensor are you using? Daylight is the enemy when it comes to IR. It can cause weird readings.
Rich; Sharp 2d120x UncleMike
That's a 4-30cm range one, I believe the one in the ARC controls is the GP2D12 which is 10-80cm. This may have been changed in the Revolution release of ARC, it's been a while since I looked at those controls since I prefer to use scripts to take care of the IR sensors.
jstarne1; where did you get your cables? Rich thanks for the info. Marking complete. UncleMike
Follow up got 2 new US modules one works the other is bad, will contact the guys I got them from. But all is good with thw good one. Thanks guys.
Follow up got 2 new US modules one works the other is bad, will contact the guys I got them from. But all is good with thw good one. Thanks guys.