Post a new topicPost a reply Page 1 of 1   [ 10 posts ]
Author Message
 Post subject: Smart Metering Board Crash
PostPosted: Tue May 17, 2011 8:51 pm 

Joined: Wed Apr 27, 2011 10:42 pm
Posts: 29
Hi

I am trying to test a Smart Mtering Board with Waspmote. There is a current sensor (Efergy) installed on Socket 1.

The problem is that Wsapmote is restarting (rebooting) just after the sensor board is powered up.

I am using the following code for testing:

void setup(){

USB.begin();
USB.println("Program Started");
delay(5000);
SensorSmart.setBoardMode(SENS_ON);
SensorSmart.setSensorMode(SENS_ON, SENS_SMART_EFERGY);
SensorSmart.setLoadResistor(40);

}

void loop(){

float corrent;

corrent = SensorSmart.readValue(SENS_SMART_EFERGY);
USB.print("Corrent =");
USB.println(corrent);
delay (10000);

}


The code is rebooting after the SensorSmart.setBoardMode(SENS_ON) instruction.

Best Regards

Gilberto


Top
 Profile  
 
 Post subject: Re: Smart Metering Board Crash
PostPosted: Wed May 18, 2011 3:46 pm 

Joined: Wed Apr 27, 2011 10:42 pm
Posts: 29
Hi there

Is there any additional testing that could be done?

Best Regards

Gilberto


Top
 Profile  
 
 Post subject: Re: Smart Metering Board Crash
PostPosted: Thu May 19, 2011 12:11 pm 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 7472
Hi Gilberto,

sorry for the delay. We have tested your code here in Libelium and it works properly. How is your mote powered, through the USB, the battery or both? When the board is started it demands a short current peak. If the battery isn't connected and it is only powered through the USB, it may not be enough to provide this sudden current increment, so it will reboot. If the battery is connected, please check it is loaded.

Regards.


Top
 Profile  
 
 Post subject: Re: Smart Metering Board Crash
PostPosted: Thu May 19, 2011 8:22 pm 

Joined: Wed Apr 27, 2011 10:42 pm
Posts: 29
Hi

The mote is powered by both, battery and USB. The baterry charge is aboout 95%.

Maybe the voltage supervisor in the reset circuit is triggered the current peak.

Can we add a capacitor somewhere to absorb the current peak?

Gilberto


Top
 Profile  
 
 Post subject: Re: Smart Metering Board Crash
PostPosted: Thu May 19, 2011 10:17 pm 

Joined: Wed Apr 27, 2011 10:42 pm
Posts: 29
Hi

I did an additinal testing with the code below. The Mote is not resetng now, but the code newer reaches the USB.println("Teste") instructing.

Hope these helps.

void setup(){

USB.begin();
USB.println("Program Started");
// RTC.ON();
RTC.begin();
SensorSmart.setBoardMode(SENS_ON);
USB.println("Teste");
delay(5000);
SensorSmart.setSensorMode(SENS_ON, SENS_SMART_EFERGY);
SensorSmart.setLoadResistor(40);

}

void loop(){

float corrente;

corrente = SensorSmart.readValue(SENS_SMART_EFERGY);
USB.print("Corrent =");
USB.println(corrente);
delay (10000);

}


Top
 Profile  
 
 Post subject: Re: Smart Metering Board Crash
PostPosted: Mon May 23, 2011 10:19 am 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 7472
Hi Gilberto,

it should be not necessary to add any capacitor, the current issue is only important if no battery is connected to the board. Could you describe in which conditions did your board fail, how was it connected, how did you connect the Efergy clamp, etc?

Regards.


Top
 Profile  
 
 Post subject: Re: Smart Metering Board Crash
PostPosted: Tue May 24, 2011 1:40 pm 

Joined: Wed Apr 27, 2011 10:42 pm
Posts: 29
Hi

Waspmote is powered by both battery and USB. There is no sensor coonected in the Smart Metering Board.

I tested the board using the following code:

void setup(){

USB.begin();
USB.println("Program Started");
// RTC.begin();
SensorSmart.setBoardMode(SENS_ON);
USB.println("Teste");
delay(5000);
SensorSmart.setSensorMode(SENS_ON, SENS_SMART_EFERGY);
SensorSmart.setLoadResistor(40);

}

void loop(){

float corrente;

corrente = SensorSmart.readValue(SENS_SMART_EFERGY);
USB.print("Corrent =");
USB.println(corrente);
delay (10000);

}


The mote reboots just after the SensorSmart.setBoardMode(SENS_ON) command.


Top
 Profile  
 
 Post subject: Re: Smart Metering Board Crash
PostPosted: Wed May 25, 2011 10:02 am 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 7472
Hi Gilberto,

It seems a hardware issue. Have you tried it with different Waspmotes, in order to discard the problem is in the board and not in the mote? Once you detect in which of them is the source of the problem, please fulfill this form and we will give you an RMA number so you can return the boards to us and check them.

http://www.libelium.com/support/technicalservice

Regards.


Top
 Profile  
 
 Post subject: Re: Smart Metering Board Crash
PostPosted: Wed May 25, 2011 4:24 pm 

Joined: Wed Apr 27, 2011 10:42 pm
Posts: 29
Hi

These are really bad news. I have just one Smart Metering Board here.

Is the any chance to install a LDR sensor on a Gas Sensor Board?

Best Regards

Gilberto


Top
 Profile  
 
 Post subject: Re: Smart Metering Board Crash
PostPosted: Thu May 26, 2011 10:06 am 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 7472
Hi Gilberto,

yes, it is possible, you may connect it to the Vcc and Output pins of the socket for the atmospheric pressure sensor, the voltage divider introduced to adapt the output of the sensor will work as the load resistor for the LDR.

Regards.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 10 posts ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Libelium theme based on 610nm Style by Daniel St. Jules of http://www.gamexe.net


© Libelium Comunicaciones Distribuidas S.L. | Terms of use