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. Using NRF24L01 with Arduino MKRZero

Using NRF24L01 with Arduino MKRZero

Scheduled Pinned Locked Moved Hardware
nrf24arduino mrkzero
3 Posts 2 Posters 40 Views 2 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.
  • T Offline
    T Offline
    thedutch
    wrote on last edited by
    #1

    Hi All,

    I can not figure out how to connect the nrf24 radio to my Arduino mrknano.

    nrf24		mrkNano
    GND 		gnd
    VCC 		vcc
    CE 		?
    CSN/CS 		?
    SCK 		7
    COPI/MOSI 	8
    CIPO/MISO 	10
    IRQ 		2
    

    Where do i connect the CE and CSN pins to ??

    Thx.
    Rob.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      thedutch
      wrote on last edited by
      #2

      For future reference,

      I was checking the myconfig.h file and found some variable definition regarding the NRF24 radio.

      There were two variables referencing the CE and CS pin.

      /**
       * @def MY_RF24_CE_PIN
       * @brief Define this to change the chip enable pin from the default.
       */
      #ifndef MY_RF24_CE_PIN
      #define MY_RF24_CE_PIN (DEFAULT_RF24_CE_PIN)
      #endif
      
      /**
       * @def MY_RF24_CS_PIN
       * @brief Define this to change the chip select pin from the default.
       */
      #ifndef MY_RF24_CS_PIN
      #define MY_RF24_CS_PIN (DEFAULT_RF24_CS_PIN)
      #endif
      
      

      I have set these two variables in my sketch for my MRKZERO and got the radio working.

      Problem Solved :+1:

      mfalkviddM 1 Reply Last reply
      1
      • T thedutch

        For future reference,

        I was checking the myconfig.h file and found some variable definition regarding the NRF24 radio.

        There were two variables referencing the CE and CS pin.

        /**
         * @def MY_RF24_CE_PIN
         * @brief Define this to change the chip enable pin from the default.
         */
        #ifndef MY_RF24_CE_PIN
        #define MY_RF24_CE_PIN (DEFAULT_RF24_CE_PIN)
        #endif
        
        /**
         * @def MY_RF24_CS_PIN
         * @brief Define this to change the chip select pin from the default.
         */
        #ifndef MY_RF24_CS_PIN
        #define MY_RF24_CS_PIN (DEFAULT_RF24_CS_PIN)
        #endif
        
        

        I have set these two variables in my sketch for my MRKZERO and got the radio working.

        Problem Solved :+1:

        mfalkviddM Offline
        mfalkviddM Offline
        mfalkvidd
        Mod
        wrote on last edited by
        #3

        Nice work @thedutch, thanks for reporting back.

        In case you need anything similar, https://www.mysensors.org/apidocs/group__RF24SettingGrpPub.html lists the co figuration options for the nrf24 radio.

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


        30

        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