Recording audio wav file and upload it to web server

hello, is it possible to use WeMos D1 Mini 12f board to record my voice using the sound sensor module KY-038 (then store it in MicroSD module) <- if neccesry and after that upload it to my web server using either FTP or HTTP? if so please guide me to where i should start and which library should i use to make this project
Thanks in advance.

I guess you missed this part relating to the KY-038: "This sensor is ideally suited for threshold measurement. This means that the sensor emits a digital high signal as soon as a threshold value set by the user is exceeded. However, this also means that the analog measured values are not suitable for conversions, as the analog signal is also influenced by the rotary potentiometer.".

Moreover, when you write to an SD card, that is a BLOCKING function, meaning that NO other part of your program will run, including recording and audio.

So, the whole project is a non-starter.

Thanks for your reply, i have a question i came a cross this library for recording an wav file i think that gonna be helpful right ? i also search for some way to upload the wav file which also i came across FTPClient_generic and i have test it it connects to my FTP server, but still not sure that it can be done with it do you think i should try with them? is it worth it?

You must determine if this or any way of saving your recording information and at the same time continue recording your audio stream. They must be able to be done at the same time or you will have BIG gaps in the audio.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.