constant red led emontx v3 help needed.

Hello

 

I had my emontx v3 using 5 ds18b20 temp sensors. this have been working for 3months without any problems.

so last week it stoped working and the read led is constant. tryed to reset.
Tryed to upload new sketch.

Uploading new sketch working with no problem.

i use this only for temp monitoring.

Firmware used is attached in message.

 

I tested to use serial monitor. but the emontx v3 is not responding to serial monitor (no output).

I also used the example sketch that not been chenged as it is from the git download area.

 

Anyone that can help me debug this?
Emoncms is allso not register any from that node i set. also tryed to change node. no data sendt to emoncms or rpi.
My other emontx v3 that is sensing power from my heatpump is working ok.

 

any help is welcome

Robert Wall's picture

Re: constant red led emontx v3 help needed.

If you look at the sketch, the red LED is turned on at the beginning of setup( ) with the line

digitalWrite(LEDpin,HIGH);

Then three messages are printed to the Serial Monitor:

Serial.println("emonTx V3 Discrete Sampling V1.2");
Serial.println("OpenEnergyMonitor.org");
Serial.println("Performing power-on tests.....please wait 10s");

Do you see those messages?

Do you see those messages if you disconnect all your temperature sensors?

Next, it initialises the RFM12B radio module, and sends 10 test messages. If the RFM12B has failed, it will not initialise and the sketch will stop there. Is the RFM12B plugged in / soldered correctly?

Then it checks how many CTs are connected, and only then turns the LED off:

digitalWrite(LEDpin,LOW);

Therefore, if the LED stays on, the sketch is stopping somewhere in here.

roedfjel's picture

Re: constant red led emontx v3 help needed.

hello robert

 

my problem is that serial monitor gives no output to screen. i do not get this messages, so its hard debug.

i checked the solder and it seems ok.

i have removed the sensor

Maybe it is the rfm12b that is faulty?
Should i get messages if the rfm12b radio is faulty?
 

Robert Wall's picture

Re: constant red led emontx v3 help needed.

Sorry! I have just seen that you are not using the standard sketch - your sketch does not have those messages. That is why you cannot see them. The standard sketch starts:

void setup()
{

  pinMode(LEDpin, OUTPUT);
  pinMode(DS18B20_PWR, OUTPUT); 
  digitalWrite(LEDpin,HIGH);

  Serial.begin(9600);
  Serial.println("emonTx V3 Discrete Sampling V1.3");
  Serial.println("OpenEnergyMonitor.org");
  Serial.println("Performing power-on tests.....please wait 10s");

Are you using an ac-ac adapter or batteries as your power supply? What are the power supply voltages?

Does your RFM12B plug in or is it soldered?

Are you certain that you uploaded a new sketch without errors?  If you did, edit the sketch and comment out from just before

rf12_initialize(nodeID, freq, networkGroup);

to just after

rf12_sleep(RF12_SLEEP);

If the LED then goes out after 10 s, I think it must be the RFM12B module that has failed.

 

roedfjel's picture

Re: constant red led emontx v3 help needed.

I tested your tips. and when i comment out the rf12 the red led turn off. and i get the serial monitor ok. so it seems like a faulty rfm12. i think i need to by rfu board with new radio reciver. 

I use battery to power my emontx. but when im testing i use the programming interface too power the emontx.

i used the orginal emontx v3 sketch from git hub and its give me the serial output info.

Robert Wall's picture

Re: constant red led emontx v3 help needed.

I agree. I think the RFM12B has failed. Unless you have the professional equipment to unsolder the RFM12B, or you know someone who can do it for you, I think you must buy a new RFµ328. http://shop.openenergymonitor.com/rf-328-with-rfm12b-arduino-atmega328-c...

Comment viewing options

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