NRF24L01!

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

Moderator: Benj

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times
Contact:

Re: NRF24L01!

Post by jgu1 »

Hi all!

Sorry I did not managed to get it work. Could maybe be these chinese module. I´ll find someone like John´s module.

Thank´s so far.

br

Jorgen.

User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 364 times
Been thanked: 716 times
Contact:

Re: NRF24L01!

Post by JohnCrow »

I also have a pair of the cheap ones, I originally bought to use with the Arduino, but never got them to work.
Just tried them with this program and they don't work with FC either.

Just to double check I connected the new boards back and they still worked.

Conclusion, the cheap ones are duds :(

With things like this its worth paying a bit more to be sure of getting a good one.
Ok there are a lot of bargains to be had but when you are developing something like this it helps to have one less unknown.
1 in 10 people understand binary, the other one doesn't !

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: NRF24L01!

Post by kersing »

When testing, what is the distance between the devices? I'm asking because if too close the transmitted signal might be too strong resulting in saturated input and reception issues. For the LoRaWAN devices (868MHz ISM band, transmitting at 14dB) I'm currently using the advice is to keep at least 3 meters (about 9 feet) between devices.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

electron67
Posts: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

Re: NRF24L01!

Post by electron67 »

Hello Kersing

You could publish the flow chart with which your transmitters are functioning :?: would support understanding the use of component commands; and if they work well for flowcode 6 would be great :wink:

Enrique

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: NRF24L01!

Post by kersing »

Hi Enrique,

That flowchart is for totally different modules with a different interface. Posting it won't help for the NRF modules.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

electron67
Posts: 311
Joined: Sat Jan 12, 2008 2:08 am
Has thanked: 104 times
Been thanked: 47 times
Contact:

Re: NRF24L01!

Post by electron67 »

Hi Kersing

I also took time experimenting with RF components and the only one that has worked for me is the zigbee but is more expensive than the NRF I can buy 1 dlls each, the problem for me is the transmission distance, this component has good price but have failed communication in the examples (I have flow6), I probe also eb063 433 transiver job well but the example 12 inches distance, I think I have something wrong, but the job very well zigbee 100 meters, but costs 40 dlls; if the NRF would work as ZigBee to be great but more economical; with some components provides support us an example that works to understand how to program (sorry for my english)
Attachments
Transmisores.JPG
(360.28 KiB) Downloaded 899 times

User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 364 times
Been thanked: 716 times
Contact:

Re: NRF24L01!

Post by JohnCrow »

Having proved the boards & the component all worked as expected, I tried to send more than 1 data value in a loop.

My initial program did not work, so after a bit of thought, I came up with these small test programs which send 2 values in sequence and display them on line 0 and line 1 on the LCD.

My problem was I was sending or reading the buffer between values which was resetting the data, instead of only once at the start of the loop.

The basic procedure for sending multiple bytes is
WriteTXByte0 = Data 0
WriteTXByte1 = Data 1
WriteTXFifo To Send The Data

The basic procedure for reading multiple bytes is
ReadTXFifo To Read The Data
ReadRXByte0 = Value0
ReadRXByte1 = Value1

Simple test files are attached below
NRF24L01_TX_SimpleDual.fcfx
Simple 2 Channel Tx
(8.28 KiB) Downloaded 405 times
NRF24L01_RX_SimpleDual.fcfx
Simple 2 Channel Rx
(10.21 KiB) Downloaded 373 times
1 in 10 people understand binary, the other one doesn't !

left
Posts: 1
Joined: Fri Apr 07, 2017 3:34 pm
Contact:

Re: NRF24L01!

Post by left »

Hi, I would ask you if / how can I measure (read) the strength of signal?
thanks

After research, I found that isn't possible read this info.
thanks anyway

Post Reply