Pages: 1 ... 10 11 [12] 13 14 ... 17   Go Down
Author Topic: RF24 Library: Driver for nRF24L01(+) 2.4GHz Wireless Transceiver  (Read 92128 times)
0 Members and 2 Guests are viewing this topic.
Kuala Lumpur, Malaysia
Offline Offline
Full Member
***
Karma: 4
Posts: 193
Anything is possible
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I found this interesting mini-robot
http://www.mowayduino.com/ that uses RF based on nRF24L01+
from atmel blog... http://atmelcorporation.wordpress.com/
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: June 08, 2013, 09:13:30 am by Aladdin » Logged

Kuala Lumpur, Malaysia
Offline Offline
Full Member
***
Karma: 4
Posts: 193
Anything is possible
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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...

 
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Kuala Lumpur, Malaysia
Offline Offline
Full Member
***
Karma: 4
Posts: 193
Anything is possible
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

You need at least a pair to work...

Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!

Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Offline Offline
Full Member
***
Karma: 0
Posts: 101
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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:
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:
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

Logged

Dallas, Texas
Offline Offline
Sr. Member
****
Karma: 3
Posts: 267
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged


Offline Offline
Full Member
***
Karma: 0
Posts: 101
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Dallas, Texas
Offline Offline
Sr. Member
****
Karma: 3
Posts: 267
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged


Offline Offline
Full Member
***
Karma: 0
Posts: 101
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Kuala Lumpur, Malaysia
Offline Offline
Full Member
***
Karma: 4
Posts: 193
Anything is possible
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

 smiley smiley smiley
Logged

Pensacola FL
Offline Offline
Jr. Member
**
Karma: 2
Posts: 67
"I've forgotten more than I care to remember!" Capt. Jack Grass
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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? 
Logged

the land of sun+snow
Offline Offline
Faraday Member
**
Karma: 158
Posts: 2882
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: 1 ... 10 11 [12] 13 14 ... 17   Go Up
Jump to: