This code lights up a NeoPixel ring according to the sound volume in the environment.
- Each NeoPixel includes three distinct LEDs: one red, one green and one blue.
- The Arduino code lights up each of the LED colors seperately according to the sound picked up by the sensor:
- Red: brightness ramps up from 0% to 100% in a linear fashion.
- Green: brightness ramps down from 20% to 0% along a 1/x graph.
- Blue: brightness increases from 0% to 50% and then decreases back to 0% along a gaussian graph.
- 1 Arduino Uno
- 1 NeoPixel Ring 12
- 2 100 ohm Resistors
- 1 47uF, 35V Polarized Capacitor
- 1 MAX4466 Microphone Amplifier
- The NeoPixel ring requires 5V to operate
- The MAX4466 Microphone Amplifier requires 3V to operate (don't burn it out)
- Without the Resistors and Capacitor, the readings from the MAX4466 Microphone Amplifier will be all wrong, don't leave them out