I am no sure about how to configure the JeeLab to work with the Arduino Mini Pro and, I have no communication with the default sonfiguration. I have the following building parts
2 pieces of Arduino Mini Pro (3.3V)
2 pieces og HopeRF RFM12b (v1.0) 433 MHz
JeeLabs liberary (Example RF12stream uploaded to both Arduino's)
The two RFM12b is connected to the two Arduino Mini Pro as follows:
I have connected a 175 mm Antenna to the ANT on both RFM12b's and the distance between them i roughly 20 cm. The RF12stream program example is installed on both Ardurino Mini Pro's and, I have connected a oscilloscope the the GND and the SCK PIN's on the RFM12b, but I don't ses any SCK signals when running the program. I see some signals on the other PINs, but expected to see the SCK ! Because of this, I guess, that I need to configure the JeeLabs.org lib. ?
Never used JeeLab so not sure if you need to configure to suit a pro mini but this schematic shows the SCK, MISO & MOSI to be on different pins to the connections you show.
Thanks for your input but, compared to the diagram you linked to, my Arduino Mini Pro has an other PIN numbering but, I have connected it the same way.
Remark: I have executed other programs without any problem.
IMPORTANT: When running the program RF12Demo from JeeLibs, I can communicate with the RFM12b and store the node ID and communicate with the RFM12b. I see that the SCK is only turned on, when the Mini Pro and RFM12b communicates and, then the SCK is turned off again.
Now I just want to find out, if it is possible to measure the RF signal on the RFM12b antenna ? Just to verify that a signal is transmitted. My scope is going down to 5 ns/40MHz/2mV.
Other suggesions to a simple test of the communication between the two RFM12b's
japping:
Thanks for your input but, compared to the diagram you linked to, my Arduino Mini Pro has an other PIN numbering but, I have connected it the same way.
Can you supply more details/links to the Arduino mini pro your using. Maybe the mini pro and the pro mini are different things.
japping:
I haven't been precisely enougt when posting this - sory. I am using two Mini Arduino Pro from www.sparkfun.com. I hope this is information enough ?
japping:
No, I have not connected the RFM12b PIN IRQ to the Mini Arduino Pro. But I will look into it and try to find out what the function of this PIN is.
I think the pin is used by the RFM12B to tell the Arduino that RX data has arrived and needs dealing with.
Status:
I think that the two Mini Arduino Pro with RFM12b is running now, but I am not sure how to test it. I have a PC with serial interface connected to one of the Arduinos and the other Arduino+RFM12b is running om battery. I have uploaded the JeeLabs example RF12Demo. When I send the serial message "4,10 a" I get this back:
Anyone who know what this means ?
Any suggestions to a program that can verify my setup with only one serial connection to one of the arduino's. It could be a program that continously send RFM12b RF messages to the other RFM12b.
"Next few days" -DUH. Once I gave up on jeelib and found out about lowpower labs, it took about 5 minutes to get the basic Send and Receive examples to work. Just try it and see.
First of all I am glad to tell you, that the RFM12b communication between the two Mini Arduino Pro's are working now
What I found out this morning was, that the battery on the standalone Arduino just delivered 2.85V and not 3.3V. I then connected a 4.5V powersupply and the RF12Demo command "0a" gave me the answer "OK 194"
Discussion summery:
Riva corrected the missing IRQ wire between the Arduino and the RFM12b and, oric_dan pointed out that there is an alternative to JeelLabs called GitHub/LowPowerLab.
Thanks a lot for all you help, now it is possible for me to work further on with my weather station.