Solar powered noise measuring business card
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Clyne e6a7ebe50c
finish up rev2 design
5 months ago
cfg wip: prep code for brief execution 6 months ago
hardware finish up rev2 design 5 months ago
qfplib-m0-full-20240105 use qfplib; fix I2S clock 6 months ago
.gitignore schematic cleanup 5 months ago
LICENSE license source code 6 months ago
Makefile go os-less; filter in sram; consider dynamic freq 6 months ago
README.md add readme 6 months ago
STM32G031x6.ld go os-less; filter in sram; consider dynamic freq 6 months ago
board.c move io config to board.c 5 months ago
board.h move io config to board.c 5 months ago
main.cpp make led show a little longer 5 months ago
osalconf.h sleeponexit; give up on fast clock 6 months ago
qfplib-port.h go os-less; filter in sram; consider dynamic freq 6 months ago
sos-iir-filter.h go os-less; filter in sram; consider dynamic freq 6 months ago

README.md

NoiseCard

NoiseCard is an attempt to build a dead easy tool for monitoring ambient noise levels. The ultra-low-power microcontroller takes periodic decibel measurements while powered on, using blinking LEDs for indication. The circuit requires only a few milliwatts to run, enabling it to run off of direct solar power without a battery (though some large capacitors provide a small reserve).

Ambient noise levels in populated areas, especially North America, can often exceed what is considered safe for our ears, with prolonged exposure leading to lasting impacts on our health. Through a tool like the NoiseCard, people can become more aware of the noisy environments they're living in (and potentially take action to reduce excess noise exposure).

Building the source

You need:

Extract ChibiOS to a folder, edit the Makefile so CHIBIOS points to that folder, then run make.

Credits

  • ESP32-I2S-SLM for a starting point with accurate decibel-measuring code.
  • Qfplib for providing optimized floating-point code for the Cortex-M0+ microcontroller.
  • ChibiOS for providing an awesome RTOS and HAL that made firmware porting and device configuration a breeze.