Hi
I'm trying to build a system that can generate and record sounds within the range of about 0 - 50 or 55kHz.
The aim is to be able to produce sounds that e.g. rats can hear.. and possibly even mimic or play back recordings of rat sounds using the system. Would be interesting to record a rats response too .etc. Hence why we need both a way to generate sounds and record sounds. Also apart from this it would be interesting to build a frequency generator from an electronics/hobbyist perspective!
With regard to producing the sound is it as simple as hooking up a transducer/speaker to e.g. an arduino or a microcontroller of some sort and generating the frequencies using the microncontroller's pwm/timer outputs on a pin? This will produce square waves though as opposed to sine waves but still of the correct frequency right? Or do I need to use Fourier series and think of all the sine waves and harmonic frequencies that are also being produced..? Not sure if that makes sense or if I understood fourier series properly so feel free to correct me where I'm wrong.. May need an amplifier here too?
Does anyone know how the loudness of e.g. transducers change with regards to the different frequencies being produced? E.g. I've looked at normal speakers and whether e.g. hooking up a function generator to a speaker would work for what I'm trying to do but from my understanding normal speakers aren't designed to produce ultrasound? And the loudness decreases I think sharply above e.g. 20 or 22kHz since humans can't hear above these frequencies?
In terms of being able to record sounds.. Can this be done by using a transducer once again but this time it converts the sounds to electrical signals and I can just read this using e.g. an Arduino ADC pin and if I wanted to be able to e.g. hear any recorded ultrasonic sounds could the frequencies just be scaled down to the audible range by e.g. dividing by 8 or 16 or by subtracting e.g. 20 kHz if we're interested in frequencies in the 20 - 40 khZ range?
I don't know much about this topic and not sure where to begin with regards to circuit designs. Not sure if the system will be as simple as I mentioned or whether e.g. it will be more complicated and will require e.g. amplifiers, microphones, speakers.etc. Tried some books in the library but none had any practical information and circuit designs.. :/
Sorry if my post is a bit long! Any circuit designs or useful links would be much appreciated.
Thanks for your help
I'm trying to build a system that can generate and record sounds within the range of about 0 - 50 or 55kHz.
The aim is to be able to produce sounds that e.g. rats can hear.. and possibly even mimic or play back recordings of rat sounds using the system. Would be interesting to record a rats response too .etc. Hence why we need both a way to generate sounds and record sounds. Also apart from this it would be interesting to build a frequency generator from an electronics/hobbyist perspective!
With regard to producing the sound is it as simple as hooking up a transducer/speaker to e.g. an arduino or a microcontroller of some sort and generating the frequencies using the microncontroller's pwm/timer outputs on a pin? This will produce square waves though as opposed to sine waves but still of the correct frequency right? Or do I need to use Fourier series and think of all the sine waves and harmonic frequencies that are also being produced..? Not sure if that makes sense or if I understood fourier series properly so feel free to correct me where I'm wrong.. May need an amplifier here too?
Does anyone know how the loudness of e.g. transducers change with regards to the different frequencies being produced? E.g. I've looked at normal speakers and whether e.g. hooking up a function generator to a speaker would work for what I'm trying to do but from my understanding normal speakers aren't designed to produce ultrasound? And the loudness decreases I think sharply above e.g. 20 or 22kHz since humans can't hear above these frequencies?
In terms of being able to record sounds.. Can this be done by using a transducer once again but this time it converts the sounds to electrical signals and I can just read this using e.g. an Arduino ADC pin and if I wanted to be able to e.g. hear any recorded ultrasonic sounds could the frequencies just be scaled down to the audible range by e.g. dividing by 8 or 16 or by subtracting e.g. 20 kHz if we're interested in frequencies in the 20 - 40 khZ range?
I don't know much about this topic and not sure where to begin with regards to circuit designs. Not sure if the system will be as simple as I mentioned or whether e.g. it will be more complicated and will require e.g. amplifiers, microphones, speakers.etc. Tried some books in the library but none had any practical information and circuit designs.. :/
Sorry if my post is a bit long! Any circuit designs or useful links would be much appreciated.
Thanks for your help