Go Down

Topic: RF24 Library: Driver for nRF24L01(+) 2.4GHz Wireless Transceiver (Read 106 times) previous topic - next topic

Stanley

I found this interesting mini-robot
http://www.mowayduino.com/ that uses RF based on nRF24L01+
from atmel blog... http://atmelcorporation.wordpress.com/
nRF24L01+ UNO Adapter for Sale :-
http://arduino-for-beginners.blogspot.com/p/nrf-adapter-for-sale.html

Aladdin

#166
Jun 08, 2013, 04:11 pm Last Edit: Jun 08, 2013, 04:13 pm by Aladdin Reason: 1
Hi! Unfortunately I can't get it to work on my UNO. Tried several nrf24L01+ so that isn't the problem.
This is my printDetail() : http://pastebin.com/kR86P8D6
and the output when transmitting is

Now sending 8391...failed.

Any ideas?

Thanks, Calle

Stanley

Quote

Hi! Unfortunately I can't get it to work on my UNO. Tried several nrf24L01+ so that isn't the problem.
This is my printDetail() : http://pastebin.com/kR86P8D6
and the output when transmitting is

Now sending 8391...failed.


Where is the output of the other UNO with nRF ?

Since you didn't mentioned in yr post (and we can't read yr mind), you will need to put the "other UNO/nRF" to Transmit mode to the Pong Back one you pasted the output...

nRF24L01+ UNO Adapter for Sale :-
http://arduino-for-beginners.blogspot.com/p/nrf-adapter-for-sale.html

Aladdin


Quote

Hi! Unfortunately I can't get it to work on my UNO. Tried several nrf24L01+ so that isn't the problem.
This is my printDetail() : http://pastebin.com/kR86P8D6
and the output when transmitting is

Now sending 8391...failed.


Where is the output of the other UNO with nRF ?

Since you didn't mentioned in yr post (and we can't read yr mind), you will need to put the "other UNO/nRF" to Transmit mode to the Pong Back one you pasted the output...




There isn't. Only one is up and running but i fails on the send so it wouldn't change but setting up another

Stanley

If u enable auto ACK ( EN_AA ), the sent will failed without receiving an ACK back...

You need at least a pair to work...

nRF24L01+ UNO Adapter for Sale :-
http://arduino-for-beginners.blogspot.com/p/nrf-adapter-for-sale.html

Aladdin


If u enable auto ACK ( EN_AA ), the sent will failed without receiving an ACK back...

You need at least a pair to work...




You are a genius and a hero! Thanks!


blondak

Hi,
i wrote PHP version of this library, avaible at https://github.com/blondak/RF24-php I hope, that one will help someone

rclymer

I can't seem to get my two nRF modules working. I am trying to run the GettingStarted example. Here are the two printDetails() outputs.

Code: [Select]

STATUS = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
RX_ADDR_P0-1 = 0xf0f0f0f0e1 0xf0f0f0f0d2
RX_ADDR_P2-5 = 0xc3 0xc4 0xc5 0xc6
TX_ADDR = 0xf0f0f0f0e1
RX_PW_P0-6 = 0x20 0x20 0x00 0x00 0x00 0x00
EN_AA = 0x3f
EN_RXADDR = 0x03
RF_CH = 0x4c
RF_SETUP = 0x07
CONFIG = 0x0f
DYNPD/FEATURE = 0x00 0x00
Data Rate = 1MBPS
Model = nRF24L01+
CRC Length = 16 bits
PA Power = PA_HIGH


Code: [Select]

STATUS = 0x0e RX_DR=0 TX_DS=0 MAX_RT=0 RX_P_NO=7 TX_FULL=0
RX_ADDR_P0-1 = 0xe7e7e7e7e7 0xf0f0f0f0d2
RX_ADDR_P2-5 = 0xc3 0xc4 0xc5 0xc6
TX_ADDR = 0xe7e7e7e7e7
RX_PW_P0-6 = 0x00 0x20 0x00 0x00 0x00 0x00
EN_AA = 0x3f
EN_RXADDR = 0x03
RF_CH = 0x4c
RF_SETUP = 0x07
CONFIG = 0x0f
DYNPD/FEATURE = 0x00 0x00
Data Rate = 1MBPS
Model = nRF24L01+
CRC Length = 16 bits
PA Power = PA_HIGH



gerg

Since none of these posts are directly related to the RF24 library, I would encourage you to create new posts when requesting help. This makes it easier to people to participate as well as it prevents past thread contributors from notifications on posts which are unrelated to the library proper.
http://maniacalbits.blogspot.com

rclymer

In what way does my post not relate to the RF24 Library? I am using maniacbug's library from the github link in the very first post.

gerg

Because the library, and variants, are pretty well debugged at this point. Most of the thread contributions here, including yourself, are actually asking about how to get your local configuration (hardware and/or software) correct rather than issues with the library proper. You're not actually asking questions about the library, but rather local issues using the library. That's why I made the distinction between "library proper" and your use.

Doing so makes it more easily search-able for others which suffer the same issue. It also makes it less intimidating for those coming after; such that they are not staring at a thread with a rather large page count.

Better questions. Why wouldn't you post your specific issue in its own thread? Do you have any information which indicates this is a library specific issue? Beyond all that, creating a new thread on forums, is general considered proper forum etiquette.
http://maniacalbits.blogspot.com

rclymer

I was unaware of a problem with my end and thought the problem may lie within the library, In the GettingStarted example, the pipe adresses did not match my modules, after modifying them, I still had no success.

Now, I have made some progress. One sketch has the new pipe addresses and the other uses the same adresses but inverted. (pipe[0] becomes pipe[1] and vice versa).

Forgive me if this was too off topic.

Stanley


I've a question to ask, can this library or future enhancements ack similar like serial TX/RX on both sides ?


I just discovered that I've wrote the codes I asked for six month ago...

Serial over nRF24L01+
http://arduino-for-beginners.blogspot.com/2013/06/arduino-serial-over-nrf24l01.html

:) :) :)
nRF24L01+ UNO Adapter for Sale :-
http://arduino-for-beginners.blogspot.com/p/nrf-adapter-for-sale.html

Mark_Grass

I have 5 of the nRF24L01+PA+LNA.  The scanner code works.  When I use the PingPair or GettingStarted sketches, they don't seem to work after I remove power and restart them.  I have to run "scanner" and then "pingpair" or "gettingStarted".   When they do communicate, I don't get much range at all.  Are all of these devices from China  crap?   I also have several of the nRF24s w/o PA/LNA and they only have a rnage of about 12".   Is this normal? 

oric_dan

I get about 10m (30 foot) range with the basic nRF2401+ modules, you should be getting much better distance with the amplified modules.

Go Up