Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Arduino BLINK Blueprints

You're reading from   Arduino BLINK Blueprints Get the most out of your Arduino to develop exciting and creative LED-based projects

Arrow left icon
Product type Paperback
Published in May 2016
Publisher Packt
ISBN-13 9781785284182
Length 134 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Utsav Shah Utsav Shah
Author Profile Icon Utsav Shah
Utsav Shah
Samarth Shah Samarth Shah
Author Profile Icon Samarth Shah
Samarth Shah
Arrow right icon
View More author details
Toc

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:

Sound visualization using Arduino

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:

Sound visualization using Arduino

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...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime