Nordic nRF24L01P - Working Code

Discussion on projects that are created by users and posted on mikroElektronika website.
Post Reply
Author
Message
Bill Legge
Posts: 235
Joined: 28 Oct 2007 03:16
Location: West Australia

Nordic nRF24L01P - Working Code

#1 Post by Bill Legge » 13 Jul 2023 08:00

Attached are three files that use the Nordic radio transceiver nRF24L01P.
Its available as a 'nRF Click' and on the MikromediaPlus smart display.
I've failed to get the Libstock example running but found a post by Allen Mulver in 2014 who wrote 90% of the code - Thanks.
The three zipped files hold:
1. Tx_Rx. Combined code to act as both Tx and Rx depending on the #define pre-processor selection. Sends a zero terminated string.
2. Tx. Sends ten signed ints as twenty bytes, high byte first.
3. Rx. Receives the twenty bytes, combines into ten signed ints and sends using UART2.
The board for both Tx and Rx is the EasyPIC Fusion v7 with PIC32Mx795F512L and a Easy TFT 320X240 display.
I've also done the same on an 8bit PIC MCU and all worked OK.
Any comments or improvements would be welcomed. The data rate and range of the nRF24L01 is amazing.

Regards Bill Legge in Australia
Attachments
WVL_Fusion_nFR24_Rx.7z
(237.65 KiB) Downloaded 27 times
WVL_Fusion_nRF24_Tx.7z
(196.48 KiB) Downloaded 25 times
WVL_Fusion_nRF24_Tx_Rx.7z
(198.18 KiB) Downloaded 28 times

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Nordic nRF24L01P - Working Code

#2 Post by filip » 19 Jul 2023 14:14

Hi,

Thank you very much for this project!

Regards,
Filip.

Post Reply

Return to “User Projects”