Introduction: LinkitONE Sound Equalizer

About: I build products which solve real world problems.

Do you want to do something fun with your hardware? like to play music? then lets make a diy sound equalizer? Then lets get started!

Here I’ll show you how you can make a diy equalizer with a sound sensor and a LinkitONE!

Step 1: What Do You Need?

1) LinkitONE Board

2) Sound sensor (Any would work)

3) micro-USB cable (for programming)

4) battery pack

5) Grove LED bar

Step 2: Working With Grove LED Bar

In this step we’ll make all the connections.

We’ll use 4 pins for the LED bar. Bar to LinkitONE connections:

VCC – 5V

GND – GND

DATA PIN (white) – 8

CLOCK PIN (yellow) – 9

Connect all these pins as shown in the figure. Then move on to the next step.

Step 3: Attaching the Sensor

Here we’ll attach the sound sensor with the LinkitONE.

Sound Sensor to LinkitONE connections:

VCC – 5V

GND – GND

DATA – A1

Connect the pins as shown in the image of step.

Once this is done, move on the next step of writing some code.

Step 4: Writing Some Code

The code is really simple in this project, we just need to take analog readings from our sensors, which is the intensity of the sound and then we need to present on a bar level using the grove LED bar.

You'll have to download the Grove LED bar library from github here- https://github.com/Seeed-Studio/Grove_LED_Bar

CODE:

---------------

#include

Grove_LED_Bar bar(9, 8, 0);

void setup()

{

bar.begin();

}

void loop()

{

bar.setLevel(analogRead(1)/100);

delay(100);

}

----------------------

Now download and burn this code into your board and finalize the design.

Step 5: Finalizing It

Now finalize it by attaching all the wires and checking the connections.

Attach the battery pack as well so it works stand-alone.

Step 6: Testing It Out!

Now test the device out by clapping! You’ll see a change the the grove bar level!

Congrats! You’ve made your own sound equalizer!

Tech Contest

Participated in the
Tech Contest