Go Down

Topic: Distance between two ( or more ) moving arduinos (Read 592 times) previous topic - next topic

fgalastri

Hi all,

I'm new to this and I'm trying to find out if my idea is feasible. I found similar ideas but not quite the same, so I'd appreciate if you guys can help me with this one.

I need to know when two objects have a specific distance between each other ( 5, 10 or 15 meters ). I need to know when they are within this range and when they are not anymore. Those two objects will be moving at a reasonable speed ( between 20km/h and 50km/h ) and there will be no obstacles between them. The object in the front doesn't need to know about the object in the back, but the object in the back must know about the object in the front and if they are side by side. Something similar to a car race when the car in the back is going to overtake the car in the front. I need to know when the car in the back is within the desired range and when the overtaking is finished.

I read about lasers, sonic sensors, gps, RF, etc but so far no idea if this is feasible or not and if it is what is the best solution.

Thanks.

PeterH

There are people who've got that sort of thing working by doing video analysis and moving object recognition and tracking, but it needs a fair amount of work to develop and q lot of processing power to execute it. That approach is definitely not an Arduino project. I don't think an ultrasonic sensor is going to be feasible in the environment you describe, and I can't see any other way to achieve it.
I only provide help via the forum - please do not contact me for private consultancy.

mrburnette

Quote
50km/h

50K/(60*60) = 139 Meters/Sec.

Doppler shift RF or laser is the only two things that I believe would be appropriate.

Ray

Henry_Best


Quote
50km/h

50K/(60*60) = 139 Meters/Sec.

Doppler shift RF or laser is the only two things that I believe would be appropriate.

Ray


If, as the OP describes, the two cars are travelling at nearly the same speed there won't be much (if any) Dopler shift.

CrossRoads

Home Depot carries laser room measurement instruments, for example
http://www.homedepot.com/p/Bosch-165-ft-50m-Laser-Dist-Measurer-GLM-50/203392595?MERCH=REC-_-SearchPLPHorizontal1-3-_-NA-_-203392595-_-N#.UlDZCtKsjZk
Maybe browse those, find one with a serial interface you can read.

Then, work on an aiming/tracking control, I think that will be the tricky part.
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Go Up