Emon TX V2 stopped working

I am having a problem with one of my emon tx's. Its stopped sending data, its just showing as inactive within emoncms.

I have tried re flashing it using arduino but its made no difference.  The LED indicator flash sequence looks to have changed too. Stays on and blinks off every other second or so. The other one i have that works stays off and blinks on every other second or so??

Any ideas?

 

Here is the output when checking from Adruino.

0 1483 10734 0.96

0 692 5306 0.56
0 395 2848 0.38
0 248 44 0.29
0 89 0 0.06
0 20 0 0.07
emonTX CT123 Voltage example
OpenEnergyMonitor.org
Node: 10 Freq: 433Mhz Network: 210
3915 -27412 30222 90.94
0 2550 215 0.18
0 84 0 0.07
0 0 0 0.38
emonTX CT123 Voltage example
OpenEnergyMonitor.org
Node: 10 Freq: 433Mhz Network: 210
9206 27508 -24408 139.45
30 -22291 11731 8.06
4 22904 2645 3.24
0 12935 707 0.74
0 7083 267 0.28
0 366 24 0.32
0 0 0 0.30
emonTX CT123 Voltage example
OpenEnergyMonitor.org
Node: 10 Freq: 433Mhz Network: 210
15987 10810 -26266 183.75
427 28672 6272 30.14
86 15193 648 13.60
28 7616 263 7.80
6 4689 95 3.75
1 3180 1 1.79
0 1813 0 0.68
0 600 0 0.10
0 159 0 0.17

And it just repeats like this.

Robert Wall's picture

Re: Emon TX V2 stopped working

It looks as if it is timing out and the watchdog is causing a reset. It should turn the LED on while the RFM12B is transmitting, then turn the LED off and sleep for 5 s. Therefore, the sketch is hanging between turning the LED on and turning it off again.

I suspect your RFM12B module has failed. The first thing to do is check your soldering, especially around that module. It's quite normal for a dry joint to only show up after some weeks or months of service.

noworries's picture

Re: Emon TX V2 stopped working

I had already looked at the soldering and it all looked good. Glyn did it for me so I am no expert.

Robert Wall's picture

Re: Emon TX V2 stopped working

What I wrote above is not quite true: at startup, it turns the LED on, then runs through the loop, sends the RF data, then flashes the LED on and off. But the effect is still the same - the sketch is hanging before it gets to turning off the LED.

You could prove that it is hanging inside sending the RF data by temporarily inserting

digitalWrite(LEDpin, LOW);

immediately before the end of the setup() function, and move the digitalWrite((LEDpin, HIGH); that comes after send_rf_data(); to just before it. If the LED comes on and stays on for 8 s (i.e. almost the same behaviour as you're seeing now), then I'm fairly certain it's hanging in send_rf_data() and it's the RM12B module not responding. 

If there is no other visible damage, all the voltages are still sensible, and if everything else seems OK, then my favourite would be a failed RFM12B. As you're clearly not likely have the equipment to be able to remove the RFM12B from the board without damage, and as Glyn's already had a hand in this, I suggest contacting him to see if he can confirm my diagnosis and replace the RFM12B for you.

 

glyn.hudson's picture

Re: Emon TX V2 stopped working

Hi Ian,

Seen your post. Please send the board back to me and I'll investigate. I've sent you an email. 

Comment viewing options

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