Menu

nRF24L01

Anobium
2014-02-26
2016-05-31
  • Anobium

    Anobium - 2014-02-26

    nRF24L01

    I completed a lot of work to get this device operational. I have been able to initialise and validate the configuration. It not as simple as it looks, fancy that..... and, I did not manage to get two devices talking.

    I cannot work on this till April. I can post the code if anyone wants to pick this up and work on it in meanwhile.

    It looked simple. I may have chosen the wrong code to port but it is not simple.

    Anobium

     

    Last edit: Anobium 2014-02-26
  • lhatch

    lhatch - 2015-05-28

    I just bought a couple nrf24L01's to start a small low speed pic/avr control network. Was searching to see of drivers were available. Did you ever get them working? Will keep looking to. Or you you want to post what you have I can make an attempt.

    Thanks

     
  • Anobium

    Anobium - 2015-05-28

    Yes. Not a problem. Send a personal message with you email address and will zip up my dev folder.

     
  • MBB

    MBB - 2016-01-22

    Does anyone have software that works with the nrf24L01?

     
  • William Roth

    William Roth - 2016-02-01

    Not yet, but hopfully I will have time to port over some working code within the next few weeks. It will have basic functionality such as sending and receiving data packets. Plus the ability to read and write all registers.

    If you are wanting to stream audio, use ShockBurst, or do Mesh Networking you will need to implement your own protocols as I do not have the time to do that.

     
  • MBB

    MBB - 2016-02-01

    Being able to send and receive packets would be great. Thanks!

     
  • MBB

    MBB - 2016-02-03

    I've been using an 18f4550 with 0.95 and this board http://www.mpja.com/24GHz-Wireless-Data-Transceiver-Module-for-Microcontrollers/productinfo/31572+MP

    I was unable to read or write to the nRF24L01+. Suddenly it started working and just as suddenly it stopped working. As I probed around I found that if I put my finger on the CSN connector pin (mislabled as CFN on the connector diagram) it would work. I then tried connecting a 20 pf capacitor from this pin to ground but that did not help.

    I finally found that if I lifted the board up away from my wood work bench it started working again.

    Just something to keep in mind if anyone is having trouble with one of these.

     
    • Anobium

      Anobium - 2016-02-04

      Do you have any code you can share?

       

      Last edit: Anobium 2016-02-04
  • MBB

    MBB - 2016-02-05

    To clarify things, when I said it started working I was just trying to write and read from the registers on one chip. I have not been able to make one nRF25l01+ communicate with another.

     
  • MBB

    MBB - 2016-02-14

    I finally made this work. I can now send data from one nRF24L01+ to another.

    I'm not sure what I actually did to make it work but it does.

    Here is my code.

     
  • MBB

    MBB - 2016-02-14

    Here's the Transmit side

     
    • Macgman2000

      Macgman2000 - 2016-05-25

      Hello,

      Were you able to get a reliable connection and transfer of data with your code? I have an applicatino for sending control bytes (20 bytes), I just don't want to start from scratch if I can save the time.

      Best Regards,
      Nick

       
  • MBB

    MBB - 2016-05-26

    No, it was not very reliable. It would work for periods of time then suddenly stop communicating.

     
  • William Roth

    William Roth - 2016-05-28

    Set up a breadboard & with NRF24l01+/18F25K22 and loaded your code to check SPI operation. A note in the code indicated problems with CE. This likely a wiring/grounding problem. Mine is stable.

    I found that registers were not being written correctly. eg change RF channel and it reports changing something else.

    There are some problems with the code that need to be corrected. I will track them down as time allows.

     
  • William Roth

    William Roth - 2016-05-31

    See my post in "Contributors" Forum.

     

Log in to post a comment.