Breaking

Site moved to https://diyusthad.com

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

 
Arduino Nano
 x
 1
 
Addressable WS2811 IC DC5V
as required 
 
Mic based Sound Sensor Module
 x
 1
 
White Wood Cube
 x as required Local carpentry

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. 


Finished product 

sound reactive cube

Schematics


Arduino

Mic module

Addressable WS2811

5V VCCVCC
A5OUT
GNDGNDGND
D5IN

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: 5
All Rights Reserved by Site Moved © 2014 - 2019

Contact Form

Name

Email *

Message *

Powered by Blogger.