haseebehsan / RF24Python

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

Home Page:https://tmrh20.github.io/RF24

Repository from Github https://github.comhaseebehsan/RF24PythonRepository from Github https://github.comhaseebehsan/RF24Python

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)

https://tmrh20.github.io/RF24

License:GNU General Public License v2.0


Languages

Language:C++ 53.1%Language:C 36.6%Language:Python 3.5%Language:CSS 2.6%Language:Processing 2.2%Language:Makefile 1.3%Language:XSLT 0.4%Language:Shell 0.1%Language:Elixir 0.1%