Sound Reactive Cube
Introduction
Today we are going to make a sound Reactive wooden cube. Which will be changing color in perfect sync to the surrounding sounds or vibration.
Hardware required
Theory
The sounds will be picked by the mic module and will be amplified and fed to the Arduino analog pin, we will read the analog pin values and using the fastLED library we will change the colors of the LEDs randomly according to the received values from the mic.
Construction
Pictures speak 1000 words.
The only libray which we have used for this project is fastLed library, we can download and install it from their Github page https://github.com/FastLED/FastLED.
Finished product
Schematics
Arduino | Mic module | Addressable WS2811 |
5V | VCC | VCC |
A5 | OUT | |
GND | GND | GND |
D5 | IN |
Programming
Installing Library. Click to expand (for beginners)
The only libray which we have used for this project is fastLed library, we can download and install it from their Github page https://github.com/FastLED/FastLED.
Steps 1:
Download the library from https://github.com/FastLED/FastLED
Download ZIP |
Step 2:
Go to Sketch menu in Arduino IDE from there select -> Include Library -> Add .ZIP Libray
and Choose the downloaded library file from your download folder.
Test One
Test Two
Video Tutorial
Code
Sound Reactive Cube
Reviewed by Abu Yazid
on
July 14, 2018
Rating: