nrf24l01 Module not Working with Raspberry Pi Pico W #10454
-
I can use the nrf24l01 wireless module just fine with a Raspberry Pi Pico, but when I try to run the same code on the Raspberry Pi Pico W, it fails to recognize the device. I am using this library, and I get this error:
The boards are supposed to have the same footprint, so what is the difference here? I am using the following pins: {"spi": 0, "miso": 4, "mosi": 7, "sck": 6, "csn": 14, "ce": 17} How can I use these modules with the Pico W? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 16 replies
-
Please indicate what pins you are allocating to the device. |
Beta Was this translation helpful? Give feedback.
-
Another thought is to turn off access point support: this should quieten the WiFi: import network
sta_if = network.WLAN(network.STA_IF) # Could deactivate this too?
ap = network.WLAN(network.AP_IF) # create access-point interface
ap.active(False) # deactivate the interface |
Beta Was this translation helpful? Give feedback.
-
I've finally found time to try this and I can't replicate the fault. I took the following steps:
I did nothing with regards to the Pico W's radio. I ran both NRF24L01 boards from 3.3V. Conclusions:
|
Beta Was this translation helpful? Give feedback.
I've finally found time to try this and I can't replicate the fault. I took the following steps:
nrf24l01test.py
to the card.nrf24l01test.py
to the card.nrf24l01test.py
on the card to match your pinout.nrf24l01test.responder
.nrf24l01test.initiator
. This ran to completion with no errors.I did nothing with regards to the Pico W's radio. I ran both NRF24L01 boards from 3.3V.
Conclusions: