]> code.bitgloo.com Git - clyne/noisecard.git/summary
 
descriptionAn ambient noise monitor in credit card form
ownerClyne Sullivan
last changeThu, 13 Jun 2024 11:23:31 +0000 (07:23 -0400)

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.

Flashing the card

You'll need a 6-pin Tag-Connect cable (e.g. TC2030-CTX-NL), compatible programmer, and OpenOCD. Power up the card and run the following command (using the appropriate interface scripts for your programmer):

openocd -f interface/ftdi/olimex-arm-usb-ocd-h.cfg -f interface/ftdi/olimex-arm-jtag-swd.cfg -f target/stm32g0x.cfg -c "program build/ch.hex verify reset exit"

Credits

shortlog
2024-06-13 Clyne Sullivanprune qfplib to save 4.5kB main
2024-06-11 ClyneMerge pull request 'pcb-bringup' (#1) from pcb-bringup...
2024-06-11 Clyne Sullivanmake led show a little longer 1/head
2024-06-10 Clyne Sullivanmove io config to board.c
2024-06-10 Clyne Sullivanstop using stride term
2024-06-10 Clyne Sullivanpcb firmware working
2024-06-10 Clyne Sullivanschematic cleanup
2024-06-08 Clyne Sullivanwip: prep code for brief execution
2024-06-08 Clyne Sullivansleeponexit; give up on fast clock
2024-06-07 Clyne Sullivango os-less; filter in sram; consider dynamic freq
2024-06-05 Clyne Sullivanadd readme
2024-06-05 Clyne Sullivanlicense source code
2024-06-05 Clyne Sullivanadd hardware files
2024-06-05 Clyne Sullivanfix qfplib dependence; clean up filter()
2024-06-02 Clyne Sullivanuse qfplib; fix I2S clock
2024-06-01 Clyne Sullivaninitial commit
heads
13 months ago pcb-rev2
14 months ago main