Pages: [1]   Go Down
Author Topic: Nrf2401  (Read 1567 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi everyone!
I started working with arduino recently so i'm kinda newbie on this subject (I also don't speak English as my main language so it will might be a little hard to explain myself)
I own 2 Arduinos and I want to send a message between them. I have the  Nrf2401 and i followed this site: http://playground.arduino.cc/InterfacingWithHardware/Nrf2401
I copy paste the code and followed the pin connections:
* DR1 –> 2 (digital pin 2)
* CE –> 3
* CS –> 4
* CLK –> 5
* DAT –> 6

The GND is connected to ground and the VCC to 3.3V.
I also notice in the code this: Radio.remoteAddress = 1; And i realise i don't have nothing connected to pin TX->1. But i don't know what to connect to it either.
I don't get any responses from neither arduinos.
I hope you guys can help me.  smiley

Thank you and sorry for my English.
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 520
Posts: 26387
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Try reading this as starting point.

http://arduino-info.wikispaces.com/Nrf24L01-2.4GHz-HowTo
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Full Member
***
Karma: 5
Posts: 219
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

First, your English is fine.

Next, I followed http://maniacbug.wordpress.com/2012/03/30/rf24network/#more-325 to get my first pair of NRF2401's to talk.  That example worked perfectly on the first try. It is explained well.

The code I used is here:  http://maniacbug.github.com/RF24Network/examples.html
Logged

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

I tried to follow this site you recomended http://maniacbug.wordpress.com/2011/11/02/getting-started-rf24/ and my main problem is the hardware.
In that site it says:
GND    GND
3V3    3V3    
CE    9    
CSN    10    
SCK    13    
MOSI    11    
MISO    12    

Thing is, in my sensors i don't have such name as MOSI or MISO. I have this one: https://dlnmh9ip6v2uc.cloudfront.net/images/products/1/5/2/00152-04.jpg
And I don't know where to connect those...

Crossroads, I already read that doc you suggested and i'm grateful. But my problem is the hardware. I've never worked with arduino before and i don't know which pins I have to connect to  smiley-confuse

Logged

Offline Offline
Full Member
***
Karma: 5
Posts: 219
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I didn't read closely enough to see the version you have uses different pin designations than the kind I have.  Perhaps this link will be more helpful:

https://forum.sparkfun.com/viewtopic.php?t=14210

Both operate more or less the same way, differing only in how the I/O pins are controlled.  Until now, I didn't realize the nRF2401A and nRF24L01 had different interface signals.

If you can't get your modules to work, I would really like to suggest getting the newer nRF24L01 modules.  They can be found for $1.50 to $2.00 -- far cheaper than the sparkfun modules -- either on eBay or aliexpress.com or electrodragon.com.  I can vouch for reliability buying from any of those sources, having used them all several times.  It might take a couple weeks to get the modules but for me it is worth it to save lots of money.
Logged

Pages: [1]   Go Up
Jump to: