Sound Reactive Cube

Sound Reactive Cube

Introduction

Today we are going to make a Arduino powered sound reactive wooden cube. Which will be changing color in perfect sync to the surrounding sounds or vibration.

Hardware required

ComponentsAmazon.inamazonAmazon.comamazonBanggoodbanggoodAliExpressali express
Arduino Nanocart iconcart iconcart iconcart icon
Addressable WS2811 5vcart iconcart iconcart iconcart icon
Mic based Sound Sensor Modulecart iconcart iconcart iconcart icon
White Wood Cube

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

Finished Product Photos

Schematics

ArduinoMic moduleAddressable WS2811
5V VCCVCC
A5OUT
GNDGNDGND
D5IN

Programming 

 

Installing Library.  Click to expand (for beginners)

The only library 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.

Step 1: 

Download the library from https://github.com/FastLED/FastLED
 
Download ZIP

Step 2:

Go to the Sketch menu in Arduino IDE from there select -> Include Library -> Add.ZIP Libray and Choose the downloaded library file from your download folder.
 
 
 
 

Test Video

Video Tutorial

Code

This Post Has 2 Comments

  1. Great job yaar ��

    1. thank you

Leave a Reply

×
×

Basket