Comments (6)
Hmmm, only works on Arduino and not RPi, needs further investigation.
from rf24.
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.
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.
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.
These are the NRF24L01+ modules I got which do not behave like the working modules.
from rf24.
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)
- ESP32 Core Panic on radio 0; No panic on Radio number 1, same wiring. How to troubleshoot?[Question] HOT 22
- Use Linux kernel's character device API to implement IRQ capability HOT 113
- [Question] R24.h, testRPD(void) "Strong signal > 64dBm" : "Weak signal < 64dBm" HOT 5
- [Question] Issue using the ManualAcknowledgements.ino HOT 11
- Multiple senders one receiver HOT 1
- reorganize examples HOT 5
- revise MRAA driver's GPIO
- Phasing out most Linux drivers HOT 1
- [Question] Address names used in examples problematic? HOT 8
- Library blocks 11 pin HOT 1
- Unable to use SPI1 on the raspberry pi pico HOT 3
- NRF24L01 does not show all characters in the receiver HOT 4
- Problem using stopListening() and startListening() HOT 3
- [Question] Some modules take way longer to write() HOT 6
- can't find RF24 method inside RF24 module HOT 18
- Change `SERIAL_DEBUG` into `RF24_DEBUG` HOT 7
- Trouble with receiving data on RP2040 HOT 1
- CE set LOW twice consecutively in `startConstantCarrier()` HOT 1
- NRF24s not Working with Arduino UNO or Pro Mini but do on ESP8266 HOT 9
- [Question]: PICO's not communicating HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rf24.