Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Hardware
  3. Connecting NRF24L01+ to Arduino ProMini

Connecting NRF24L01+ to Arduino ProMini

Scheduled Pinned Locked Moved Hardware
4 Posts 3 Posters 1.1k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • y4CdW42Ol8Y Offline
    y4CdW42Ol8Y Offline
    y4CdW42Ol8
    wrote on last edited by
    #1

    Hello,
    The documentation of the NRF24L01+ calls for pins CE to be connected to Pin 9 of the Pro Mini, and SCK to Pin 13 of the Pro Mini, and IRQ to Pin 2.

    Yet the simple transmit/receive sketches in the RF24 library calls for CE to be connected to Pin 7 of the Pro Mini, and CSN to Pin 8 of the Pro Mini. IRQ is not used.

    Also, IRQ in the sketch is NOT used, whereas IRQ is connected to Pin 2 of the Pro Mini in the NRF2L01+ documentation.

    I trying to get the simple sketch working. Should I go with the documentation in the Sketch code?

    Is the another sketch with uses the Pins as shown in the NRF24L01+ documentation?

    Thanks.

    1 Reply Last reply
    0
    • dbemowskD Offline
      dbemowskD Offline
      dbemowsk
      wrote on last edited by
      #2

      I used the CE=9, SCK=13, and IRQ=2 wiring. These are the ones that the MySensors library is set up to use. You can define nearly any pin for any of the nRF24 lines, it is just how you define it in your sketch. For MySensors, these are pre-defined in the library. The CE=7, CSN=8 from the RF24 samples is just how they wired it for their example.

      As for your question on the IRQ line, I am a real noob to MySensors, but some of the reading I was doing was saying that for most things, the IRQ line is not used. I don't know if there are devices that actually use the IRQ line, but I can't imagine they would put it there if it didn't have a purpose.

      Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
      Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

      1 Reply Last reply
      1
      • y4CdW42Ol8Y Offline
        y4CdW42Ol8Y Offline
        y4CdW42Ol8
        wrote on last edited by
        #3

        Thanks much, I got it working. Changed the sketch to use Pins 9 & 10...

        It works without IRQ. I think this Pin can be used to wake up the Arduino... My project does not require that.

        Onward to test the distance I'm getting between the radios.

        Thanks again.

        Dieter

        alexsh1A 1 Reply Last reply
        0
        • y4CdW42Ol8Y y4CdW42Ol8

          Thanks much, I got it working. Changed the sketch to use Pins 9 & 10...

          It works without IRQ. I think this Pin can be used to wake up the Arduino... My project does not require that.

          Onward to test the distance I'm getting between the radios.

          Thanks again.

          Dieter

          alexsh1A Offline
          alexsh1A Offline
          alexsh1
          wrote on last edited by
          #4

          @y4CdW42Ol8 IRQ is not used by MySensors library

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          25

          Online

          11.7k

          Users

          11.2k

          Topics

          113.1k

          Posts


          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • MySensors
          • OpenHardware.io
          • Categories
          • Recent
          • Tags
          • Popular