hbitter / DNMS

Digital Noise Measurement Sensor
https://hbitter.github.io/DNMS/
GNU General Public License v3.0
70 stars 23 forks source link

Question: why Teensy and not ESP32? #28

Closed DeeKey closed 1 year ago

DeeKey commented 3 years ago

Why to use expensive Teensy board and not ESP32 which also has LoRa support? Is it theoretically possible to use ESP32 for combining both DNMS and AirRohr sensors? If yes then what is needed to implement this?

glosair commented 3 years ago

The Teensy is used for it's raw processing power as the Mic is being monitored 24/7 to give the average sound level not point measurements that would be meaningless.

hbitter commented 3 years ago

Hi DeeKey,

the selection of the Teensy Boards (3.6 and than 4.0) had mostly two reasons:

I don't think it is really a good idea to combine all the functions especially for DNMS and all the communication tasks on one microcontroller. Yes, theoretically it would be possible but it would loose simplicity and openness. We plan to do some frequency domain analysis in the future as well and therefore a lot of processing powers has to be available and as glosair said, noise measurement is a continous task not a spot measurement. Hope this explains the motivation behind the decisions. Regards, Helmut

DeeKey commented 3 years ago

Thank you for the comprehensive answer. It should definitely be added to FAQ section. Let the issue be opened for now. So that others will read it as well.

DeeKey commented 3 years ago

I was given a link which might pose an interest for this issue. Here is both code and prototype description of the sound meter based on ESP32 with the same type of microphone ICS-43434. Maybe it be of interest... https://github.com/ikostoski/esp32-i2s-slm

hbitter commented 3 years ago

Hi DeeKey,

there is more information about the ESP32 project of Ivan Kostoski on this Hackaday page. Also the limitations of the ESP32 are described when it comes to 64-bit floating point. Regards, Helmut

DeeKey commented 3 years ago

Just for information: some details about performance of ESP32 https://www.esp32.com/viewtopic.php?f=14&t=800&sid=fb9d650ee6806b018767f48359b33d9d&start=20