nrf24l01 radios + NRF24 library + Ethernet shield do not work together

2,094 views
Skip to first unread message

Daniel

unread,
Dec 8, 2013, 2:16:02 PM12/8/13
to nrf24-...@googlegroups.com
Guys,

some of you have already succeed on working with nrf24l01 + ethernet shield?

As I've seen, ethernet shield and nrf24l01 share the SPI, and even using different SS pins, they do not work together.

Do you guys have any idea on how to make them working together?

Thanks!

Mike McCauley

unread,
Dec 8, 2013, 4:21:46 PM12/8/13
to nrf24-...@googlegroups.com
Hi,

Ive never tried that.
Let me know if/how to make it work.
--
Mike McCauley VK4AMM mi...@airspayce.com
Airspayce Pty Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia
http://www.airspayce.com
Phone +61 7 5598-7474 Fax +61 7 5598-7070

Colin Cooper

unread,
Dec 8, 2013, 6:17:45 PM12/8/13
to nrf24-...@googlegroups.com
Hi,

What are the symptoms? Is this TX, RX, or both?

I've never tried that exact combination, but I do have a nano running an nfr24l01+ and an 1.8"TFT screen, both using SPI.

Initially I had some problems related to the TFT's slow refresh -- several messages could arrive at the radio without being handled and acknowledged while the screen was repainting.  Switching to a smarter/faster screen refresh and using the radio's interrupt rather than polling cured the problem.  Is it possible you're seeing something similar?

Or perhaps you're already using interrupts for both, in which case you should avoid actual SPI traffic in them.  The SPI library (whichever one you're using) is almost certainly not re-entrant.

You will certainly require separate SS pins.

  Regards,
  Colin


--
You received this message because you are subscribed to the Google Groups "NRF24-Arduino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nrf24-arduin...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ivatt Diesel

unread,
Apr 7, 2014, 7:47:49 AM4/7/14
to nrf24-...@googlegroups.com
I just wondered if anyone got the Ethernet shield and nrf24l01 working in concert; I'm trying to get a nrf24l01 radio and an SD card working in the same system.

Using a Mega2560, the "mega compatible" ethernet shield works fine on it's own for both ethernet and SD card access. (SD card CS =4, Ether CS reputed to be 10)
Likewise, without the ether shield, the radio works fine.(radio connected via pins 50-53 + CE on 8  )
However, put them both in the system ,and i just get nothing useful from the radio (just zero length received messages)

I've made sure that both 10 and 53 are outputs.

I dont access the SD or radio at the same time - and I never intentionally access the Ethernet (not used in this system).

I did think it might be a Chip select issue, but i've tried forcing CS for the Ether and Card low when I want to use the radio without success.
both pins 10, and 53 are set to be outputs (SS pins)

Any suggestions?

(Mega 2560, nrf24l01 green board, "mega compatible" ethernet shield, 2gb micro-sd card, arduoi156r2 nightly- recent, NRF24 library, SDFat library)

Ivatt Diesel

unread,
Apr 7, 2014, 12:56:50 PM4/7/14
to nrf24-...@googlegroups.com
Update: I got it working. I'm not sure why, but before you initialise the radio, you need to digitalWrite(10, HIGH);
10 is the CS for the Ethernet card on the shield, and adding that line made it spring into life. I hope that helps someone.
MB

Eduardo Bonfim

unread,
Aug 11, 2014, 6:58:40 PM8/11/14
to nrf24-...@googlegroups.com
Hi Daniel,
Have you had some progress with RF24 + Ethernet Shield? I'm trying to do the same connection.

Dario Jose Gomez Mejia

unread,
Apr 9, 2015, 3:25:33 PM4/9/15
to nrf24-...@googlegroups.com
Hi friend, i´m in the same problem, but i suggest cut the pin 10 in the ethernet shield and do a jump beetwen the pin 6 of the arduino uno and pin10 of the shield.
and in the program at the moment when we want acces to the ethernet shield we have to avail the pin 6 ( digitalWrite(6, HIGH) )

i am not sure if we might do it, but maybe it may work.

what do yo think about it?

johntech

unread,
Jan 17, 2016, 8:40:12 AM1/17/16
to NRF24-Arduino

raviraj zaveri

unread,
Feb 11, 2016, 3:52:24 PM2/11/16
to NRF24-Arduino
YES THIS METHOD WORKS BUT THE W5100 IC GETS HOT. ANY WAY OUT?? Thanks.
Reply all
Reply to author
Forward
0 new messages