Skip to content
forked from nRF24/RF24

Optimized fork of nRF24L01 for Arduino & Raspberry Pi/Linux Devices (in addition with python wrapper for RF24, RF24Network, RF24Mesh)

License

Notifications You must be signed in to change notification settings

haseebehsan/RF24Python

 
 

Repository files navigation

See http://tmrh20.github.io/RF24 for all documentation for RF24

Python Wrapper

Pre-Requisites

  • You must have python, boost and build-essentials. concern official docs HERE
  • C++ Header for RF24, RF24Network, RF24Mesh (Guide Below)
  • Cloned this repo

Installing Headers

  • Install prerequisites if there are any (MRAA, LittleWire libraries, setup SPI device etc)
  • Downloading the install.sh file from http://tmrh20.github.io/RF24Installer/RPi/install.sh and installing headers
    $ sudo wget http://tmrh20.github.io/RF24Installer/RPi/install.sh
    $ sudo chmod +x install.sh 
    $ sudo ./install.sh 

Installing Wrappers

  • first clone this repo
    $ sudo git clone https://github.com/haseebehsan/RF24Python
  • go inside RF24 python wrapper dir and install python wrapper for RF24
    $ cd ./RF24Python/pyRF24/pyRF24
    $ sudo python setup.py install
  • Now go inside RF24Network python wrapper dir and install python wrapper for RF24Network
    $ cd ../pyRF24Network
    $ sudo python setup.py install
  • Now go inside RF24Mesh python wrapper dir and install python wrapper for RF24Mesh
    $ cd ../pyRF24Mesh
    $ sudo python setup.py install

Note: If you need RF24Mesh only you need RF24Network and Rf24 for that, so don't skip any step

About

Optimized fork of nRF24L01 for Arduino & Raspberry Pi/Linux Devices (in addition with python wrapper for RF24, RF24Network, RF24Mesh)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 53.2%
  • C 36.6%
  • Python 3.5%
  • CSS 2.6%
  • Processing 2.2%
  • Makefile 1.3%
  • Other 0.6%