GithubHelp home page GithubHelp logo

fm-dx-tuner's Introduction

FM-DX Tuner

Multi-plaftorm microcontroller firmware for NXP radio tuners

Copyright (C) 2023-2024 Konrad Kosmatka

https://fmdx.pl/tuner/

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

Work in progress

Firmware is currently compatible with XDR-GTK software and FM-DX Webserver, but the protocol is going to be changed in the future.

Microcontroller support

  • AVR (ATmega328P)
  • ESP32 (PE5PVB board)
  • STM32 (STM32F072 crystal-less)

Tuner support

  • TEF668X driver:
    • TEF6686, TEF6687 (V102 and V205)
    • TEF6688, TEF6689 (untested)
    • TEA685X (not recommended)
  • SAF7730 driver:
    • XDR-F1HD (extended modification)
  • SAF775X driver (highly experimental):
    • Mini SAF775X Radio (from Aliexpress)

Configuration

Check the Config.hpp file and the corresponding tuner configurations.

The directory presets contains predefined configuration files.

Some boards do not work with 400 kHz I2C bus. If you're unable to start the tuner, try lowering the TUNER_I2C_CLOCK value to 100 kHz.

TEF668X configuration

Make sure to set correct TUNER_TEF668X_REF_CLOCK frequency. Wrong frequency value will not stop tuner from working, but the reception will be corrupted.

The PE5PVB board contains a hardware jumper for selection of the clock frequency (keep the default zero value of TUNER_TEF668X_REF_CLOCK).

Arduino AVR boards

TEF668X tuners require 3.3V logic level on the I2C bus, but the AVR based Arduino boards are 5V, which is out of specification for the TEF668X ICs. Because of that, the TUNER_AVR_PULLUP is set by default to false.

Due to the nature of the I2C bus, it is OK to use a microcontroller with 5V logic on a 3.3V I2C bus (during communication, the bus lines are only being pulled down to the ground). Some of the Chinese tuner modules (especially the ones available currently on Aliexpress) already contain pull-up resistors, so the tuner will work out of the box with the default configuration.

If your tuner module does not have the 3.3V I2C pull-ups (SDA/A4 and SCL/A5 is almost 0V), then you need to solder 10 kΩ resistors: one between 3.3V and SDA (A4), and another one between 3.3V and SCL (A5).

Donations

This is an open-source project which is free. If you like it, you can consider buying me a coffee.

fm-dx-tuner's People

Contributors

kkonradpl avatar

Stargazers

 avatar Tadeusz Magura-Witkowski avatar  avatar Allen Wong avatar alexander - yo2ldk avatar Mark de Bruijn avatar Stanisław Grams avatar Paul PE1RJV avatar KMadura avatar  avatar Mateusz Chyła avatar  avatar Mateusz Walkowiak avatar Marek Farkaš avatar format avatar

Watchers

 avatar  avatar  avatar Paul PE1RJV avatar

fm-dx-tuner's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.