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

Do you have a link where I can buy the product this driver is tested on? #7

Closed
magnublo opened this issue Sep 20, 2020 · 3 comments
Closed

Comments

@magnublo
Copy link

Great work on this driver!

I have a problem similar to that of @HaasNL2 in the other issue. A big industrial plant is being built next to my home, and I need to document the noise. I plan on mounting the decibel meter outside my house, wire it to a Raspberry Pi, periodically push the data to GitHub, and use GitHub Actions and Twitter API to automatically make a tweet every time the noise exceeds the law, and tag relevant politicians in the tweet. I plan to run it 24/7. If you immediately see a technical reason that this will not work out, it would be great if you let me know ;)

Do you know where I can buy a device which this driver is known to work on? The README.md specifies serial number HA:1303162, but I can't find a product listing when I google it...

@davegudge
Copy link
Contributor

Here's the cover of the manual for the hardware I purchased:

IMG_2760

amazon link

@magnublo
Copy link
Author

Thanks a lot! It's in the mail now.

@davegudge
Copy link
Contributor

periodically push the data to GitHub, and use GitHub Actions and Twitter API to automatically make a tweet every time the noise exceeds the law, and tag relevant politicians in the tweet. I plan to run it 24/7. If you immediately see a technical reason that this will not work out, it would be great if you let me know ;)

I'm not sure how much flexibility GitHub Actions will give you. You may be better off 'working' with the data on the Raspberry Pi, and then posting to Twitter (from the Raspberry Pi).

You will probably find that you'll need to sample the data to detemine a breach of a given threshold, for example, if you look at the output below (raw data vs 5 second sample vs a 10 second sample):

sample

If I defined by breach threshold as 65db(A), a lot of tweets would have been sent when using the raw data (the narrow peaks are cars passing). The red line (5 second average) and the blue line (10 second average) give you a better idea of an ongoing loud noise.

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

2 participants