Is this library working for ESP8266 (NodeMCU)? #362
-
Hello, In particular I am interested in recording from an analog microphone but I cannot even get the streams-adc-serial example to compile. The class 'AnalogAudioStream' is not defined (probably because USE_ADC_ARDUINO is not defined). Is this a bug or is the ESP8266 not supported (at least for analog input)? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
The ESP32 provides analog input with the help of of the I2S interface using DMA. |
Beta Was this translation helpful? Give feedback.
-
Oh, I did not expect such a quick answer! |
Beta Was this translation helpful? Give feedback.
-
A digital microphone should work: see https://github.com/pschatzmann/arduino-audio-tools/wiki/External-ADC |
Beta Was this translation helpful? Give feedback.
The ESP32 provides analog input with the help of of the I2S interface using DMA.
The ESP8266 does not have this functionality: so for the time being AnalogAudioStream is not supported.
And looking at the restrictions of the ESP8266 ADC it's not worth the effort.