FM Stereo Receiver add-on for Raspberry Pi

0 9082 Medium

Simple FM stereo receiver based on QN8035 for Raspberry Pi.

projectImage

Things used in this project

Hardware components

HARDWARE LIST
1 QN8035
1 Raspberry Pi 3 Model B
1 onsemi 2N3904
1 32.768 kHz Crystal
2 Capacitor 2.2 µF
1 Capacitor 10 µF
1 Ceramic Disc Capacitor, 100 pF
1 Ceramic Disc Capacitor, 56 pF
1 Ceramic Disc Capacitor, 22 pF
2 Capacitor 1 nF
1 Capacitor 10 nF
2 Capacitor 100 nF
2 Resistor 100 ohm
2 Resistor 220 ohm
1 Resistor 1M ohm
1 Through Hole Resistor, 10 Mohm
1 LUMBERG 1503 09 - 3.5mm Stereo audio jack socket

Software apps and online services

Raspberry Pi Raspbian

Story

 

The QN8035 is a stereo FM radio receiver launched by the Quintic Corporation. Compared to other popular digital FM tuners (RDA5807, TEA5767, etc.), this tuner does not seem to be as popular among the DIY community.

 

In this article, I will describe my test setup and software applications built around this IC. After a few days of testing, I construct a fully functioning Raspberry Pi 3 based FM radio receiver using this IC.

The core components of this radio receiver are the QN8035 tuner and 32.768kHz oscillator. This entire radio design is to be powered by a 3.3V power supply. In our prototype, we drive this radio receiver using 3.3V supply terminals provided on the Raspberry Pi board.

 

The I2C bus has been used to interface the Raspberry Pi and QN8035 tuner IC. On Raspberry Pi, the I2C pull-ups are not necessary with this module. For other development boards, please check the pull-up resistor requirement from the documentation/schematic.

projectImage

Initially, we developed a simple console application to test this tuner. This application and its source code are available at github.com/dilshan/qn8035-rpi-fm-radio. Binary executable compiled for the 32-bit Raspberry Pi operating system can also be downloaded in the release section of the above repository.

 

The terminal application is written using GCC and WiringPi library. Be sure to enable I2C support on Raspberry Pi using the "raspi-config" tool before testing this application.

projectImage

After testing the QN8035 with the above application, we developed a GUI tuner application using GTK. This application provides all the features provided in the console application and which includes:

 

-Manual and automatic station scanning.

 

-Decode RDS PS (program service) data.

 

-Volume control.

 

-Display RSSI and SNR readings receive from the tuner.

 

Both these GUI and terminal applications have the RDS PS decoder to display the program/service name. As we have observed, the QN8035 RDS registers populate if it receives strong signals only. In some weak points, we observed that the RDS buffer received lots of incorrect data.

 

In setting up our tests, we used a 30cm long wire antenna with this radio receiver and received extremely stable reception. With a proper FM antenna, we got all the stations in the FM broadcast spectrum and were able to capture almost 95% of the channels and RDS data without any problems.

projectImage

We designed this receiver on a single-side PCB to minimize soldering inconvenience. The dimensions of the PCB are 58mm × 26.75mm.

 

The complete construction and configuration steps of this tuner are shown in the video presented in this article.

Code

https://github.com/dilshan/qn8035-rpi-fm-radio

icon qn8035-rpi-fm-radio-main.zip 737KB Download(11)

The article was first published in hackster, September 25, 2021

cr: https://www.hackster.io/Creamms/led-control-irremote-h-v3-5126c5

author: Creamms

License
All Rights
Reserved
licensBg
0