Call for pcb design tutorials - Learn the basics of PCBs and the information needed to get started designing your first PCB
  1. Blog>
  2. A Digital FM Receiver with Arduino (Including 3W+3W Class-D Stereo Amplifier)

A Digital FM Receiver with Arduino (Including 3W+3W Class-D Stereo Amplifier)

by: Nov 23,2020 6191 Views 2 Comments Posted in Technology

Digital FM Receiver Arduino

By Hesam Moshiri, Anson Bao

FM transmitters/receivers are among the top favorite circuits of any electronic enthusiast. In this article/video, I have introduced a complete digital FM receiver design that has equipped with an LCD screen and three push-buttons. It can search for the FM signals from 76MHz to 108MHz manually and automatically (Scan mode). The signal strength is also displayed as a bar graph on the LCD screen. The output sound is amplified by a 3W+3W Class-D stereo amplifier that handles high-quality and strong enough audio power. As a controller, I have used the cheap and popular Arduino-Nano board. So let’s get started!

A. Circuit Analysis

Figure 1 shows the schematic diagram of the device. As it is clear, the circuit consists of 3 main parts: Arduino-Nano (Controller), FM receiver module, and the audio amplifier. 

Figure 1

Schematic diagram of the digital FM receiver

A-1. FM Receiver Module

The FM receiver module is based on the TEA5767 [1, 2] chip. It is a well-known module that could be controlled via the I2C bus. It covers the FM frequency range from 76MHz to 108MHz. At the output, it handles L and R stereo audio signals that should be amplified, otherwise, the sound level is weak and can not be heard even by an earphone. The frequency selection and signal-strength measurement tasks are performed by the Arduino-Nano code. 

R3, C7, C8, and C9 build a first-order low pass RC filter that reduces the supply noise. R1 and R2 are mandatory pull-up resistors for the I2C bus and CON1 is a UFL connector that provides an antenna connection. Figure 2 shows the TEA5767 module.

Figure 2

The TEA5767 FM receiver module

A.2 Audio Amplifier

The audio amplifier part consists of the PAM8403 [3, 4] chip. This chip is a 3W+3W HiFi Class-D amplifier that can operate with only a single 5V supply. The maximum output power can be achieved using 4-ohm speakers. According to the datasheet: “The PAM8403 is a 3W, class-D audio amplifier. It offers low THD+N, allowing it to achieve high-quality sound reproduction. The new filterless architecture allows the device to drive the speaker directly, requiring no low-pass output filters, thus saving the system costs and PCB area”.

C13, C14, and C15 are bypass capacitors that are used to reduce the supply noise. R4, R5, C11, and C12 are used to transfer the output audio to the amplifier. Figure 3 shows the reference circuit of the PAM8403 chip. P2 and P3 are right-angle 2-pin XH connectors that are used to connect the speakers to the board. 

Figure 3

Datasheet reference circuit of the PAM8403

A.3 Controller

The controller of the circuit consists of an Arduino-Nano board (AR1). Figure 4 shows the Arduino-Nano board. The board drives an 8*2 LCD (LCD1) and also reads the status of the SW1, SW2, and SW3 push buttons. It also sends/receives the TEA5767 data through the I2C bus. R6 sets the contrast level of the LCD and C4, C5, and C6 are used to reduce the mechanical push-button noises (debouncing).

Figure 4

The Arduino-Nano board

A.4 Power Supply

The TS2937 [5, 6] is the main component of the power supply that provides a stable +5V supply for the circuit. C1, C2, and C3 are used to reduce the noise, and POT1 is a 50K 2-way (dual) potentiometer with a switch. The POT1 both turns ON/OFF the device and increases or decreases the sound level. Picture 5 shows a picture of the POT1.

Figure 5

2-Way (Dual) potentiometer with Switch

B. PCB Layout

