How to Make Music Reactive LEDs

Introduction

In many places, we see that when the music plays, LED lights react to the music. This reaction of LEDs change the aura of the atmosphere according to the music, mood and situation. In the tutorial, we will see how make music reactive LEDs using Arduino.

Electronics Starter kit Tools:

Soldering Iron – https://www.banggood.in/custlink/DKGKUAqCKa
Solder wire – https://www.banggood.in/custlink/mv3vks2ROf
Helping Hands – https://www.banggood.in/custlink/vmvmMAqd0C
Hot Glue – https://www.banggood.in/custlink/D3GDMAkWDS

Schematic & Code

Step 1: Choosing adequate components

We first need to have the most important component in the project, the LED. We are not going to use normal LEDs that we find in the market. Instead, we will be using WS2812B individual addressible RGB LEDs. We can control the entire strip using a single pin in the Arduino. And this is why it is advantageous to use these LEDs.

Note: When we resolder the strip, we need to follow the arrow line show in the strip such that we will not face any problem in testing the circuit.

Step 2: Choose components for sound sensing

If we need the LEDs to react to the music, we need to have a component which will sense the musical notes. Thus, we will be using analog sound sensor to serve the purpose. It has a microphone which senses the sound, and LM358 (which is an operational amplifier), which will strengthen the audio signal. In this project, we have used Arduino beetle. But we can also use Arduino Nano or Pro mini.

Step 3: Assemble the circuit

Solder the components into their place. The schematic will be given below. After soldering, we need to upload program on Arduino. Once done, Place the assembly in a desired place and see the music reactive LEDs working flawlessly working!

Leave a Reply