Page 1 of 1

Use the vs1053b chip as microphone input to read external sound intensity in DB.

Posted: Wed 2018-03-14 22:57
by Jaime Kopp
Help for use the vs1053b chip with ARM7 without MMC, I need read through the microphone sound intensity to adjust the volume. Only example.
I use Arduino compiler.

Re: Use the vs1053b chip as microphone input to read external sound intensity in DB.

Posted: Tue 2018-05-15 11:09
by pasi
You can read instantaneous values using the SCI registers to enable the ADC and then reading values asynchronously:
viewtopic.php?t=29

Note: due to a hardware bug you can disable / enable the ADC only once after each hardware reset or the ADC channels may be swapped. A software reset should not disable the ADC though, so writing a new enable should not do anything.

Reading values asynchronously isn't as good as a proper level indicator though.