2 x 16-Band Audio Spectrum Analyzer with LCD

2 x 16-band audio spectrum analyzer with Arduino Nano and 2 x 16 chars LCD display. This project is based on Shajeeb's project.

Sep 17, 2019

22446 views

5 respects

Components and supplies

4

Resistor 100k ohm

1

Capacitor 100 nF

1

Through Hole Resistor, 22 kohm

1

Arduino Nano R3

1

Alphanumeric LCD, 16 x 2

2

Through Hole Resistor, 1 kohm

Project description

Code

Source code

arduino

Source code

arduino

Downloadable files

Wireing diagram

Wireing diagram

Comments

Only logged in users can leave comments

Anonymous user

2 years ago

the author should check his work before submission to the public. Nano that becomes a UNO, 2 x 1k resistors but 1 needed, 1 x 104 cap but 2 needed. One wonders about the rest of the project!!

Anonymous user

2 years ago

byte v2[] = {B00000, B00000, B00000, B00000, B00000, B00000, B00000, B11111}; should it be? : byte v2[] = {B00000, B00000, B00000, B00000, B00000, B00000, B11111, B11111}; I am just studying the code to understand. I am new to Arduino.

ThomAce

2 years ago

Thanks for pointing out this. I just noticed it as well right now, when I'm working on a new project based on this one. (MCU driven light-organ)

Anonymous user

2 years ago

very good i have the arduino uno and cristal liquid of 16x2 but have error in code arduinoFFT.h: No such file or directory thank you

Anonymous user

2 years ago

The author has forgotten to mention the arduinoFFT library that is needed. Available here https://github.com/kosme/arduinoFFT

Anonymous user

2 years ago

Sampling(0b00000001, false); //Left channel on pin 0 Sampling(0b00000000, true); //Right channel on pin 0 just wonder...should it be? // Right channel on pin 1 that is, Left on A0 and Right on A1

ThomAce

2 years ago

Yup, that's a typo from me in the comment. Anyway, it will change nothing in the working behaviour, but thanks for highlighting.

Anonymous user

3 years ago

Sampling(0b00000001, false); //Left channel on pin 0 Sampling(0b00000000, true); //Right channel on pin 0 just wonder...should it be? // Right channel on pin 1 that is, Left on A0 and Right on A1

ThomAce

2 years ago

Yup, that's a typo from me in the comment. Anyway, it will change nothing in the working behaviour, but thanks for highlighting.

Anonymous user

3 years ago

byte v2[] = {B00000, B00000, B00000, B00000, B00000, B00000, B00000, B11111}; should it be? : byte v2[] = {B00000, B00000, B00000, B00000, B00000, B00000, B11111, B11111}; I am just studying the code to understand. I am new to Arduino.

ThomAce

2 years ago

Thanks for pointing out this. I just noticed it as well right now, when I'm working on a new project based on this one. (MCU driven light-organ)

Manu2005

3 years ago

Really nice Project! Sadly it doesn't work for me... I don't know what i did wrong. I tested the LCD Display and the Arduino nano. The hardware works fine. First when i loaded the code i got weird symbols. Then i unpluged the Arduino and pluged it in again and now one bar is to 100% the other one is not showing up at all... I would appriciate it if someone could help!

ThomAce

2 years ago

The similar issue happened to me some times, when a faulty USB cable used. I always using isolated dedicated power supply for driving arduino borads after flashing them. Remember! Although most of the USB ports could drive 2Amps, most of the cables are not suitable for this. They will not burn, however from the initial 5V, you will have - depends on the length, diameter and load - 3.5 - 4.5V. Some cases, this amount of voltage drop is enough for making arduino working faulty. More over: Arduino is very sensitive for EMI. If you feeding it with large signal while you are flashing it, you can easily kill the board as well. And at last, you have to take care of the Vpp should not exceed 3V.

papino

2 years ago

I have the same problem

Anonymous user

4 years ago

the author should check his work before submission to the public. Nano that becomes a UNO, 2 x 1k resistors but 1 needed, 1 x 104 cap but 2 needed. One wonders about the rest of the project!!

Anonymous user

4 years ago

very good i have the arduino uno and cristal liquid of 16x2 but have error in code arduinoFFT.h: No such file or directory thank you

Anonymous user

2 years ago

The author has forgotten to mention the arduinoFFT library that is needed. Available here https://github.com/kosme/arduinoFFT