Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sound meter #4

Open
nonnih opened this issue Jun 23, 2020 · 3 comments
Open

Sound meter #4

nonnih opened this issue Jun 23, 2020 · 3 comments

Comments

@nonnih
Copy link

nonnih commented Jun 23, 2020

Thanks alot for this great project, i am currently implementing 10x in a factory to measure pollution and this is helping us alot as we can control the HVAC much better in real time and i tried to go with the MQTT way, but your ways is fantastic. There is one thing i see that is missing and would benefit alot is that the enviro+ board has a sound sensor, and with that i could also log "sound pollution". Can you or someone add that to the script to pull the sound. Again thanks!!! :)

@tijmenvandenbrink
Copy link
Owner

Hi Nonnih, what would you like to measure? I see there are two examples in the enviroplus-python repo. One which measures amps at three given frequencies and the other generating a noise profile (i.e. Bins all frequencies into 3 weighted groups expressed as a percentage of the total frequency range.)

Let me know what makes most sense.

@KindOfOK
Copy link

KindOfOK commented Feb 7, 2021

I entirely agree, and would love for some code to be included! I also saw the 'examples' provided by Pimironi but neither seemed to work as-provided out of a clean, fresh install from their script (as of Jan and Feb 2021). Perhaps I'm missing something and/or perhaps the Pimironi examples are borked. Can you provide your experience/success and whether you'd be willing to add any code in your repository and/or contribute any fix upstream to the examples?

Also, for context, I'm pretty new to all this python and sensor world, so I could be missing something!!

@HOD42
Copy link

HOD42 commented Feb 16, 2022

I would suggest using the Pimoroni examples/noise-amps-at-freqs.py as the basis. Personally, I'm just after a general "noise" level, so any/all of the 3 frequencies would be of interest. Maybe treat in a similar way to the PM sensor readings?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants