Arduino - NRF24L01 2.4Ghz Wireless Relay Switch


Introduction: Arduino - NRF24L01 2.4Ghz Wireless Relay Switch

About: Hello world! I make simple & Advanced projects for people who want to learn programming and electronics. Most of my Instructables are about arduino and the wide range of sensors you can use with it. I ma...

Hello world! Today i made a Wireless switch with the NRF25L01 - 2.4ghz Wireless Module. I used a nano in the video for the transmitter but you can change it to a uno if you don't have a nano. Check out the next step for the Schematics, Code's & parts list. Also complete fritzing files included!

Step 1: Schematic, Code & Parts List.

Wire it up like the above schematics, The Schematic with the NANO is for the TRANSMITTER and the Schematic with the UNO is for the RECEIVER.

MAKE SURE that you have installed the following libraries. Download RF24.hHere

  • SPI.h
  • nRF24L01.h
  • RF24.h

Parts list!

  • Arduino UNO for receiver
  • Arduino Nano for transmitter ( You can use 2 nano's, or 2 Uno's to if prefered.. i just used a nano cuz its nice and small)
  • NRF24L01 2.4 Ghz Wireless Module.
  • KY-019 1 Channel relay
  • Jumper Wires Set MM/FF/MF
  • Perfboard / prototype board for buttons (or just a Solderless BreadBoard)

Good luck!

Buy sensors here:

See more projects on my blog!



    • Creative Misuse Contest

      Creative Misuse Contest
    • Oil Contest

      Oil Contest
    • Clocks Contest

      Clocks Contest

    3 Discussions

    Thank you very much for your help in advance, but when I compile the reciver it says:

    C:\Users\HP\Downloads\receiver_13072018\receiver_13072018.ino: In function 'void loop()':

    receiver_13072018:27: error: void value not ignored as it ought to be

    done =, 1);

    Do you check working distance for you Wireless Relay Switch?

    How far its work?