Introduction: Arduino and Radio/Wireless Transceivers NRF24L01

You will be able to comunicate Arduinos wireleslly with this nRF24L01 module. The range is from 50 to 200 feet.

Step 1: Step 1: Where to Get NRF24L01

Ebay:

2 nRF24L01 modules - ~$6

2 Socket Adapters- ~ $2

Amazon:

2 nRF24L01 modules - ~$10

2 Socket Adapters - ~$6.50


-Plus shipping-

Step 2: Step 2: Let's Connect

You need to make the connection with your Arduino and the module. Here is a chart to help you.

*Tip: Connect VCC to 5V instead of 3.3V if you are using this socket, you won't mess up your module because this socket have a 3.3V regulator built in. You will need to do this if you get some inconsistency with what you receive and get this will happen 3.3V doesn't give enough current.

Step 3: Step 3: Code, But First the Library.

You need to download the library.

You can find it here: RF24 Library.

Add it to yor libraries, if you don't know how I hope this picture help you.

Step 4: Step 4: Now the Code

Get to this page: Time to add the code.

Because you are trying to communicate you need a receiver and a transmiter, to set this you need to change the radioNumber in the code. 0 to transmit and 1 to receive.

After this upload the code to your arduinos.

Step 5: Step 5: Arduinos Communicating

Open both serial ports change the baudrate to 115200.

The one that you set with 0, the transmitter will show you this message: PRESS 'T' to begin transmitting to the other node.

Type T and send it.

It will start transmitting to the receiver.

In the transmitter serial port the message will be: Now sending.

In the receiver serial port the message will be: Sent response

Now your Arduinos are communicating, this is just a simple setup to start creating and searching more and more about your nRF24L01 modules.

Comments

author
braulio777 (author)2016-11-30

Thank you for this project.

author
braulio777 (author)2016-11-30

Thank you for this prtoject.

author
Swansong (author)2016-11-30

Thanks for sharing :)