0

Using Arduino/Trinket to read data from MAX9814 microphone
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Using Arduino/Trinket to read data from MAX9814 microphone

by amekhanik on Mon Mar 20, 2017 7:27 pm

Hi,

I am doing a project where I am using the MAX9814 microphone and am trying to simply pass the data read by it into either an Arduino Uno or Adafruit Trinket 5V out to a 3.5 mm headphone jack. What is happening is that when the mic is plugged straight into the headphone jack, it works fine, I can hear the audio picked up through headphones perfectly. However, when I then put a microcontroller in between (using analogRead and analogWrite), I lose all sound quality and it is only able to pick up loud spikes, such a clap or yell.

Could this just be a problem with the quality of the ADC/DAC in the micros?

amekhanik
 
Posts: 1
Joined: Mon Mar 20, 2017 6:39 pm

Re: Using Arduino/Trinket to read data from MAX9814 micropho

by adafruit_support_bill on Mon Mar 20, 2017 7:44 pm

The Trinket does not have a DAC. The Arduino analogWrite() function does not generate an analog voltage. It controls PWM duty-cycle .
https://www.arduino.cc/en/Reference/analogWrite

adafruit_support_bill
 
Posts: 60300
Joined: Sat Feb 07, 2009 10:11 am

Please be positive and constructive with your questions and comments.