How to check if my rfm12pi is working correctly?

Do I have an opportunity to check if radio module Rfm12pi is working fine from the raspberry pi command line? The green light is blinking only when I put this module on RPI and then it's blind. I'm afraid it doesn't receive and send anything.

mharizanov's picture

Re: How to check if my rfm12pi is working correctly?

I assume you have sending nodes to begin with, and the RFM2Pi is configured for the same group/band as the rest.

There is pretty good info on how to debug here:

http://wiki.openenergymonitor.org/index.php?title=RFM12Pi_V2#Debugging

 

 

 

alexlember's picture

Re: How to check if my rfm12pi is working correctly?

Thanks a lot, Mharizanov!

It seems to work now, I've got default 868 Mhz on my rfm12pi now I've changed it. 

But what all these zeros mean? (see the picture below) 

mharizanov's picture

Re: How to check if my rfm12pi is working correctly?

You are receiving data, the node ID you receive from is 10, which looks lke an emonTX, right? 

It seems to be sending quite a lot of zeroes, check the firmware and wiring on that end.

alexlember's picture

Re: How to check if my rfm12pi is working correctly?

Yeah, that's clear about emonTx, I meant that each of these zeros should represent some physical value and I want to find the description if this structure. Is it in emonTx firmware?

Robert Wall's picture

Re: How to check if my rfm12pi is working correctly?

Yes. Look at the sketch that you loaded (if it is an emonTx V3, it will be pre-loaded with the "discrete sampling" sketch - Github or linked on the Wiki) and near the top you'll see a data structure called PayloadTX. That's the data that is sent.

Comment viewing options

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