1

I have an Arduino Uno and one of these nRF24L01+ from china (see image) enter image description here

To use the module i wanted to use the library provided by Adafruit (http://playground.arduino.cc/InterfacingWithHardware/Nrf2401). My problem is, that they're using different names for some pins, because the library is designed for a different module with the following pin outs.

i.stack.imgur.com/2aT18.jpg

I don't know which PIN from the China module corresponds to the DAT and DR1 Pin on the Adafruit module.

So my questions are:

  1. Is it OK to use the library in conjunction with the china module?
  2. What are the DAT and DR1 PIN on the module from China ?

What I know so far: - took a look into the library and into the documentation at playground.arduino.cc/InterfacingWithHardware/Nrf2401 and found out that the DR1 pin is for the available() function to check if data is available to be read.

1

1 Answer 1

2
DR1 is MISO
DAT is MOSI

Though I'd advice using the RF24 library, as it's a lot more recent than the one from 2009 you linked to.

2
  • Plus it supports additional layers like RF24Mesh and RF24Network that allow you to create simple, multiple node networks.
    – Avamander
    Feb 6, 2016 at 12:21
  • 1
    Thanks for the pin mapping! I will take a look at the library you both mentioned.
    – JustCoding
    Feb 6, 2016 at 12:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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