Sound visualization using Arduino
After understanding the basics of sound visualization, we will move on to implement sound visualization using Arduino. Before we develop our LED Christmas tree, we will develop sound visualization on an LED matrix.
An LED matrix is a combination of 64 LEDs connected together as shown in the following circuit. As Arduino doesn't have 64 pins, we can't connect individual pins to control each LED. Instead, we will use the concept of multiplexing:
With the use of multiplexing, we can control any number of LEDs with Arduino. For controlling an 8 x 8 LED matrix, we need one multiplexer circuit. We can use the backpack from adafruit for the multiplexer, or a MAX7219 Dot Matrix MCU Control for the multiplexer part:
So, now we do not need to use a lot of pins to control this LED matrix. Instead, we require only four pins to control this LED matrix.
You will need the following components for a music-controlled LED matrix:
- Analog Mic Sensor
- 8 x 8 LED matrix with...