Getting started with nrf24: Introduction2010/09/27
So anybody who’s been following my blog for the last few weeks will have noticed I’ve been fighting with the nrf24 series of chips, trying to get a wireless protocol in place I can use for program & debug capabilities. Unfortunately, finding any kind of coherent and properly documented example code, or tutorials that make sense, has been rather hard. I’ve found a few that at least got me partially started, in particular diyembedded‘s tutorials even though they’re based on the PIC and ARM. However, the many and varied code examples all seem to say slightly different things, generally in less than straightforward ways. Thus, I’m going to attempt to write my own tutorial series, as I bootstrap my way up through the available functionality. It’s going to be very code-based, yet hopefully in a form that’s not too confusing. This will also provide me with the opportunity to solidify my own understanding of the chip(s).
To start things off, the nrf24 series of chips from Nordic Semiconductor have gained a lot of popularity both in product and DIY circles because of their (relative) simplicity and low cost. The radios themselves operate in the 2.4GHz band, and have a maximum air bitrate of 2Mbps in a 2MHz channel. They use a GFSK encoding with a -82dBm sensitivity at 2Mbps, giving them a range in the 10’s of meters on average. There are relatively few external components required, though I’ve had some problems there myself…
The tutorial sections themselves are [will be]:
- Hardware connection
- Physical layer communication
- Trivial transmission
The sections will be linked here as they are written, and this will eventually be the root document for the tutorial.