I have mentioned before, that I have purchased couple nRF24L01+ units from eBay for the stunning $3 with delivery included. I decided to make some cheap tests this time, so went for a veroboard prototype. I got two blank DIP version ATMega328‘s from eBay and flashed them with my 8Mhz optimized OptiBoot, the same one I use on the RFM2Pi boards. I glued a pinout sticker on top to easily identify the pins. The ATMega328 is running off the internal oscillator to keep components at the minimum and keep power consumption at its lowest possible. I drew what I wanted on a piece of paper:
It is very basic indeed, I wanted FTDI pinout, headers to the side to plug sensors and a 4×2 header for the nRF24L01+ board. It will run on couple AA batteries (requires voltage anywhere from 3.3V down to 1.8V); Here is how it came along:
I only built one so far, so I figured I could try the “Poor man’s 2.4Ghz scanner” sketch to make sure all works. And it surely did:
I changed my WiFi’s channel and the scanner immediately catches it. It also catches bluetooth and microwave oven interference. Useful to scan for free channels to use later when I have two of the nRF23L01+s talk to each other.
Next challenge is to find a decent library to use, there is at least 10 out there. I’d use one that supports interrupts to take advantage of low power features.
Page views: 21015