TEA5767N FM Philips Library for Arduino
Author:  Marcos R Oliveira
Contact: mroger.oliveira@gmail.com

Navigation


Description

This library was inspired on Simon MonkĀ“s work: TEA5767 FM Radio Library for Arduino. Even the structure of this text is based on his own. Thanks, Mr. Simon!

It has several functions that let you conveniently access the main features of the board.

It was initially developed and tested with Arduino Leonardo, but as it only uses I2C communication, wouldn't be a surprise if it works with other Arduino boards as well.


Download, install and import

Download here: TEA5767

In Windows, copy the TEA5767N folder to "<Documents folder>/Arduino/libraries/".

The library includes some examples in the examples folder.

You can see how it works here: TEA5767N Library explained

And you can see the example of a complete application here: Complete FM Radio using Arduino, TEA5767 library and LCD Shield


Creation

TEA5767N()

The write and read addresses always defaults to 0x60 and 0x61 respectively.


Function

void selectFrequency(float frequency)

Sets the frequency in MHz.


Example

  1.  
  2. #include <TEA5767N.h>
  3. #include <Wire.h>
  4.  
  5. TEA5767N radio = TEA5767N();
  6.  
  7. void setup() {
  8.   radio.selectFrequency(89.1);
  9. }
  10.  
  11. void loop() {
  12. }

Share