Nordic nRF24L01+ Example Code

A place to document your own projects.

Nordic nRF24L01+ Example Code

Postby Markus Gritsch » Sun Apr 03, 2011 6:03 am

Hi,

due to the recent nRF24LE1 DangerousPrototypes blog post [1] I like to share some Arduino/Teensy code I have written for the nRF24L01+ transceiver. ITead Studio has ready-to-use modules for just $5.98 [2]. The attached code and the modules work remarkably well.

[1] http://dangerousprototypes.com/2011/04/ ... less-data/
[2] http://iteadstudio.com/store/index.php? ... ucts_id=53

Have fun,
Markus
Attachments
source_nRF24L01+.zip
(6.07 KiB) Downloaded 1109 times
nRF24L01+.jpg
Last edited by Markus Gritsch on Sun Apr 03, 2011 6:30 am, edited 1 time in total.
User avatar
Markus Gritsch
Sr. Member
Sr. Member
 
Posts: 297
Joined: Tue Feb 09, 2010 6:54 am

Re: Nordic nRF24L01+ Example Code

Postby ian » Sun Apr 03, 2011 6:13 am

That's a great price!
User avatar
ian
Crew
Crew
 
Posts: 10803
Joined: Mon Jul 06, 2009 6:14 am

Re: Nordic nRF24L01+ Example Code

Postby voidptr » Sun Apr 17, 2011 5:17 pm

i also want to play with them :-)
did you try some distance measurement ?
does it need or optinaly can have an external antenna ?

btw futelec.com seems to have them also (same datasheet)
http://www.futurlec.com/Radio-2400MHZ.shtml

thanks :-)
voidptr
Full Member
Full Member
 
Posts: 247
Joined: Fri Oct 08, 2010 5:58 am

Re: Nordic nRF24L01+ Example Code

Postby Markus Gritsch » Mon Apr 18, 2011 3:01 am

As can be seen, it uses a PCB antenna. No need for an external one.

The maximum distance is greater when using 250 kbps compared to 1 Mbps. The range depends on the "things" between the two Nordic devices. Indoors, I was able to get a good conneciton through 2 to 3 brick walls. Outdoors with direct line of sight you can get about 100 m to 150 m.

One word to your futurlec link: I hate the HOPERF stuff. Hate it. They try to conceal what chip they actually use, and make it appear, as it is their own work. They rip-off the original data sheet, and put part of the information into their own crappy "datasheet", lacking important stuff and making errors during copying. I tried using their RFM 22B module and got really disapointed. The "datasheet" is crap. After some research I found out that the concealed chip really is a EZRadioPro from SiLabs.

Another source for this module with the Nordic chip is here:
http://www.satistronics.com/mini-24ghz- ... p2450.html
Although a bit cheaper, the shipping was more expensive for me, so I ordered from ITead Studio.
User avatar
Markus Gritsch
Sr. Member
Sr. Member
 
Posts: 297
Joined: Tue Feb 09, 2010 6:54 am

Re: Nordic nRF24L01+ Example Code

Postby voidptr » Tue Apr 19, 2011 5:36 pm

Thanks Markus :-)

seems thoses nRF24L01 will be great to broadcast everywhere in my small apartment :-)
i was heading for iteadstudio too :-)
voidptr
Full Member
Full Member
 
Posts: 247
Joined: Fri Oct 08, 2010 5:58 am


Return to Project logs