Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By schufti
#66896 but even in arduino it is possible to turn off / modemsleep wifi.
Topics to investigate:
    how the sampling clock is set
    if timerinterrupt routine alows for reading and storing adc sample, as interrupt routines are tricky in esp arduino

maybe it can help to use some spi-ram
User avatar
By whyphi
#66900 Ok, i wrote a test code.
The ADC is read in a timer ISR every 126 us (8 kSps).
512 samples are taken which gives a total sampling-time period of 64 ms.
After that, FFT is performed and output over the serial port.
All that is repeated every 500 ms
This works fine with the esp8266.
User avatar
By BananaWarrior
#68176 @whyphi Could you share a gist of your code? I need to implement something similar for stepper control, but am both an Arduino and esp8266 novice. A working template would be a welcome bootstrap beginning.