Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am working on a remote control car from an Arduino Esplora board and the Mega 2650 Board. My problem lies with the Esplora board as the nRF does not transmit like it is supposed to or does not even transmit at all.

I am using the pingpair_test.ino from the RF24 library to make sure the transceiver is working, and when I try to transmit on the serial monitor, I get the following output:

Configuration = t

STATUS = 0x00 RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=0 TX_FULL=0 

RX_ADDR_P0-1 = 0x0000000000 0x0000000000

RX_ADDR_P2-5 = 0x00 0x00 0x00 0x00

TX_ADDR = 0x0000000000

RX_PW_P0-6 = 0x00 0x00 0x00 0x00 0x00 0x00

EN_AA = 0x00

EN_RXADDR = 0x00

RF_CH = 0x00

RF_SETUP = 0x00

CONFIG = 0x00

DYNPD/FEATURE = 0x00 0x00

Data Rate = 1MBPS

Model = nRF24L01

CRC Length = Disabled

PA Power = PA_MIN

Now sending length 4...No responses recieved. Are interrupts connected?

I have no idea what any of this means besides the interrupts part.

Even using interrupts(); the Arduino Esplora still refuses to send data. I am sure my wiring is correct because the status light on the nRF is on and I triple checked all of the SPI pins.

On the Esplora:

  • CE = 0
  • CSN = 1

On the Mega:

  • CE = 51
  • CSN = 50

I have a fritzing sketch here for those who want to see my wiring.

share|improve this question
    
Bad wiring, check it three times and verify you are using the right pins. Another option is that your module is broken. Currently the library can't even detect the module (at all, like totally 0). – Avamander Mar 28 at 17:38
    
You may not be using the IRQ pin. Mind posting your code so we can comment/troubleshoot? – tr4nc3 Mar 28 at 17:53
    
@tr4nc3 - I have edited the question, and added a link to the actual pingpair.pde file. However, one thing that strikes me as odd is that the quoted output has a misspelling in recieved. However, the actual code line does not... How is that possible? – Greenonline Mar 28 at 18:01
    
Uhh, also update your library it's ancient, either from the IDE of from tmrh20.github.io/RF24. – Avamander Mar 28 at 20:16
1  
@Greenonline Yeah I had to manually type the output because copy-paste wasn't working. Idk why. – Galen Nare Apr 4 at 0:33

Looking at your output either you have a wrong wiring or, more probably, you need a capacitor between the nRF24 positive and negative pins: anything between 10uF and 100uF will do.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.