Finally my working NRF24L01+ RX and TX

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
MJU
Posts: 502
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 121 times
Been thanked: 108 times
Contact:

Finally my working NRF24L01+ RX and TX

Post by MJU »

Finally, after literally a half year trying (had many hardware problems).
After long waits for Chinese hardware to reach me, I finally managed to make a Flowcode based TX and RX.
These I want to share with you.

The two files are based on these cheap NRF24L01+ modules that are very cheap on Ebay and other sites.
They are 2.4Ghz tranceivers with many features (from which I will use only a few in the beginning).
When I read the comments, they have a long reach.

I must warn that these modules are not that easy satisfied with power.
Many websites warn to add a capacitor as close as possible to the VDD on the module. Between 3.3V and GND.
I use small board that I bought on Ebay and that hold a Arduino Nano and that has a extra voltage regulator for the NRF24 module.

Here are my files:
1- RX: based on a Arduino Nano 328 board.
I made this with my own settings, I've added a RS232 serial signal to it to monitor what happens.
Also 4 LED's to show me "in the field" that things are working.
After viewing the file you can easily change it to your own liking.
TX NRF EN.fcfx
(19.55 KiB) Downloaded 952 times
1- TX: based on a Arduino Nano 328 board.
I made this with my own settings, I've added a RS232 serial signal to it to monitor what happens.
TX NRF EN.fcfx
(19.55 KiB) Downloaded 952 times
Both files use 11 11 11 11 11 as address (see comments in the files).

I hope these files can be of any help to get a component for these chips.
There are many more settings I don't use just now, but will later.
These files are straightforward, I know.

I hope to use the auto acknowledgement, add more pipes, watch for lost packets, auto retransmit, all the monitor features (lost packets, other RF sources), and so on.
In fact I hope to use all features later, but for now I'm happy they work.
Please use them, change them, repost them, make the files better.

Hope we can make a good component for them (with which we can use all features).

Special thanks to Kersing for help on many issues!
Attachments
RX NRF test EN.fcfx
(28.23 KiB) Downloaded 742 times

fernandosartorelli
Posts: 7
Joined: Wed Sep 18, 2013 11:15 pm
Location: Argentina
Has thanked: 2 times
Been thanked: 1 time
Contact:

Re: Finally my working NRF24L01+ RX and TX

Post by fernandosartorelli »

MJU Hello! Congratulations!!
You have them running modules with Flowcode? Excellent!
I wanted to make them work but I only have Flowcode V5. There can import this project to work on V5?
Greetings!

User avatar
sysprofessional
Posts: 54
Joined: Sat Oct 26, 2013 7:16 pm
Has thanked: 28 times
Been thanked: 4 times
Contact:

Re: Finally my working NRF24L01+ RX and TX

Post by sysprofessional »

Hi MJU,

I am working on these module. BenJ has created nRF24L01 component for FC7.
But I am using FC6 yet.So trying your examples but no success.
I have downloaded your both example files (RX NRF test EN, & TX NRF EN).
Compiled these file after change uC .I am using 16f887 in TX and 18f45k22 for RX file.
Both modules initialized properly according you configuration(checked with scope).But could not communicating each other.
Hyper Terminal showing result like this ,
HTerm.jpg
HTerm.jpg (149.26 KiB) Viewed 7067 times
What is your opinion on this result?

MJU
Posts: 502
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 121 times
Been thanked: 108 times
Contact:

Re: Finally my working NRF24L01+ RX and TX

Post by MJU »

sysprofessional wrote:Hi MJU,

I am working on these module. BenJ has created nRF24L01 component for FC7.
But I am using FC6 yet.So trying your examples but no success.
I have downloaded your both example files (RX NRF test EN, & TX NRF EN).
Compiled these file after change uC .I am using 16f887 in TX and 18f45k22 for RX file.
Both modules initialized properly according you configuration(checked with scope).But could not communicating each other.
Hyper Terminal showing result like this ,
HTerm.jpg
What is your opinion on this result?
I don't have an opinion. :-)
The chart I've posted is used for the Flowcode component and it works for me.

There are many reasons why this can occur.
First of all: power problems.
Look on the internet about the many issues with power supplies for this module.

BTW: I'm struggling myself with an issue in Flowcode: viewtopic.php?f=64&t=18773

Post Reply