elbiondo

I want to run two Ping sensors from one Arduino and have them both be reading pulses at the SAME time. They would both be the input to an LED whose intensity would be controlled by a person's proximity.

My reasoning for using two Ping sensors is that I would like to increase the pulse distance of the Ping sensor. Currently, I have found my Ping (with a cyperbolic reflector to already increase distance) reads only to 370 cm max. In general, mine reads only to 200 cm. I would like to double that distance.

Any ideas? Are two ping sensors possible? Is there an easier way to do this?

The effectiveness of a ping sensor depends on the distance the sound has travelled. The longer the path the more energy it looses. Most signals loose energy squared with the distance => twice the distance means four times less signal. So doubling the distance means you have to focus the energy somehow. A reflector could be a good thing (you allready tried ), but maybe a tube will also focus the signal. But by focussing the signal the reflected signal will also be focussed more so It might "shoot" besides the sensor.

I would start with tubes metal / plastic whatever can be found and start experimenting. Hard materials reflect sound best, softer ones absorb the energy.

Easiest way is to search for a sensor that meets your needs, but price is allways an important parameter too

Using 2 ping sensors in parallel as you propose [SAME TIME] will be not trivial as the Arduino itself can only do one thing at a time.

Some of the Devantech sonars allow you to listen only, but I think you need to work out a way of putting more power into the output burst.Maybe look at powering with a MAX232 or something like that.Suggest you try to get hold of an old Polaroid unit.

Check the datasheet if the sensor has a (bit) larger range when supplying a higher voltage to it. Or better said, if you apply too little the power definitely will decrease so take care that you use the optimum voltage => in short consider a separate power supply. It will not double the distance but ...

Putting more power in may cause the transmitter to ring, making your transmitted pulse longer.

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.Do not send technical questions via personal messaging - they will be ignored.I speak for myself, not Arduino.

If extreme range is the aim, probably not, but it may well impact on minimum range.

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.Do not send technical questions via personal messaging - they will be ignored.I speak for myself, not Arduino.

The range of a sonar based sensor is highly dependent on the nature of the target itself. Not only the shape and size of the target, but the composition of that target, since sound reflects differently off different materials. You're only going to see that advertised maximum range against an ideal target, and a soft, sound absorbing, human body (assuming with cloths on, which are even more sound absorbing), is nowhere near an ideal target. (an ideal target being a flat, hard surface that offers maximum sound reflection)

The datasheet itself shows the characteristics of two different targets, a cylinder and a 12x12 piece of cardboard, and neither one reaches the advertised 3m maximum range.

elbiondo

@robtillaart: I'm detecting people. I'm an artist, and my work is about viewer accessibility. As the viewer walks up to the artwork, an LED at the center of the work corresponds in brightness to the distance that person is from the work--the closer the person walks, the brighter the light. The farther away, the dimmer the light gets. Ultimately, the closer the person gets and the more they try to view the artwork, the more impossible that task becomes. I need the sensor to function as far as possible to affect the greatest amount of viewers.

Attached is a crude mockup of the situation.

@jraskell: thank you! that seems very logical. i checked my serial monitor instead of relying on my other output (an LED), and the distance was 370 cm at the most, but mostly 250 cm. It's a bit farther than I thought, so that's useful in some sense!

@raron: WOW! What a great find! Now if only I can build such a magical device...