I’m new in this forum as well as a new Arduino user. I’m really at the beginning and after some tests reading sensors I would like to communicate between two Arduino via two HopeRF RFM22B I bought here on sparkfun (http://www.sparkfun.com/products/9581)
As writte I’m new on electronic world and programming Arduino. And so I’m searching for some help (or better examples/libraries) to set up a really easy way to send some data between two Arduinos. I’ve tested the example-code located here:
I do not know for sure if you want to do this all the way yourself, or if it would be ok for you to buy a solution and then continue with the rest of your project… Getting the RFM12 to work really good is not as easy as it seems. Especially the timing is a “pain in the ass” to get it right. Been there, done that.
That sounds a good solution, overall 'cause successfully tested. My problem is, I’ve received the RFM22B yesterday, also would like to try them befor start search something new.
Why I’ve started with this? Easy, I’m asked on arduino forum and the best answer was on RFM12 and, better, the newest model RFM22. I’ve purchased them without searching for any example code, my mistrake.
Then, found the code on sparkfun I’ve thought it should work, btw it’s not so easy for me
Any help with example code or solution would be great.
Hi Simon, did you ever resolve this error? I didn’t realize using the RFM22 would be so difficult when I bought it. I’m trying to make the examples work with the Arduino IDE but I’ve run into the error you mentioned above…
In my previous post I:
I didn’t realize using the RFM22 would be so difficult when I bought it.
the RF22 Library for Arduino here: http://www.open.com.au/mikem/arduino/RF22/ was the answer i was looking for. I have two Arduino Pro Minis chatting away… Unfortunately I can’t seem to get it working with my Arduino Uno. Anyone else having difficulty using an RFM22 with an Arduino Uno? I get: “RF22 init failed” in the serial monitor.
Hi, I got the same problem. But after two weeks working, I made initial function working. You can just add the delay time up to 30 from 1 in reset function. And you can change the data rate (RB) to 2 kbs or lower and frequency deviation (FD) to 5 kHz or lower then sending function will be working. Now I’m still working on receiving function. I have been stuck in this problem for more than two weeks. Does anybody have idea?
I’ve also used the FM22 library from http://www.open.com.au/mikem/arduino/RF22/ with good results, but it is on a board that is running at 3.3V http://blog.ckdevices.com/?p=119. When you interface with the UNO are you doing any level shifting on the communication lines between the UNO and the RFM22B? That could be part of you problem.