Pages

Tuesday, March 20, 2012

nRF24L01 atmega library and development board

-- new version here: http://davidegironi.blogspot.it/2012/09/avr-nrf24l01-library-running-on-atmega.html --

This is my Nordic Semiconductor nRF24L01 driver for atmega8 micro, it should work even with other atmel micro with small changes.
Most of the works is based upon nRF24L01 avr lib by Stefan Engelke http://www.tinkerer.eu/AVRLib/nRF24L01.



Attached you can also find a developement board for atmega8 and cheap nrf24l01 pcb found on ebay.




Code

Notes
  • read risk disclaimer
  • excuse my bad english

9 comments:

  1. Hello!!
    You use AVR Eclipse for this project?
    I don't know how to compile this project, can you help me?
    Thank you

    ReplyDelete
    Replies
    1. hello,
      you should use avr-gcc to compile this library. you can make a new eclipse avr-gcc project, set it up, copy all the files and compile the project.
      i think it should also work under avr studio.

      Delete
  2. is no need Voltage regulator 5V to 3.3V ?

    ReplyDelete
    Replies
    1. nrf24l01 boards i've used are 5v tolerant, anyway new version of this project here: http://davidegironi.blogspot.it/2012/09/avr-nrf24l01-library-running-on-atmega.html has three diode to reduce voltage.

      Delete
  3. This comment has been removed by the author.

    ReplyDelete
  4. Davide, I have a question about the library. It seems memcpy copies the address to itself (lines with "cashe address"). Why?

    ReplyDelete
    Replies
    1. Hello, I suppose you are talking about the version 02. Which line?

      Delete
  5. Hello
    NRF24L01 have the library of Eclipse ?, you could send me this email please adrhip95@gmail.com thanks.

    ReplyDelete
    Replies
    1. Hello, you can download it in the download link here in this page or here: http://davidegironi.blogspot.it/2012/09/avr-nrf24l01-library-running-on-atmega.html

      Delete