Hi guys, In this tutorial we will make music reactive LED visualizer with Arduino. Series of light On/Off according to music. So, lets get started.
For making this project you will need,
- 8 LED.
- Hackster is a community dedicated to learning hardware, from beginner to pro. Share your projects and learn from other developers. Come build awesome hardware!
- Plug & play: In combination with Arduino Simple FOC library; Low-cost: Price of €15 - Check the pricing; Max power 120W - max current 5A, power-supply 12-24V. Designed for Gimbal motors with the internal resistance 10 Ωs. Stackable: running 2 motors in the same time; Encoder/Hall sensor interface: Integrated 3.3kΩ pullups (configurable); I2C interface: Integrated 4.7kΩ pullups.
Connect circuit like this.
We are taking sound from sound sensor and giving output to LED light based on sound intensity.
Sometimes you may need to connect an Arduino to a Raspberry Pi. For example, if you have sensors, motors, and actuators, you can connect these to the Arduino and make the Arduino send values to and from the Raspberry Pi. Wiring diagram mlx90614 and arduino. SCL - SCL or A5. SDA - SDA or A4 You can choose to connect sensor I²C pin to arduino SCL, SDA.
Sketch for sound activated music equalizer:
Upload the code. Open serial monitor to note the sensor values.
We want to know minimum and maximum output values which is given by sound sensor. Play music to know maximum value and no music for minimum value. This value should be in between 0 to 1023.
We will add that values in coding. So that whenever music play at highest beat or sound it will turn on all LED light, when there is no sound it will turn off all the LED light. It will gradually ON or OFF depends on music. So we have created our own sound activated disco music visualizer LED with Arduino.

Explanation:
Contact Microphone Arduino
Lets come to the programming part.
Defined sound pin and LED.
Set pinmode for LED light i.e Output
Now we are taking 100 sample of sound, you can take any number of sample.
we will average this sample,
finally we can set which output of sound will turn which light, you can play with this values until you get perfect result.
you can watch on serial monitor, what sound values you are getting it will be from 0 to 1023. You can adjust above code accordingly.
Cambridge igcsegeography. Now upload the code, Your Arduino music reactive LED equalizer is ready.
Keep Learning Keep Making.
This FREE arduino nano driver provides 12 dry contact inputs to your Control4 system through serial based communication. This is useful for connecting input based devices such as doorbells, motion sensors, door/window contacts, garage/gate sensors and more to Control4.
A basic understanding of electronics is required to build this extremely cheap solution.
Arduino Non Contact Thermometer
Parts Required
- Adruino Nano (or 3rd party chinese copy) - $6
- Serial to TTL converter (eg Max232) - $5
- Misc cable/connectors ($4)
FREE DOWNLOAD
This is a free driver provided by Chowmain Software & Apps. As a free driver it comes as is and without support.
