Skip to content
/ RF24 Public

Raspberry Pi C based driver/library for nRF24L01

Notifications You must be signed in to change notification settings

drFerg/RF24

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

A C Raspberry Pi driver for nRF24L01(+) 2.4GHz Wireless Transceiver

Almost complete - WIP

Pretty much a complete re-write of the existing code base to convert to C and improve safety. Thus, it may be in a less operational state than the C++ version but should provide the basic features. :D

***Currently examples directory does not utilise the new library, use src/pingtest.c for reference instead ***

Design Goals:

  • Maximally compliant with the intended operation of the chip

  • Easy for beginners to use

  • Consumed with a public interface that's similiar to other Arduino standard libraries

  • Built against the standard SPI library.

  • Support popular platform

  • Modifications to the RF24 library in this fork is backward compatible. A single enhancement which may cause issue, is code which relies on the driver to power down the radio, as a side effect. The radio is no longer powered down after each transmit. Rather, the application must take responsibility for power management. Normally this is achieved by use of powerDown and powerUp. If you wish to maximize power efficiency, you must call powerDown after transmit (write, startWrite).

Please refer to links :

Raspberry Pi RF24 library

This is a C based library for RF24 / NRF24L01 wireless modules on the raspberry pi.

Setup

  1. cd src
  2. Execute make and sudo make install to install the shared libraries
  3. Execute make pingtest and run ./pingtest to test library.

Known issues

  • The current bcm2835 drivers still have some minor bugs/errors. If you have errors, use the GPIO or WiringPi version.

Links

Previous Maintainers of C++ versions

Stanley Seow ( [email protected] ) https://github.com/stanleyseow/RF24

RF24 for RPi using gpio: Arco van Geest [email protected] https://github.com/gnulnulf/RF24

RF24 for RPi using bcm2835: Charles-Henri Hallard http://hallard.me/ https://github.com/hallard/RF24

RF24 for RPi using WiringPi: Trey Keown [email protected] https://github.com/jfktrey/RF24

About

Raspberry Pi C based driver/library for nRF24L01

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published