Hi guys,
I started a basic sketch based on Maniac's Getting Started with nRF24L01+ on Arduino | maniacbug for using 2 nRF24L01 over Arduino UNO boards, they work just fine. But I can't get to work the transmitter over an Ethernet Shield.
The ethernet sketch is based on http://shanes.net/how-to-use-an-nrf24l01-rf24-with-an-arduino-ethernet-shield/
So the transmitter has an UNO, Ethernet Shield and the RF; compiled with the rf24_plus_softSPI library.
I tried compiling with rf24_plus_softSPI and rf24 Maniac's library, but they didn't work.
I compiled the transmitter as a Tx role
RF24 radio(6,7); //for arduino uno + ethernet shield
The serial monitor show this:
RF24/examples/GettingStarted/
ROLE: Pong back
*** PRESS 'T' to begin transmitting to the other node
STATUS = 0xff RX_DR=1 TX_DS=1 MAX_RT=1 RX_P_NO=7 TX_FULL=1
RX_ADDR_P0-1 = 0xffffffffff 0xffffffffff
RX_ADDR_P2-5 = 0xff 0xff 0xff 0xff
TX_ADDR = 0xffffffffff
RX_PW_P0-6 = 0xff 0xff 0xff 0xff 0xff 0xff
EN_AA = 0xff
EN_RXADDR = 0xff
RF_SETUP = 0xff
CONFIG = 0xff
DYNPD/FEATURE = 0xff 0xff
Data Rate = 1MBPS
Model = nRF24L01
CRC Length = 16 bits
PA Power = PA_HIGH
Now sending hola=021--...ok...Got response 4294967295, round-trip delay: 83
Now sending hola=021--...ok...Got response 4294967295, round-trip delay: 1092
Now sending hola=021--...ok...Got response 4294967295, round-trip delay: 2096
Now sending hola=021--...ok...Got response 4294967295, round-trip delay: 3098
Now sending hola=021--...ok...Got response 4294967295, round-trip delay: 4101
I don't know why it's ok sending because I turn off the receiver.
How can I get to work together UNO, Ethernet and RF? Or what is missing?
Notes:
-The Receiver stays like Manic's sketch, it doesn't have Ethernet.
-For this project, is ther any difference between Arduino UNO and Arduino UNO R3? The ethernet shield is over the Arduino UNO, I never tested the ethernet over UNO R3.
If more information is required, just let me know.
Thanks a lot,
Edgar L.