Pages: [1]   Go Down
Author Topic: Ultrasonic Transducers  (Read 341 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 98
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So basically, i have got a pair of ultrasonic transducers 40KHZ like the ones here :
http://static.electro-tech-online.com/customimages/2011/05/ultra-1.jpg
so i decided to make a module for it that is compatible with arduino and found this great website :
http://www.kerrywong.com/2011/01/22/a-sensitive-diy-ultrasonic-range-sensor/
But its confusing as it is for a 27khz transducer, would it work for a 40khz transducer ?
Thankyou.

Logged

Minds are like parachutes. They only function when they are open.

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 596
Posts: 33283
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

But it says on that page:-
Quote
Of course, using the higher priced 40 kHz sensors should achieve even better performance.
So the answer would seem to be yes.
All you have to do is to change the code so that the arduino produces 40KHz and not 24KHz.
That is easy enough to do because the function that sets it up:-
void startTransducer(float freq, float dutyCycle)
Takes in a value for the frequency, just substitute this with your new one.
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 98
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks. Thats great. All in to make it now. !
Logged

Minds are like parachutes. They only function when they are open.

Pages: [1]   Go Up
Jump to: