Skip to content

deaware/rf24sn_cpp_server

 
 

Repository files navigation

RF24SN C++ Server

Fork from RF24SN_CPP_Server. And patch to match of Raspberry Pi 2, new version of RF24-rpi and libmosquitto 1.4.

Installation:

Install RF24-rpi

Clone all resource

git clone https://github.com/deaware/RF24SN_CPP_Server.git
cd RF24SN_CPP_Server

Install libmosquitto v1.4

tar -xvf libmosquitto-1_4.tar.gz
cd libmosquitto-1_4
sudo cp libmosquitto.so.1 /usr/lib

Then compile

make

Usage:

sudo ./RF24SN

Wiring

nRF24L01+                  Raspberry Pi 2

GND          <----->       GND
VCC          <----->       +3.3V
CE           <----->       GPIO22 [15]
CSN          <----->       GPIO7 [26]
SCK          <----->       GPIO11 (SPI_CLK) [23]
MOSI         <----->       GPIO10 (SPI_MOSI) [19]
MISO         <----->       GPIO9 (SPI_MISO) [21]

About

C++, RF24-Rpi, Raspberry Pi Server implementation of RF24SN

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 90.2%
  • C++ 8.6%
  • Makefile 1.2%