TEA5767 Radio Module Random Noises... HELP!

Hey all! I just got the TEA5767 radio module. https://www.amazon.com/Gikfun-76-108MHZ-TEA5767-Antenna-Arduino/dp/B014QZM53Y/ref=sr_1_6?ie=UTF8&qid=1469036777&sr=8-6&keywords=arduino+radio
Anyways, I have VCC and GND plugged in to 5V and GND on an Arduino Uno. I have SDA and SCL of the module plugged in on an Arduino Mega. (Don't ask why I'm using the UNO for power and the Mega for SDA/SCL communication. Its a long story!)

When I plug in both Arduinos, the module activates. However, the only audio coming out of my Earbuds is this weird buzz and occasional beeping. Here is my code: (Code For the Mega. The Uno has unrelated code, because the UNO's only purpose is too supply the power to the module)

// TEA5767 Example

#include <Wire.h>
#include <TEA5767Radio.h>

TEA5767Radio radio = TEA5767Radio();

void setup()
{ 
  Wire.begin();
  radio.setFrequency(73.2); // pick your own frequency
}

void loop()
{
}

I want the module to pick up actual radio stations, not just beeping! Any help would be super!

Are the grounds connected? In order for any electronic communication to work, you need the ground on the two devices to be connected.

DrAzzy:
Are the grounds connected? In order for any electronic communication to work, you need the ground on the two devices to be connected.

The ground of the Radio Module is connected to GND on the UNO.

Do you know that there is something actually transmitting on 73.2? And is that MHz? If so it is not a normal FM frequency.

The ground on the Uno should also be connected to the ground on the mega.

Grumpy_Mike:
Do you know that there is something actually transmitting on 73.2? And is that MHz? If so it is not a normal FM frequency.

The ground on the Uno should also be connected to the ground on the mega.

I have now connected the ground on the uno to that on the Mega. I have tried numerous random numbers for frequencies. Still I just get this beeping!

Datasheet spec's frequency range as starting from 76MHz (right there on the cover page of the datasheet, first feature listed) - so you're trying to use it outside of it's spec. Try a frequency that you know has something transmitting on it, and which is within the unit's specs.

DrAzzy:
Datasheet spec's frequency range as starting from 76MHz (right there on the cover page of the datasheet, first feature listed) - so you're trying to use it outside of it's spec. Try a frequency that you know has something transmitting on it, and which is within the unit's specs.

I have tried frequencies that my normal radio is getting, that are within the range of 76-108 MHZ (Which is what the Amazon page says) still I get only static and beeping! HELP!

Just to be clear all the connections are this:

Radio "VCC" goes to Arduino UNO 5V

Radio "GND" goes to Arduino UNO GND

Other Arduino Uno GND goes to Arduino Mega GND

Radio "SLC" goes to Arduino Mega A5

Radio "SDA" goes to Arduino Mega A4

So... whats happening???

I have notices that on some radio frequencies, the beeping and buzzing stop. Just a low hum... Well, actually, the beeping and buzzing continue, then stop, leaving the blank low hum in its place. Still no news or football games, though... :wink:

Write some code that scans the spectrum. Start off at 87.9 and increment it in steps of 0.2, use a float variable. Have a delay of at least 4 second between steps and continue until 107.9 before starting again. At each step display the frequency using a serial print command.

The output power of the TEA5767 is not sufficient to directly drive earbuds so you'll not hear any audio. In my experiments, I built a pair of 1 transistor amplifiers and then bought a cheap stereo amplifier on eBay.
I also found with the cheap TEA5767 modules that the station scan feature was poor which iirc the data sheet warns about, depending on the choice of the crystal. The lower frequency crystals cause the channel increment to slip from the standard FM channels. I had to program the station scan myself to get round that problem.

Edit: I've just looked at this in a bit more detail. There are different versions of the TEA5767 module:
Here is one for $1 which has no built in amplifier: EBAY

The one on sale at Amazon GikFun TEA5767 (in the OP) appears to incorporate the cheap module above but has also a built in TDA1308 head phone amplifier.

I can't find a datasheet for the GikFun module but guess that the amplifier is not controlled via the I2C bus.

6v6gt:
The one on sale at Amazon GikFun TEA5767 (in the OP) appears to incorporate the cheap module above but has also a built in TDA1308 head phone amplifier.

So are you saying that I DO or DO NOT need an amplifier with the version of the Radio I am using? If not, than that is obviously not the reason I am having the problem. Also, I DO hear SOMETHING (this weird beeping) Thanks for the help! :wink:

This one requires an amplifier: Gikfun Official Online Store (Arduino compatible product)

This one has a built-in amplifier: Gikfun Official Online Store (Arduino compatible product)

There appears to be no data sheet available for the device with the built in headphone amplifier (or did you get something on paper from Amazon?) , but fortunately the picture definition is good enough on the manufacturers web site to see the markings on the chip.

Edit
The Radio chip uses I2C to connect to the Arduino. The pins you are using are for the Uno etc., but NOT the Mega. Read this: What pins to use for I2C bus with AVR Mega2560 - Programming Questions - Arduino Forum

I have got it working! There was a shield also plugged into the UNO. When I stripped away the power hungry shield, it starting working! The shield was taking in to much voltage, so when I removed it, the radio had a bountiful supply of power!

Thanks for all the help, everyone!

15$ for that module ? :o

I see a lot of people in this forum wasting money, well it's not my money but dam 15$
I got my radio module for 3$ :smiley:

D.60

stupid-questions:
The shield was taking in to much voltage,

Just a point, the shield was taking too much current not voltage.

stupid-questions:
Just to be clear all the connections are this:

Radio "VCC" goes to Arduino UNO 5V

Radio "GND" goes to Arduino UNO GND

Other Arduino Uno GND goes to Arduino Mega GND

Radio "SLC" goes to Arduino Mega A5

Radio "SDA" goes to Arduino Mega A4

So... whats happening???

In addition to giving the radio module a 'bountiful' amount of power, did you also change the SLC and SDA pin mappings which you had connected to A4 and A5 on the Mega ?