Stephen Barrett
Published © GPL3+

Noise pollution monitor

For this project I created a vu monitor using the circuit playground express to bring awareness to noise pollution.

BeginnerFull instructions provided1 hour17
Noise pollution monitor

Things used in this project

Hardware components

Circuit Playground Express
Adafruit Circuit Playground Express
×1
Li-Polymer Battery, 150mAh
Li-Polymer Battery, 150mAh
×1
USB-A to Micro-USB Cable
USB-A to Micro-USB Cable
×1

Story

Read more

Code

vu monitor code

JavaScript
plug and play
modified from the adafruit site.
input.onSwitchMoved(SwitchDirection.Right, function () {
    light.setBrightness(255)
})
input.onSwitchMoved(SwitchDirection.Left, function () {
    light.setBrightness(10)
})
forever(function () {
    light.graph(input.soundLevel(), 200)
})

Credits

Stephen Barrett
3 projects • 0 followers
Contact

Comments

Please log in or sign up to comment.