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. Controllers
  3. Getting the NRF24L01+ to work on the RPi

Getting the NRF24L01+ to work on the RPi

Scheduled Pinned Locked Moved Controllers
raspberrynrf24l01+
13 Posts 9 Posters 8.1k Views 3 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.
  • daulagariD Offline
    daulagariD Offline
    daulagari
    Hero Member
    wrote on last edited by
    #2

    I can not guarantee it will work but but have a look at this Optimized High Speed NRF24L01+ Driver.

    1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by hek
      #3

      To save you some troubles, I would recommend building a serial gateway which you attach to the RPi.

      http://www.mysensors.org/controller/vera#building-a-usb-connected-gateway

      Then use the serial protocol to communicate with your sensor network.

      E 1 Reply Last reply
      0
      • O Offline
        O Offline
        Omemanti
        wrote on last edited by Omemanti
        #4

        Thnx, Ill look into it!

        And now I need to find some time again...

        1 Reply Last reply
        0
        • D Offline
          D Offline
          Dheeraj
          Plugin Developer
          wrote on last edited by
          #5

          agree with @hek. better go with serial gateway.. I had tried running NRF24 with pi. its works sometime and ack fails many a times. kind of one way communication from sensor to gateway.
          Also, make sure you don't overclock your pi, if you want to give it a try.

          1 Reply Last reply
          0
          • hekH hek

            To save you some troubles, I would recommend building a serial gateway which you attach to the RPi.

            http://www.mysensors.org/controller/vera#building-a-usb-connected-gateway

            Then use the serial protocol to communicate with your sensor network.

            E Offline
            E Offline
            ericvdb
            wrote on last edited by
            #6

            @hek said:

            To save you some troubles, I would recommend building a serial gateway which you attach to the RPi.

            http://www.mysensors.org/build/vera#building-a-usb-connected-gateway

            Then use the serial protocol to communicate with your sensor network.

            hek, there's nothing on that page

            hekH 1 Reply Last reply
            0
            • E ericvdb

              @hek said:

              To save you some troubles, I would recommend building a serial gateway which you attach to the RPi.

              http://www.mysensors.org/build/vera#building-a-usb-connected-gateway

              Then use the serial protocol to communicate with your sensor network.

              hek, there's nothing on that page

              hekH Offline
              hekH Offline
              hek
              Admin
              wrote on last edited by
              #7

              @ericvdb

              Updated link above. Reorganized main site a bit and the controller pages was moved.

              1 Reply Last reply
              0
              • EasyIoTE Offline
                EasyIoTE Offline
                EasyIoT
                wrote on last edited by
                #8

                My experience is that NRF24L01 can be connected directly to Raspberry Pi GPIO. I've been running EasyIoT server on Raspberry Pi with directly connected NRF24L01 and it works couple of months without any problems.

                --
                EasyIoT framework http://iot-playground.com

                1 Reply Last reply
                0
                • D Offline
                  D Offline
                  Dheeraj
                  Plugin Developer
                  wrote on last edited by Dheeraj
                  #9

                  @EasyIoT .. good to hear you were able to run NRF24Lo1 with pi. it will good if you could share your setup. In my case was getting st=fail ack message many a times..

                  EasyIoTE 1 Reply Last reply
                  0
                  • D Dheeraj

                    @EasyIoT .. good to hear you were able to run NRF24Lo1 with pi. it will good if you could share your setup. In my case was getting st=fail ack message many a times..

                    EasyIoTE Offline
                    EasyIoTE Offline
                    EasyIoT
                    wrote on last edited by
                    #10

                    @Dheeraj I've checked. I'm using the same library and it works for me. There are no special tricks...

                    --
                    EasyIoT framework http://iot-playground.com

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      sharath krishna
                      wrote on last edited by
                      #11

                      @EasyIoT which library are you refering to here ? and any tutorials to explain mysensor on the raspberry pi?

                      1 Reply Last reply
                      0
                      • T Offline
                        T Offline
                        TMRh20Projects
                        wrote on last edited by
                        #12

                        Just a note, if the CE and CS pins are connected wrong, the radio will sometimes have one-way communication, and/or behave oddly as far as acks etc. The RF24 lib has been tested extensively with RPi, and there are no reported bugs or issues with direct RPi -> NRF24l01.

                        M 1 Reply Last reply
                        0
                        • T TMRh20Projects

                          Just a note, if the CE and CS pins are connected wrong, the radio will sometimes have one-way communication, and/or behave oddly as far as acks etc. The RF24 lib has been tested extensively with RPi, and there are no reported bugs or issues with direct RPi -> NRF24l01.

                          M Offline
                          M Offline
                          mainali
                          wrote on last edited by
                          #13

                          I faced similar issue and @TMRh20Projects replied in arduino forum. My issue was beacuse of cheap NRF modules chinese clones. After I replaced with good genuine ones, everything worked like a charm. Please check the NRF modules you are using. I wasted three days to figure out if there was some code issue, when at the end it was the NRF which created all the mess

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


                          20

                          Online

                          11.7k

                          Users

                          11.2k

                          Topics

                          113.0k

                          Posts


                          Copyright 2019 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