Jun 7, 2015 #1 E 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.
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.
Jun 9, 2015 #2 E 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 .
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 .