Go Down

Topic: Pro Micro and RFM22B (Read 812 times) previous topic - next topic

smitty11

I've recently moved from the PIC microcontroller to the Arduino for a project and have chosen the Pro Micro found here http://www.sparkfun.com/products/11098 and the RFM22B found here http://www.sparkfun.com/products/10154 and have been trying to implement the library from http://www.open.com.au/mikem/arduino/RF22/.  I haven't had any luck with trying to get it to work with this library at all.  Even just trying to read the temperature from the module doesn't work but if I write up my own function to read the temp I get readings.  The readings I get aren't correct but I get something.

RF22B           Arduino
GND-----------GND
3.3v-----------PIN2 set to OUTPUT and HIGH
CSN---VD-----PIN10  VD = Voltage Divider R1 = 1.8K and R2 = 3.3K
SCK---VD-----PIN15
SDI----VD-----PIN16
SDO-----------PIN14  No voltage divider!
GPIO---\
Tx-----/
GPI1---\
Rx-----/

The only difference from my code and the one from the library is in the setup I have pinMode(2,OUTPUT) and digitalWrite(2,HIGH).
Thanks for the help!

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy