One of the cool things you can do with Arduino is interfacing with RF modules.There are different types of RF boards available in the market. We are going to work with “nrf24L01+”Transceiver chip from NordicSemiconductor
Mounted on a breakout board from Sparkfun.
Before you start
For this project you need two Arduino boards and two RF modules. Download and install this library for Arduino program(Mirf). Extract the files and put (the folder) in the Library folder in the Arduino installation path:
OS X: “/Applications/Arduino.app/Contents/Resources/Java/libraries”
You must restart Arduino Program after installing above libraries.
The project consists of a sender and a receiver . The connections for the nrf 24L01+ for the sender and receiver is as picture below
In the sender circuit you also need to connect a potentiometer to pin A0 as shown here:
On the receiver side add a LED as shown below:
Now download the code for the sender and receiver below and upload it to the Arduinos:
By changing the potentiometer on the sender side you see the LED on the receiver side changes intensity.
The code used in this post is slightly changed version of the code from http://www.bajdi.com/playing-with-nrf24l01-modules/