Distance between a propellar processor and Ping
RS_Jim
Posts: 1,764
Hi,
I am thinking about making a garage parking system for my wife's car. Basic concept is to use 2 pings along the side walls to determin the distance from the car to the side wall and one at the end to measure the maximum forward distance. The display would be tricolored led (ws5812) with different colors representing relative position. Two side by side both green, right down the chute. Left amber getting a little close to the left, red left big problem! Front green until stopping distance is close then amber, to red when stopping point reached.
The propellar board would be mounted on the ceiling near the opener to allow her to open the door from her Phone thru a wifi connection. Then on a hot day, she could open the door from a web page, then start the car using the utility she has for that.
Any thoughts?
Jim
I am thinking about making a garage parking system for my wife's car. Basic concept is to use 2 pings along the side walls to determin the distance from the car to the side wall and one at the end to measure the maximum forward distance. The display would be tricolored led (ws5812) with different colors representing relative position. Two side by side both green, right down the chute. Left amber getting a little close to the left, red left big problem! Front green until stopping distance is close then amber, to red when stopping point reached.
The propellar board would be mounted on the ceiling near the opener to allow her to open the door from her Phone thru a wifi connection. Then on a hot day, she could open the door from a web page, then start the car using the utility she has for that.
Any thoughts?
Jim
Comments
Edit: I would try it with cat5/6 cable for connecting from the propeller to the ping and the leds.
Jim
I am more concerned about the left to right spacing, the tennis ball is already in place.
Jim
During the transmit pulse the demand on current may be high. If VCC does sag you could add a large cap at the ping to compensate.
Since cat6 has so many wires you might want to use extras for ground to keep the prop and ping thresholds closer to the same ground reference. The signal will be quieter if you use a twisted pair: one for signal and the other line for ground. A 75 ohm at the prop and a second 75 ohm at the ping will improve signal quality going both ways.
Jim
Not trying to be sarcastic here. But if your wife has trouble to center the car in a garage, wide enough to open the car doors, you may have a bigger problem here.
I would advice you to install the system on the car, not in the garage. So it would be able to assist her in other parking spaces also. Positive thing would be shorter wiring, negative thing more el. noise in the car.
One of the small TV screens used by back up cameras for RVs is cheap available, use one of the TV objects in the OBEX. Show distance front, back, left and right either as numbers or (better) as visual indicator with graphics.spin
I remember that Parallax lately put some water resistant/outdoor(?) Pings in their shop. (not sure here). Else some shielding against rain and car washes might be needed.
Enjoy!
Mike
@kwinn, thanks,I'll try that. Back in the day when I did audio systems we would do a single point ground regardless of where the signal originated.
Jim
VCC / Power? Consider that 10 feet of 26g solid copper wire has a resistance of .43 ohms. The ping is spec’ed at 30 ma ICC. That give you a VCC drop of 13mv. Hardly worth fussing over if you consider your VCC has a spec of +/- 250mv.
The 75 ohm series terminations at both ends allow clean 2 way transmission. The trigger pulse width is spec’ed at around 5 micro seconds. If you look at the timing diagram for the ping it shows a blanking period after the fast burst, so waiting isn’t needed except, possibly, between measurements. If the ping was within a foot or so a simple 1K in series would work just fine. Note: The 75 ohms is in series, not a pull down to ground or to a termination network.
Twisting the signal wire with a ground will keep the signal clean by insuring the impedance will be at about 110 ohms (75 resistor + 35 source/both ends). Grounds should be connected on both ends for this wire.
The possible need for a large cap during the transmission burst was speculation on my part. Probably better to put it in than spend time researching. Plus it won’t hurt anything.
Those cables typically had a common and signal wire (or + and - signal wires) as well as a shield that was grounded at one end only. The shield was to avoid noise pickup, and it was grounded at one end only to avoid 50/60Hz hum pickup due to ground loops. Current analog and digital signalling systems (audio, RS232/422/485, etc) are also grounded at one point in buildings. Amazing how much hum you can pick up by grounding both ends of a bus on a 100 foot cable.
Jim