Hello friends welcome to our another new arduino
video tutorial.
In this video tutorial we will show how to
make wireless communication between two Arduino
boards using NRF-24l01 wireless module.
For example here, we are control two relay
modules using two ON/OFF switches.
Now this is our transmitter part circuit where
we are using 2 on off switch, one DC power
Jack, one power supply switch, one Arduino
Nano board and one NRF 24l01 wireless module.
This is our transmitter unit circuit diagram.
NRF module Vcc and GND pins are connected
with respectively Arduino 3.3v and GND pins.
Arduino digital pin 10 and 9 are connected
with NRF CSN and CE pins.
NRF MOSI, MISO and CSK pins must be connected
with arduino digital pin 11 12 and 13.
Two ON / OFF switches are connected with arduino
analog pins A0 and A1.
Now you can see that our receiver unit circuit.
Here we are using 2 channel relay module,
one dc power jack, one power switch, single
arduino nano board and single NRF 24l01 wireless
module.
This is our receiver side circuit diagram.
Relay module have four pins Vcc, GND and two
signal pins.
Vcc is connected with Arduino 5V, GND is connected
with Arduino GND and signal pin are connected
with arduino analog pins A0 and A1.
NRF module  are connected with an Arduino
similarly transmitter unit.
Now we are connected dc 12V power supply adapter
with both transmitter and receiver circuit.
12V power supplies are connected with Arduino
Vcc and GND Pins.
This is our source code for transmitter and
receiver circuit.
First we compile the code.
We can see that here is an error, to fixed
this error we need to include a library for NRF 24l01.
This is our Library file.
We are going to add this library with Arduino IDE.
After adding this library we again compile
the code.
This time there is no error.
The source code of this tutorial will be given
below the video description.
You can easily download the code from here.
Now we are going to both circuit board using
power switch.
Now check how they are working between them.
First we ON the switch1 at the transmitter
part.
We can see that relay1 is ON at the receiver
unit.
Similarly when switch2 is ON at the transmitter
part.
We can see that relay2 is ON at the receiver
part.
Thank you guys for watching our video.
See you soon.
