Dual ultrasonic transmitter with custom frequency

Hi all,

I am working on a project that requires two ultrasonic signals to be transmitted within the range of 30-40 KHz.

I have the ultrasonic sensor VMA306. I'm just getting going and have some key questions to get started:

  • Can both of these be used as transmitters or are they simply transmitter and receiver? I am OK with removing these from the PCB if necessary.
  • Will I be able to emit a custom frequency out of these other than 40 KHz?
  • Should I be looking at a different type of transducer, perhaps tweeters?
  • I want to be able to confirm the ultrasonic output at the correct frequency, how can this be best achieved?

Once the hardware questions are sorted, I guess the coding questions will come.

I'm sure you will have more questions to put this in more context so fire them my way.

Cheers in advance! 8)

  1. The transducers are most likely identical and can be used either as TX or RX

  2. Yes, with efficiency rapidly decreasing, the further you depart from 40 kHz (or whatever the transducer resonant frequency might be).

  3. For what purpose?

  4. Use an oscilloscope.

Thanks J,

  1. Wohoo!
  2. Ok, I will have to test this.
  3. Not relevant if the VMA306 transducers are both capable of TX AND decreased efficiency is still within parameters.
  4. That's gonna break my bank, right? Is there another way, e.g. a third ultrasonic RX with a simple readout?

Theodoridis:
Thanks J,

  1. Wohoo!
  2. Ok, I will have to test this.
  3. Not relevant if the VMA306 transducers are both capable of TX AND decreased efficiency is still within parameters.
  4. That's gonna break my bank, right? Is there another way, e.g. a third ultrasonic RX with a simple readout?

Break the bank for a scope? I don't think so. Last week I sold a perfectly good 20meg scope for $40.00. There are lots of them available for less. For your frequencies, almost ANY scope would work.

Paul

a third ultrasonic RX with a simple readout?

If you ever find one, please post a link.

Consider taking a moment to tell us how you will generate the frequencies of interest, and drive the transducer.

Hi,
Can you tell us the application that need two ultrasonic pairs to be on different frequencies?

How far apart do you want the frequencies?

If you want to operate both units at the same time, please consider this;

The units are tuned to operate at a particular frequency, in part this is a physical property, so changing frequency may not be possible.
Even if you can move the frequency of operation, if your aim is to operate them at the same time, the Rx may not have the selectivity to block any signal not on its tuned frequency.
This means that it will receive both reflections but not be able to tell which signal came from which Tx.

Tom... :slight_smile:

Obviously I'm a complete noob at everything I am trying here so I really appreciate the patient advice from all of you on this project.

Paul_KD7HB:
Break the bank for a scope? I don't think so. Last week I sold a perfectly good 20meg scope for $40.00. There are lots of them available for less. For your frequencies, almost ANY scope would work.

Paul

jremington:
If you ever find one, please post a link.

Ok, I hear you two. I need an oscilloscope and they are not as expensive as I thought they would be.

A quick Amazon search showed a lot of handheld devices within a reasonable price range but I note that they all require an input.

  1. Is this the kind of device I need? http://www.quimat.cn/cpzs/sjpj/331.html
  2. How do I get the ultrasonic input to measure to the device?

TG, in response to your two questions in order:

  • There are a few different things I want to try including transmitting two different frequencies to be received to measure distance.
  • The greatest difference I need is 5 kHz, so each in being able to change frequency by 2.5 KHz in opposite directions is necessary.

TomGeorge:
The units are tuned to operate at a particular frequency, in part this is a physical property, so changing frequency may not be possible.

Right, I hear you, it's also something J mentioned. I also understand how the same physics would prevent the RX from performing optimally. This seems like it will certainly be a problem. I don't want to have amplitude issues across the different frequencies.

So, I could test these small transducers but their specific purpose is not compatible with my experiments. This brings me back to the ideas of using tweeters. I've seen this pair which have a range of 4-40 KHz.

jremington:
… how you will generate the frequencies of interest, and drive the transducer.

I'm hoping to be able to use a DDS signal generator that can go up to 40 MHz apparently. The AD9850.

The Arduino can generate any frequency of interest in that range. I recommend to use Timer1, which can effectively place 10VAC on the emitter, by alternating signals on two pins.

Don't let me talk you out of experimenting, but when I tried something similar to what you propose, I found that those transducers work very poorly off of 40 kHz: Using HCSR 04 for communication - Project Guidance - Arduino Forum

I'm unclear on how you propose to measure range between sensors is supposed to work, but this thread documents my reasonably successful experiment in one-way ultrasonic ranging synced with a radio link: Communication Between 2 Ultrasonic Sensors - Project Guidance - Arduino Forum. Also worth noting that the waveforms in post 20 of that link were done with a very inexpensive logic analyzer (Salae clone) and Sigrok open source software.

Informative, but far too long video tearing down and characterizing the transducers in the HC-SR04 rangefinder.
The 40 kHz resonance is indeed pretty sharp.

jremington:
The Arduino can generate any frequency of interest in that range.

Right. I actually discovered the arduino-pwm-frequency-library after purchasing the AD9850. I will also check out Timer 1 as you recommend... looks like I have a lot more to learn on the programming side.

Good find with the video, that rules out the HC-SR04.

So the questions (5 & 6 above) remain regarding the oscilloscope, and whether the XTC PT-1 Piezo Tweeters Pair will do the trick.

Again, I am grateful for all your suggestions and wisdom.