trouble with rfm12b

i have programmed emontx and emonbase, both seams to work, i can se measurements in the serial terminal on emontx,
the emonbase serial monitor shows that it gets an ip from dhcp but it only post  json={rf_fail:1}

have also tested a couple of rf tx/rx demos from your site.   but non of them works, what can be wrong?

how do iknow if the problem is with emontx or emonbase (nanodrf) is there any debug mode where i can get som kind of error message when the emontx tryes to send?

StuntMonkeh's picture

Re: trouble with rfm12b

I had the same problem at one point.

Try using the two sketches here https://github.com/openenergymonitor/RFM12B_Simple.

Simply put the TX firmware on one node and the RX firmware on the other and then use the serial output on the RX device.  You should start to see the data arriving from the TX device at 1 second intervals with the values increasing, don't worry these are not real values just calculations which are incremented to simulate.

If it still doesn't work you probably need to try another node to diagnose which piece of hardware is at fault.

eriksholm's picture

Re: trouble with rfm12b

i have tryed with RFM12B_Simple, emontx seems to be sending (according to serial monitor) but the emonbase do not receive anything..

becuse i have assembled the emontx my self,  i guess it probably something wrong there, is there any way to see if the emontx really is transmitting?

 

 

TrystanLea's picture

Re: trouble with rfm12b

Might be worth checking the voltages on the RFM12 following the diagram about half way down the page here http://openenergymonitor.org/emon/buildingblocks/rfm12b-wireless, you could also check the continuity between the ATmega pins and the RFM12 following the same diagram, or the emontx board layout on solderpad http://solderpad.com/openenergymon/emontx/

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.