Design scheme of FM audio spectrum analyzer based on MSP430

1 Introduction

In the actual broadcast television transmission work, the incoming test of the new transmitter, the daily indicator test of the transmitter, etc. all involve audio testing. The audio spectrum analyzer designed in this paper is to measure the spectrum of the audio signal from the perspective of the signal source, so as to determine the size of each frequency component, and provide reference for each audio index of the FM radio.

In this paper, the design scheme of the audio spectrum analyzer with MSP43 processor as the core is proposed. Guided by the relevant theoretical knowledge of digital signal processing, the advantages of the MSP430 processor are used to design and improve the audio spectrum, and finally the display on the TFT liquid crystal HD66772 is realized.

2. Spectrum analyzer design principle

Since the data processed in the digital system is obtained by sampling, the obtained data is necessarily discrete. For discrete data, a discrete Fourier transform is applied for processing.

Fast Fourier transform, which is a fast algorithm of discrete Fourier transform, can also be used to calculate the inverse transform of discrete Fourier transform, which has been widely adopted by digital spectrum analyzers. For a complex sequence of length N 0 1 1 , , , N ? Xx L x , the discrete Fourier transform formula is:

Discrete Fourier transform formula

Then a sequence of operations is decomposed into the form of the sum of the two operations, ( ) 1 X k and ( ) 2 X k can continue to be decomposed down, and finally decomposed into two points of FFT operations. If the output after the FFT operation is desired to be in natural order, the input sequence needs to be arranged in reverse order.

Figure 1 is an operation diagram of an 8-point FFT.

8-point FFT operation diagram

After the FFT operation, a time domain signal can be transformed into the frequency domain. Some signals are difficult to see in the time domain, but if you change to the frequency domain, it is easy to see the features, which is the general principle of the spectrum analyzer.

3. Design and implementation of spectrum analyzer

This paper introduces a design scheme of digital audio spectrum analyzer based on FFT. The audio signal is sampled and input by ADC. After ADC sampling is completed, the data is arranged in reverse order and FFT operation is performed. The result is displayed by TFT liquid crystal. The block diagram of the system is shown in Figure 2.

Spectrum Analyzer System Block Diagram

3.1 Audio Spectrum Analyzer Hardware Implementation

In order to achieve system functions, the 16-bit processor MSP430 is used to efficiently process the incoming data stream. The MSP430 comes with an ADC12 module. The sampled data of the ADC12 is calculated and passed through a 65K color liquid crystal display spectrum. The hardware system diagram of this system is shown in Figure 3.

Audio spectrum analyzer hardware implementation

The power module supplies power to the entire system. The system can also respond to user key events and process them accordingly. The serial port module is reserved for system expansion.

2835 Red SMD LED manufacturer from China.


2835 Red Smd Led is deeply loved by their users because of the small size, the high bightnes and 2835 Red Smd Led have the cooling copper at the bottom, which can make the product to get out of the heat in time.
It is often used in LED lighting, LED Lamps , LED backlight, landscape LED, LED panel lights, LED furniture, grow light LED, fill light LED, LED aperture and other lighting products.

In addition, this 2835 red SMD LED have the angle like the through-hole LED so it belongs to the spotlight SMD LED. It have a len on the top of the SMD LED, which can make this 2835 SMD LED with angle like 30 degrees, 60 degrees. 

We supply kinds of 2835 SMD LED with different wavelength from 365nm to 1550nm, which include the visible LED and the invisible LED.
In this catalog, we mainly introduce the 2835 red SMD LED.
2835 red led

In this catalog, we mainly introduce the 2835 red SMD LED of visible light. 2835 SMD LED, size is 2.8*3.5mm. For this red SMD LED, we can package with single chip 2835 SMD LED or 2 chips 2835 SMD LED, 3 chips 2835 SMD LED and the power can be 0.1W 2835 red SMD LED, 0.06W 2835 red SMD LED, 0.2W 2835 red SMD LED, 0.5W 2835 red SMD LED, 0.6W 2835 red SMD LED, 0.8W 2835 red SMD LED, 1W 2835 red SMD LED, 3W 2835 red SMD LED and so on.


All of our product are meet with Reach, CE, RoSH, SGS, EN62471 standards and have 5 years warranty.



The voltage of the 2835 Red SMD LED is between 1.8-2.5V, but most of them are between 2.0-2.2V.

2835 Red SMD LED

2835 Red SMD LED,2835 0.5W Red SMD LED,2835 150Ma Red SMD LED,Red SMD 2835 LED Diode

Shenzhen Best LED Opto-electronic Co.,Ltd , https://www.bestsmd.com