Rf24 on rpi: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 13: | Line 13: | ||
sudo adduser pi spi | sudo adduser pi spi | ||
mkdir rf24libs | mkdir rf24libs | ||
cd rf24libs | cd rf24libs |
Revision as of 12:00, 15 June 2017

Overview
The RPIRF24 is an adaptor to connect nRF24L01 module to a raspberrypi.
COnnection is made via the SPI port of teh raspberrypi.
Setup for Raspbian
Open raspi-config then enable spi in the menu.
Then the following commands should be run:
sudo adduser pi spi mkdir rf24libs cd rf24libs git clone https://github.com/TMRh20/RF24 git clone https://github.com/TMRh20/RF24Network git clone https://github.com/TMRh20/RF24Mesh cd RF24 ./configure sudo make install cd ../RF24Network sudo make install cd ../RF24Mesh sudo make install cd ./examples_RPi/ make