Ping problem ranging
Neon Kenny
Posts: 2
Hi,
All seems well & working except that readings are erratic and unreliable beyond 2 feet or so away. If I carefully stand directly in line with the most sensitive point and I hold a solid piece of wood in front of me and carefully step back I can't seem to reliably detect beyond a couple of feet. The readings jump to maximum.
I'm presently grabbing power for the Ping from the Stamp and I'm wondering if there is a power drain. Or is this an issue with reflectivity?
All I want to do is be able to walk toward & away and have a smooth reading of these events.
Works great in the very low ranges.
Any ideas??
Thanks.
All seems well & working except that readings are erratic and unreliable beyond 2 feet or so away. If I carefully stand directly in line with the most sensitive point and I hold a solid piece of wood in front of me and carefully step back I can't seem to reliably detect beyond a couple of feet. The readings jump to maximum.
I'm presently grabbing power for the Ping from the Stamp and I'm wondering if there is a power drain. Or is this an issue with reflectivity?
All I want to do is be able to walk toward & away and have a smooth reading of these events.
Works great in the very low ranges.
Any ideas??
Thanks.
Comments
·· If nothing else is being powered off the Stamp Vdd pin, and there is no current draw from any I/O pins, then it should be able to handle it.· What happens if you power it from a separate 5V P/S?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Haven't had a chance to try yet. Now I'm seeing that if I place a large sheet of plexi in front of me it's working more as expected. So my assumption is that the human body and cotton clothes is too soft for proper reflection at medium to high range??
Any suggestions as to the ideal "soft" material?
Kenny
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Any significant variation from that initial value is interpreted as a human and SURPRISE! ... alligator attack.....That cool can you also write the code for a
BS2 also Thanks
SAM
Here's the process:
-- Take initial range reading
-- Take secondary range reading (in Main loop)
-- Subtract secondary from initial (use ABS, just in case)
-- If difference is less than appropriate threshold (I'm using 80%), spring the prop
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax