Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] Unable to get RadioHead library working with nRF905 - missing PWR_UP?

Status
Not open for further replies.

electronutIN

Newbie level 2
Joined
Jun 7, 2015
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
14
I am trying to get my Arduino Pro Mini to talk to an nRF905 module using the RadioHead library:

https://www.airspayce.com/mikem/arduino/RadioHead/

I was not able to get the simple client server example to work.

I was, however able to get Zak Kemble's library below to work with my hardware:

https://github.com/zkemble/nRF905

When I compared the code between the libraries, I found that RadioHead was not setting the PWR_UP pin for the nRF905. It's also missing the connections for DR and CD. The only recommended connections are (from RH_NRF905.h):



Code:
         ///                 CPU          nRF905 module
  156 ///                 3V3----------VCC   (3.3V)
  157 ///             pin D8-----------CE    (chip enable in)
  158 ///             pin D9-----------TX_EN (transmit enable in)
  159 ///          SS pin D10----------CSN   (chip select in)
  160 ///         SCK pin D13----------SCK   (SPI clock in)
  161 ///        MOSI pin D11----------MOSI  (SPI Data in)
  162 ///        MISO pin D12----------MISO  (SPI data out)
  163 ///                 GND----------GND   (ground in)



I was wondering if anyone was able to get RadioHead to work with nRF905 with just the above connections.

Thanks.
 

electronutIN

Newbie level 2
Joined
Jun 7, 2015
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
14
Just needed to call
Code:
digitalWrite(pwrupPin, HIGH);
right after RadioHead initialization, and it worked. My guess was correct - you do need to set
Code:
PWR_UP
.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top