Finally my working NRF24L01+ RX and TX

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

Moderator: Benj

Finally my working NRF24L01+ RX and TX

Postby MJU » Fri Aug 21, 2015 11:21 pm

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 373 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 373 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 310 times

For this message the author MJU has received thanks: 8
Benj(Mon Aug 24, 2015 11:33 am), dazz(Sat Jan 16, 2016 4:34 pm), fernandosartorelli(Mon Jan 11, 2016 1:59 pm), jgu1(Sun Aug 23, 2015 7:00 am), kersing(Sat Aug 22, 2015 12:49 am), medelec35(Fri Aug 21, 2015 11:54 pm), mikn(Tue May 24, 2016 10:19 pm), Sanjay Singh(Wed Oct 28, 2015 2:11 pm)
Rating:47.06%
 
MJU
Flowcode v5 User
 
Posts: 338
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 75 times
Have thanks: 77 times

Advertisement

Re: Finally my working NRF24L01+ RX and TX

Postby fernandosartorelli » Mon Jan 11, 2016 12:53 am

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!
fernandosartorelli
 
Posts: 4
Joined: Wed Sep 18, 2013 11:15 pm
Location: Argentina
Has thanked: 2 times
Have thanks: 0 time

Re: Finally my working NRF24L01+ RX and TX

Postby sysprofessional » Tue May 16, 2017 8:06 pm

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 1001 times

What is your opinion on this result?
User avatar
sysprofessional
 
Posts: 43
Joined: Sat Oct 26, 2013 7:16 pm
Has thanked: 23 times
Have thanks: 2 times

Re: Finally my working NRF24L01+ RX and TX

Postby MJU » Wed May 17, 2017 5:35 pm

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: https://www.matrixtsl.com/mmforums/view ... 64&t=18773
MJU
Flowcode v5 User
 
Posts: 338
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 75 times
Have thanks: 77 times


Return to Flowcode V6

Who is online

Users browsing this forum: No registered users and 4 guests