Add to cart
Board Type : GerberFile :
Layer : Dimensions :
PCB Qty :
Different PCB Design
PCB Thickness : PCB Color :
Surface Finish : Castellated Hole :
Copper Weight : 1 oz Production Time :
Total: US $
Elecrow community is a shared platform and we are not responsible for any design issues.

PCB Assembly

PCBA Qty: BomFile:
NO. OF UNIQUE PARTS: NO. of Components:
Assembly Cost: US $
Elecrow community is a shared platform and we are not responsible for any design issues.
Add to cart
3dPrintingFile : Size :
Unit : Volumn :
3D Printing Qty : Material :
Total: US $12.99
Elecrow community is a shared platform and we are not responsible for any design issues.
Add to cart
Acrylic Type : AcrylicFile :
Dimensions: Engrave:
Acrylic Qty :
Acrylic Thickness:
Acrylic Color:
Total: US $12.99
Elecrow community is a shared platform and we are not responsible for any design issues.
Add to cart
CNC Milling File : Size:
Unit: Volumn:
CNC Milling Qty : Material:
Type of Aluminum: Surface Finish:
Tolerance:
Surface Roughness:
Total: US $12.99
Elecrow community is a shared platform and we are not responsible for any design issues.
closed
user-img

Mirko Pavleski

Published: Aug 08,2024

Simple TEF6686 DSP AM FM tuner with ESP32 microcontroller

The TEF6686 radio module is intended for AM/FM receivers for cars. This time I will present you a way to make a portable DSP radio with this module controlled by an ESP32 microcontroller.

ccc ccc
Copyright Info

Attribution-ShareAlike (CC BY-SA)

Read More⇒
  974
  2
  0
cover-img
 
  • thumbnail-img
 

Hardware Components

  • esp32 dev board

    X 1
  • TEF6686 AM/FM Radio module

    X 1
  • ILI9341 TFT color display 320x240

    X 1
  • Pushbutton Switch

    X 1
  • Rotary Encoder with Push-Button

    X 1
  • Rotary potentiometer (generic)

    X 1
  • pam8403 amplifier module

    X 1
  • Speaker: 0.25W, 8 ohms

    X 1

Tools, APP Software Used etc.

  • Arduino IDE

    Arduino IDE

    Arduino
  • soldering kit

Story

 The TEF6686 radio module is intended for AM/FM receivers for cars. This miniature module has amazing possibilities, great sensitivity and selectivity, adjustable de-emphasis and filter. It has an output analog audio L + R, or MPX, depending on the configuration. Also, it has an I2C communication protocol, through which the module can be easily controlled by a microcontroller.  Recently, in one of my previous videos, I described how to make a radio with this module that is controlled through a special PC software. This time I will present you a way to make a portable DSP radio with a beautiful TFT color display that is controlled by an ESP32 microcontroller. 

The project is the work of PE5PVB  hamradio operator and all credits go to him. On its website  you can find detailed construction information, as well as a schematic diagram and source codes. Otherwise, such an assembled radio is sold on internet at a price of about 130 dollars, and we can make it ourselves for several times lower price (about20-30 $).

  This radio can be made in a very simple way and consists of several components:

 - ESP32 DEV MODULE microcontroller

 - TEF6686 AM/FM Radio module

 - ILI9341 TFT color display with 320x240 resolution

 - Thtee buttons

 - Rotary encoder 

 - Potentiometer

 - Small D class Amplifier module

 - Speaker

 - and a small analog instrument to indicate signal strength

 The code can be installed on the microcontroller in two ways:

   1.You can download already compiled software and upload it using prepared script from release page.

   2.You can download source code from release page, and then compile and upload it using for example Arduino IDE.

  The second way seemed more acceptable to me, because I can change some options myself, such as the colors on the display. 

  After the installation of the code, small adjustments are made during the first power-up using the four buttons:

  If during boot the radio we hold certain button the result is as follows:

  - Standby button to calibrate analogue S-meter

  - BW button to change rotary encoder direction

  - Mode button the flip screen

  - and Rotary button to switch between normal and optical rotary encode

 And now let's see how the radio works in real conditions:

The main screen appears immediately after the logo.

 On it we can see all the information and the frequency is marked in the middle with big numbers. Here is the reception information such as RDS, stereo reception, bandwidth, mute, manual and automatic dialing, as well as reception signal strength in the form of a bar and a numerical value. Turning the encoder changes the frequency. The green arrow shows us which digit we are changing (that is the dialing step).

 The functions of the buttons are as follows

   - STANDBY SHORT PRESS: Switch band

   - STANDBY LONG PRESS: The radio goes to Standby

   - BW SHORT PRESS: Switch bandwidth setting

   - BW LONG PRESS: Switch mono, or auto stereo

   - MODE SHORT PRESS: Switch between auto/manual tuning or exit menu

   - MODE LONG PRESS: Open menu

   - ROTARY SHORT PRESS: Set step size or navigate

   - ROTARY LONG PRESS: Toggle iMS & EQ

   - This is the Squelch function potentiometer

   - and volume potentiometer

  An analog instrument is optional, and displays the received signal strength.

   And finally, a short conclusion. First of all, let me mention that for the FM band I used a 137 Mhz V-dipole antenna for weather satellites reception, as the closest option since I don't own an antenna for FM, and for the AM area I used a so-called Loop Over Ground Antenna that works perfectly with my amateur radio receivers. As we saw in the previous version of this radio, the reception of the FM band is excellent even when I used a short wire of about 50 cm as an antenna. After all, the purpose of the TEF6686 tuner module is for the car radio, where we usually listen FM radio stations. The sensitivity of distant radio stations is also surprisingly good. As for the AM band, the reception of MW as well as SW stations is quite solid, with some note about the selectivity in the Shortwave area. This is definitely an interesting quality receiver if we consider that a minimum number of components are required for its production.

  Let me mention that on the author's page there is also a newer version (TEF DSP AM/FM tuner V2) with a larger screen and more options such as: spectrum monitor, WiFi connectivity for XDR-GTK, bluetoothaudio, and Touch screen, but this version is more complex than version 1.

Code
  • link to code

    https://github.com/PE5PVB/TEF6686_ESP32
    View
Schematic and Layout
user-img

Mirko Pavleski

+ Follow

Topic

View All
  • Comments( 0 )
  • Like( 2 )
/1000
Upload a photo:
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP

You May Also Like

View All