Skip to content

Python code to interface with Nordic nRF24L01+ radio over SPI through BusPirate

Notifications You must be signed in to change notification settings

kevinmehall/nRF24L01-buspirate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a Python library for using Nordic Semiconductor's nRF24L01+ radios using the DangerousPrototypes BusPirate as a SPI adaptor.

It works nicely with the $4 breakout boards from Itead Studio.

Caveat: USB and the FTDI chip introduce a very high latency compared to the low latency SPI controllers on a microcontroller. This will limit your data rate, and specifically means that you will lose received packets if they come just after sending a packet, before the computer has to put the radio back into receive mode. So if you're doing a request/reply protocol, add a delay before the remote device replies to give the BusPirate some time. This works for testing, but you probably want to connect the radio to a microcontroller for more serious use.

For the other side of the radio link, see the following:

Pinout for the Itead module

GND  -> GND
3.3V -> VCC
AUX  -> CE
CS   -> CSN
CLK  -> CLK
MOSI -> MOSI
MISO -> MISO

Pinout diagram

About

Python code to interface with Nordic nRF24L01+ radio over SPI through BusPirate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages