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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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
Yes. Not a problem. Send a personal message with you email address and will zip up my dev folder.
Does anyone have software that works with the nrf24L01?
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.
Being able to send and receive packets would be great. Thanks!
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.
Do you have any code you can share?
Last edit: Anobium 2016-02-04
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.
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.
Here's the Transmit side
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
No, it was not very reliable. It would work for periods of time then suddenly stop communicating.
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.
See my post in "Contributors" Forum.