How to interface Microphone preamp with MATLAB A-weighting filter?
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Shruti Modak
el 3 de Mzo. de 2016
Respondida: Martin Esteban Rivero Carrillo
el 7 de Mzo. de 2016
I have an Electret Microphone amplifier MAX4466 and using the signal that it picks up to measure peak-to-peak amplitude level using arduino. I need to send this signal as an input to MATLAB where I can fiter it using A-weighting. Please suggest how I can provide the analog output of the sensor from my arduino uno to MATLAB.
0 comentarios
Respuestas (1)
Martin Esteban Rivero Carrillo
el 7 de Mzo. de 2016
I also have been trying to digitize audio signals from a preamplified electret microphone using Arduino and Matlab/Simulink. I'm having trouble because of the high frequency of sound signals (20kHz or so)
From matlab i used the "GetAnalogInput.m" file to retrieve data, but by using the "tic-toc" matlab functions and seeing the final plot, it is evident that the sample frequency is low, around 55Hz.
From Simulink, there is the advantage that one can set the sample time of the Analog Input Block, but i am having problems retrieving the data. I created a model to deploy on arduino that reads the adc input and sends it to serial, and a model to run on PC that reads the serial data and saves it to workspace using scope.
I attached the .m file and image plotted from Matlab aswell as the Simulink models to run on arduino and PC.
Any help would be very appreciated.
0 comentarios
Ver también
Categorías
Más información sobre Simulation, Tuning, and Visualization en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!