Skip to content

WiseLord/fm7segm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FM7segm

This project is a simple FM radio tuner with 4-digits LED indication. Up to 50 FM stations can be stored in EEPROM memory of ATmega8 MCU. Also, device can show current time and temperature.

There is a video on Youtube about this.

BikeComp

Main features:

  • FM radio support
  • Up to 60 FM stations can be saved in EEPROM
  • Common cathode indicators with direct connection do digits
  • Common anode indicators with direct connection do digits
  • Common cathode indicators with transistor on digits
  • Common anode indicators with transistor on digits
  • Indicator brightness control (12 levels)
  • RDA580x internal volume control support
  • PWM volume control on other tuners
  • RTC DS1307 support (DS323x also are working)
  • Temperature sensors DS18x20

Supported FM tuners:

  • TEA5767 - I²C FM tuner
  • RDA5807 - I²C FM tuner with RDS support
  • TUX032 - I²C FM tuner found in some Sony car radios
  • LM700 - SPI-controlled frequency synthesizer
  • RDA5802 - I²C FM tuner
  • RDA5807_DF - Option for RDA5807 with direct frequency input

Schematic:

  • First pinout:

First pinout

  • Second pinout:

Second pinout

Both pinouts can be used with any FM tuner supported and any indicator type and connection combination. All this can be configured via Makefile and pins.h files.

Building the code

AVR GNU GCC toolchain is required to build the project.

The project build system is based on GNU Make. Linux users must have it already installed or they can easily do it.

The process of building is very simple and doesn't depend on any other software installed. Build commands should be executed from the src directory containing Makefile.

Default build:

make

Build for the specific wiring:

make -j4 PINOUT=PIN3

Refer to build_all.sh script for possible options

Building EEPROM Editor application

To setup various options of the project it's possible to pre-edit the eeprom.bin file before uploading it to the board. It can be easily built either from QtCreator or from the console:

qmake .
make

Links

About

FM Radio with 4x7segment indication

Resources

Stars

Watchers

Forks

Packages

No packages published