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 don't know which PIN from the China module corresponds to the DAT and DR1 Pin on the Adafruit module.
So my questions are:
- Is it OK to use the library in conjunction with the china module?
- 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.
-
Compare these two schematics and you have the answer; cdn.sparkfun.com/datasheets/Wireless/Nordic/… and mcuoneclipse.files.wordpress.com/2013/07/…Mikael Patel– Mikael Patel2016年02月06日 11:48:37 +00:00Commented Feb 6, 2016 at 11:48
1 Answer 1
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.
-
Plus it supports additional layers like RF24Mesh and RF24Network that allow you to create simple, multiple node networks.Avamander– Avamander2016年02月06日 12:21:25 +00:00Commented Feb 6, 2016 at 12:21
-
1Thanks for the pin mapping! I will take a look at the library you both mentioned.JustCoding– JustCoding2016年02月06日 12:27:53 +00:00Commented Feb 6, 2016 at 12:27