Git Product home page Git Product logo

Comments (6)

dsbaha avatar dsbaha commented on August 20, 2024

Hmmm, only works on Arduino and not RPi, needs further investigation.

from rf24.

TMRh20 avatar TMRh20 commented on August 20, 2024

Hi there, I've looked at this one in the past, but haven't noticed problems with the modules I've gotten so far.

You need to specifically look at the revision 2.0 of the nrf24l01 datasheet since the ACTIVATE command was previously undocumented.

I have a feeling that, it might be best to just put the toggle_features(); function into radio.begin, and that should leave the features activated and ready to use, although disabled. I haven't tested this though, because as I said, I haven't noticed any problems with my hardware, but if you could try that, I would be grateful.

from rf24.

TMRh20 avatar TMRh20 commented on August 20, 2024

Here is a link to the RF24 updates branch. I committed a change that doesn't appear to cause any other immediate problems, and works the same on RPi and Arduino.

Idea:

In radio.begin():

1. Attempt writing to the FEATURE register
2. Read the FEATURE register
3. If not 0, set it to 0, leave it enabled
4. If 0, just ACTIVATE it
5. Leave it activated, do not toggle it any further.

All I can test is that it doesn't cause any other problems, but I am fairly confident this should address all scenarios.

Please let me know if this works, or if you have found another or better solution.

from rf24.

dsbaha avatar dsbaha commented on August 20, 2024

Thanks for the submission! It doesn't seem to work though. I have two sets of NRF24L01+ modules. They both look the same (board and layout) but the "non-working" one has less resistors than the "working" one. Its weird, utilizing the gettingstarted app with RF24 & RF24Network-DEV, they both work. When trying to use the example RF24Mesh app, that is when things break. I thought I tracked it down to the DYNPD/FEATURES setting, but it appears to be additional problems. For instance, I can see multicast/fragmented packets going out, but the "non-working" modules never receive them. I'll provide a link to the NRF24L01+ modules I bought later today.

from rf24.

dsbaha avatar dsbaha commented on August 20, 2024

These are the NRF24L01+ modules I got which do not behave like the working modules.

from rf24.

TMRh20 avatar TMRh20 commented on August 20, 2024

https://github.com/TMRh20/RF24/wiki/GettingStarted-sketch-failing-to-send:-how-to-diagnose%3F

http://en.wikipedia.org/wiki/Wikipedia:Reference_desk/How_to_ask_a_software_question

from rf24.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.