Tuesday, 6 August 2019

arduino - How to Wire Up Ultrasonic Transducer


I want to use the direct time of flight method to measure the distance between a person carrying an arduino and a certain part of the room. I have come across many different boards which can easily be connected to the arduino to measure distance using the reflecting time of flight method, but because of the nature of my project, these boards won't work for me.


I have sourced these sensors: Pair Aluminum Housing 40KHz Ultrasonic Transducer Transmitter Receiver. I am considering buying them, but first, I need to be sure that they will work. I have spent hours searching for instructions on how I can connect them to my arduino, but have had no luck.


Can someone please give me some simple instructions on how to connect this thing to my arduino? I basically need one of them on one arduino, which will transmit the ultrasonic wave at certain intervals, and another one on a separate arduino, which will listen for the ultrasonic waves.



Answer




See Kerry Wong's article


You'll need to create something like the following circuits


enter image description here enter image description here


Personally I'd buy one of the pre-built modules that are much easier to use


enter image description here


As others have noted, using separate Arduinos for transmit and receive will make the project much more complex and less accurate.


I haven't tried any of the above and can't vouch for it.




Polarity is given in the datasheets. sometimes the +ve leg is longer.


enter image description here



No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...