Hi all,
I just started using Teensy 3.1 for a couple of days. My project is to use a microphone with teensy 3.1 and capture some high frequency voice (around 20KHz, almost the maximum for microphone). The microphone is connected to Pin A2 which is an analog pin, and I use the internal ADC from teensy. In order to get information at around 20KHz, I need to have a sampling rate of 44.1KHz for ADC, but when I check the API for analogread(), in arduino forum, it can read signal at 9.1KHz at most. Does it mean that my project cannot achieved by this setup?
And I am not so clear about whether the problem is the analogread() function cannot read signal fast enough, or the ADC sampling is not fast enough.
If the problem is at the analogread() function, please tell me an alternative way to do it.
Thanks.
I just started using Teensy 3.1 for a couple of days. My project is to use a microphone with teensy 3.1 and capture some high frequency voice (around 20KHz, almost the maximum for microphone). The microphone is connected to Pin A2 which is an analog pin, and I use the internal ADC from teensy. In order to get information at around 20KHz, I need to have a sampling rate of 44.1KHz for ADC, but when I check the API for analogread(), in arduino forum, it can read signal at 9.1KHz at most. Does it mean that my project cannot achieved by this setup?
And I am not so clear about whether the problem is the analogread() function cannot read signal fast enough, or the ADC sampling is not fast enough.
If the problem is at the analogread() function, please tell me an alternative way to do it.
Thanks.