Giter VIP home page Giter VIP logo

rf24's Introduction

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

rf24's People

Contributors

drferg avatar gcopeland avatar gnulnulf avatar hallard avatar jfktrey avatar maniacbug avatar stanleyseow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.