Figure 6 shows the PCB layout of the digital FM receiver. It is a 2 layers PCB board, last revision. The Arduino-Nano board is mounted on the bottom side and LCD on the top side of the board, preferably on female pin headers. This is more clear in 3D views and real photos. Figure 7 shows the 3D views of the board. Figure 8 shows the high-quality fabricated PCB boards of the digital FM receiver circuit.

Figure 6

The PCB layout of the digital FM receiver

Figure 7

The top and bottom 3D views of the PCB board

Figure 8

High quality fabricated PCB boards

I used the SamacSys component libraries (for IC1 and IC2) in this PCB project as usual. It saves a lot of time and prevents design mistakes which leads to a lower product cost. All SamacSys component libraries (Schematic symbols, PCB footprints, and 3D models) are FREE and they follow strict industrial IPC footprint standards. You can download and install the libraries from the or you can install them directly using the provided CAD plugins. I used the Altium plugin, however, almost all electronic designing CAD software are supported, such as Eagle, KiCad, OrCAD, Proteus .. etc [7]. Figure 9 shows the supported CAD software and figure 10 shows selected component libraries from the Altium plugin.

Figure 9

Supported CAD software by the SamacSys plugin

Figure 10

Selected PAM8403 and TS2937 libraries from the Altium plugin

C. Assembly and Test

The smallest component package is 0805. You should not have any problem with soldering the board, however, you can order the professionally assembled board as well. Figure 11 shows the assembled PCB board from the top and figure 12 shows the assembled PCB board from the bottom. The board has been hand-soldered by me. You would also need four 5mm FF spacers to fix the LCD on the PCB board.

Figure 11

Assembled PCB board (top view)

Figure 12

Assembled PCB board (bottom view)

You should use a UFL to SMA-F connector to connect your antenna to the board. Figure 13 shows this type of connector.

Figure 13

UFL to SMA-F connector

C.1 Arduino Code

The Arduino code is available in the below code block. Just connect your Arduino-Nano to the computer and compile/upload the code.

Download code

C.2 Testing

The lower limit of the frequency is 76.0MHz and the upper limit is 108.0MHz. You can increase or decrease the frequency by 0.1MHz by pressing the Up and Down buttons. Similarly, if you long-press these buttons, the frequency will be increased/decreased continuously. So it is pretty easy to fix the receiver on your desired frequency (FM station). Moreover, the Scan button can automatically search for powerful-enough FM stations and fix the receiver on the frequencies. To search for the next station, you should press the Scan button again. 

The strength of the FM signal is displayed on the LCD screen as a bar graph. In figure 14, the receiver has been set on a powerful FM station, at 100.0MHz frequency. 

Figure 14

The receiver has been set on a powerful FM station at 100.0MHz frequency

D. Bill of Materials

Figure 15 shows the bill of materials. Build the device and have fun!

Figure 15

Bill of materials (BOM)

Correction: The value of the R7 is 0R (1206). It is better to use TS2940CW50 (SOT-223) for the IC1. Use 8-ohm speakers to prevent probable thermal stress on the IC1 regulator at high output power, or use a more powerful regulator.

You can download the Gerbers or order 10Pcs high-quality PCBs for just 5.0USD

If you like to order a fully assembled PCB board for this project, please contact


[1]: TEA5767 Datasheet:

[2]: TEA5767 Schematic Symbol, PCB Footprint, and 3D Model:

[3]: PAM8403 Datasheet:

[4]: PAM8403 Schematic Symbol, PCB Footprint, and 3D Model:

[5]: TS2937 Datasheet:

[6]: TS2937 Schematic Symbol, PCB Footprint, and 3D Model:

[7]: CAD Plugins:

Note:the updated file

Due to the request of some users, I changed the IC2 regulator’s part number and modified the PCB. The new regulator (L7805-D2PACK) is very easy to find in the market. Please use 8-ohm speakers to prevent thermal stress on the IC2 (regulator) at high amplifier output power and try not to apply more than 9V to the input.

Here is the upate file:

  • Comments(2)
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP
    View More
    Back to top