Using the Ethernet Shield and RF 434 MHz Link Receiver at the same time

Hi,

I'm using an Arduino Uno and the Ethernet Shield. I'm also using a RF 434 MHz Link Reciever.

The receiver is working perfectly but it stops receiving data as soon as I call

byte mac_address[] = { 0xD4, 0x28, 0xB2, 0xFF, 0xA0, 0xA1 };
Ethernet.begin(mac_address);

from my Setup() function.

If it matters I am using the RadioHead library for my RF communications. I'm using the default RX pin (11).

Any ideas as to what I'm doing incorrectly?

Thank you in advance.

Any ideas as to what I'm doing incorrectly?

The ethernet shield and the RF module may be using the same arduino pins and are conflicting with each other.

Pin 11 is part of the SPI bus, and that is used for the Ethernet Shield.

Use pin 2 to pin 9 or one of the analog pins.

You have to take a look in the source code. I don't know the RadioHead source code, but the VirtualWire sets all three pins (rx, tx, ptt), even if you don't use them. The solution is to set the unused pins (tx, ptt) to unused Arduino pins.

I don't use 433MHz receivers that are tuned with a coil anymore. I have a HopeRF ASK receiver with a crystal and a RXB6 from Ebay, they are a lot better. I didn't see the RXB6 on Ebay anymore, so I ordered a RXB8, I guess it will be just as good.

Thank you so much!