how to transfer data between ultrasonic sensors

Hi ;

For my graduation project i have to make a robot car and i need a little help :slight_smile:

i want to find direction of signal and i also must determine which source it is. (for example source A, B, C),
after determinig true signal and finding direction of it, robot car will go to signal's source in order (for example first A, seccond B ...).

For this i thought that i will locate 4 ultrasonic receiver (left, righti front, back) into car and , i also must create 3 ultrasonic transmitter source.

so the car will determine from which direction signal comes from and which source it is, then go to source.

So for this

i want to transfer data between arduinos with ultrasonic sensors? is this possible?

up?

emreakay:
i want to transfer data between arduinos with ultrasonic sensors? is this possible?

Yes. Simplest metod would be to send pulses of different lengths for the three sources. Send them at random intervals to keep the pulses for overlapping. The first receiver to receive the pulse will give you a rough direction. The length of the pulse will give you the identity of the sender.

I suspect it would be easier to use infrared instead of ultrasonics.

dc42:
I suspect it would be easier to use infrared instead of ultrasonics.

Except when it comes to sensing direction. Ultrasonics, with their much slower time of flight, allow for more precise direction-finding based on differential arrival time.

johnwasser:

dc42:
I suspect it would be easier to use infrared instead of ultrasonics.

Except when it comes to sensing direction. Ultrasonics, with their much slower time of flight, allow for more precise direction-finding based on differential arrival time.

I agree - but only if you are going to measure differential arrival time, which will require more electronics.

Here is a project that uses a couple of microphones and a relative phase shift method to determine the direction of an audio signal source. The author claims 1 degree directional accuracy! http://coolarduino.wordpress.com/2012/10/01/sound-localization/

That's an interesting project! The frequency at which it can work is limited by the ADC speed. Using an Arduino Due, it should be possible to make it work at ultrasonic frequencies.

thank you all :slight_smile:

can you send me a link for ultrasonic signal reciver and sender?

For example is this appropriate for sending and recieving signals?

The HC-SR04 is not suitable because it doesn't give you enough control over the sending and receiving. You would need to reverse-engineer the circuits and tap in to places that would give you control over the raw sender and raw receiver signals.

The sender uses two pins of the processor and a MAX232 chip to put a 40 kHz signal across the sender. You will need to modulate that signal. The receiver side amplifies and filters the return value and applies it to one of the processor pins. You will need to tap into that pin to get the raw ultrasonic signal.

Hi emreakay,

Did you managed to finish the project? Can you give us some updates?

Regards,
Nick

nikolay_zhelev:
Hi emreakay,

Emreakay is no (longer a) member of this community. S/he won't see any communication here, and can not be contacted otherwise through this board.