NRF24L01+ Driver From Scratch




In this series of posts and the YouTube videos I will write a driver for the NRF24L01+ by Nordic Semiconductor. This is a low cost radio transceiver readily available from many suppliers. The image below shows the specific one I am using, but they come in many shapes and sizes. 
It has to be noted that these devices operate on 3.3V and not 5V. Some modules sold may come with an on-board voltage regulator or power adapter. Check your modules specifications. The NRF itself is only 5V on the SPI pins 
The most important document you must have on hand along with this tutorial is the specifications (datasheet) for the NRF24L01+  you can get it HERE be careful you do not use version 1 of the datasheet that can be found everywhere. If you google for it look for Version 2 of the datasheet which has the ACTIVATE command which is missing from version 1. 


Features: 

  • Worldwide 2.4GHz ISM band operation
  • 126 RF channels
    • 1MHz non-overlapping channel spacing at 1Mbps
    • 2MHz non-overlapping channel spacing at 2Mbps
  • Enhanced ShockBurst (fancy word for the following features) 
    • 1 to 32 bytes dynamic payload length
    • Auto packet transaction handling
    • 6 data pipe MultiCeiver
  • 4-pin hardware SPI @ 10Mbps max 5V tolerant inputs (SPI pins only)
  • 3 separate 32 bytes TX and RX FIFOs
For a full list of features see the datasheet.

NEXT >>


Comments

  1. The payback share is lowered when the crowds are bigger and demand is larger. Changing the programmed payback share requires opening the machine and changing a pc chip. Server-based slot machines that permit casinos to alter payout percentages remotely, 카지노사이트 but there are nonetheless laws round making these changes. Between indicators, the random quantity generator operates repeatedly, working through dozens of numbers per second. First, should you depart a machine, then see another person hit a jackpot shortly thereafter, do not fret. To hit the same jackpot, you'll have wanted the same split-second timing because the winner.

    ReplyDelete
Share your comments with me

Archive

Contact Form

Send