{"repo":"andyrids/pico-nrf24-driver","free":true,"listed":false,"github":"https://github.com/andyrids/pico-nrf24-driver","clone":"git clone https://github.com/andyrids/pico-nrf24-driver.git","description":"NRF24L01 driver for Raspberry Pi Pico & pico-sdk","language":"C","stars":60,"topics":["pico-sdk","nrf24l01","pico","raspberry-pi"],"license":"GPL-2.0","category":"api-integrations-sdks","readme_excerpt":"NRF24L01 driver for Raspberry Pi Pico and pico-sdk A work in progress for an NRF24L01 driver for the Raspberry Pi Pico. The driver has now been rewritten, in an attempt to utilise a hardware proxy pattern, with a struct to encapsulate all access to the NRF24L01. TODO : - [X] Implement dynamic payloads - [ ] Implement auto-acknowledgement with payloads - [ ] Design optional IRQ pin with ISR implementation - [ ] Design optional SPI data transfer using DMA (could be more performant) - [ ] Explore Pico deep sleep implementation for power saving Introduction The context for this project was learning C, the pico-sdk and how to work with the NRF24L01. Over time, I aim to investigate other possibilities, such as the implementation of data transfer over SPI using Pico DMA, Pico multicore and PIO features. Questions, issues and suggestions are welcome. Connect The Pico to an NRF24L01 This table shows available connections between the NRF24L01 VCC, GND, CE and CSN pins and the Pico. Any spare pin on the Pico can be connected to the NRF24L01 CE and CSN pins. NRF24L01 Pico -------- --------- VCC 3V3 (OUT) GND Any GND CE Any GP CSN Any GP This table shows the available pins for connecting the NRF24L01 SPI pins to each of the Pico's two SPI interfaces (SPI 0 & SPI 1). NRF24L01 Pico SPI 0 Pico SPI 1 -------- -------------------- ---------------------- SCK GP2, GP6, GP18, GP22 GP10, GP14, GP26 COPI GP3, GP7, GP19, GP23 GP11, GP15, GP27 CIPO GP0, GP4, GP16, GP20 GP8, GP12, GP24, GP28 Structure","default_branch":null,"files":null,"tree":[],"storefront":"/r/andyrids","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/andyrids/pico-nrf24-driver/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}