I2S sound recorder using only ULP - Possible?
Posted: Fri Nov 18, 2022 6:55 am
Hello,
I hope i am in the correct forum for my question.
For our elephant-sound-recorders we try to build a recorder which can run 24/7 on a small solar panel. Basically a ESP32 with a digital microphone and a connected SD card.
We already built a few working recorders, which work great but the solar panels in the jungle can't keep up if the main processor is doing the work (Already reduced to 80MHz). I am no expert but as far as i understand the ULP should be sufficient to "route" the sound from the I2S microphone over memory to the SD card and write a wav file, right? So we would be able to record in sleep mode. And then the solar panel would be enough even in the shade.
The ULP runs with 8MHz which should be more than enough to deal with i2s signals even for sample rates higher than 44KHz. Has someone done that already?
I have a few questions for that approach:
- Will the sound quality be affected in any way by using ULP?
- If it is possible in theory. Can it be done "easily"?
- So if i find someone who can do that on freelancer.com for example. Would a few hundred dollars be enough?- I'm hoping to get a max.power consumption of 5mA. Realistic?
- Or would it be easier to just add an external clock for recording instead of using the ULP?
Why do we use the ESP32? We still need to wake up the main cpu a few times per day for more CPU hungry tasks. At the end this "recorder" should become a elephant detector.
Wish I could do it myself but my hobbyist knowledge is not enough unfortunately. That' why i am asking here first before i try to hire someone on freelancer.com
As a non profit organization we have limited resources if it comes to money. Doesn't make things easy. But to use the ULP for recording would bring us a big step closer to reach our aim which is a solution for human-elephant conflict. At the end your help will save elephants (and humans).
Thanks for taking your time to read this post. Any advice is appreciated.
If interested. You can find more information about our work on the open source elephant detector at https://wildlifebug.com
I hope i am in the correct forum for my question.
For our elephant-sound-recorders we try to build a recorder which can run 24/7 on a small solar panel. Basically a ESP32 with a digital microphone and a connected SD card.
We already built a few working recorders, which work great but the solar panels in the jungle can't keep up if the main processor is doing the work (Already reduced to 80MHz). I am no expert but as far as i understand the ULP should be sufficient to "route" the sound from the I2S microphone over memory to the SD card and write a wav file, right? So we would be able to record in sleep mode. And then the solar panel would be enough even in the shade.
The ULP runs with 8MHz which should be more than enough to deal with i2s signals even for sample rates higher than 44KHz. Has someone done that already?
I have a few questions for that approach:
- Will the sound quality be affected in any way by using ULP?
- If it is possible in theory. Can it be done "easily"?
- So if i find someone who can do that on freelancer.com for example. Would a few hundred dollars be enough?- I'm hoping to get a max.power consumption of 5mA. Realistic?
- Or would it be easier to just add an external clock for recording instead of using the ULP?
Why do we use the ESP32? We still need to wake up the main cpu a few times per day for more CPU hungry tasks. At the end this "recorder" should become a elephant detector.
Wish I could do it myself but my hobbyist knowledge is not enough unfortunately. That' why i am asking here first before i try to hire someone on freelancer.com
As a non profit organization we have limited resources if it comes to money. Doesn't make things easy. But to use the ULP for recording would bring us a big step closer to reach our aim which is a solution for human-elephant conflict. At the end your help will save elephants (and humans).
Thanks for taking your time to read this post. Any advice is appreciated.
If interested. You can find more information about our work on the open source elephant detector at https://wildlifebug.com