SONAR WITH PYTHON and conference call HARDWARE
[Jason] just tipped us off about his recent experiment, in which he creates a sonar system using conventional audio equipment and a custom-made Python program. In case some of our readers don’t already know it, Sonar is a technique that uses sound propagation to discover objects on or under the surface of the water. It is frequently used in submarines and boats for navigation. [Jason]’s project uses active sonar, which consists in sending short audio bursts (chirps) and listening for echoes. The longer it takes for the echo to return, the additionally the object is. though his proof of concept is not used underwater, that may change if he continues the project.
The audio editing software Audacity was used to make a fast frequency changing chirp, along with PyAudio libraries for the main Python program. exact time of arrival is detected by correlating the microphone output with the transmitted signal. given that [Jason] uses audible frequencies, we think that the final result shown in the video embedded below is quite nice.