Post a new topicPost a reply Page 1 of 1   [ 2 posts ]
Author Message
 Post subject: Battery and charging question...
PostPosted: Fri Jul 20, 2012 2:24 am 

Joined: Thu Mar 08, 2012 11:51 pm
Posts: 63
Location: USA
Hi,

This is actually two questions....

I have a waspmote that reports a battery charge of 93% but the charging light is not on. It seems that the charging light will come on when the power drops to below 80%, but otherwise, at 93% it does not appear to charge anymore... is this normal?

The second question is... my code is putting the mote into deep sleep using the following:
Quote:
  // sleep ...then wake with RTC alarm or ACC interrupt
  dlog("sleeping... 15 sec");
  PWR.deepSleep("00:00:00:15", RTC_OFFSET, RTC_ALM1_MODE1, ALL_OFF);


The ALL_OFF includes the BAT_OFF flag. Do I need to turn the battery monitor back on before trying to check the voltage or power levels? If I do need to turn it on.. how do I do that? There does not appear to be a BAT_ON flag... Is the proper way to call SwitchesON(BAT_OFF)?

Kind regards,
Cryptik


Top
 Profile  
 
 Post subject: Re: Battery and charging question...
PostPosted: Fri Jul 20, 2012 12:43 pm 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 7479
Hi Cryptik,

yes, it is normal since this battery level is an approximation and the battery charger does not start the charge until it has fallen below a minimum threshold.

And yes, the battery level monitor has to be powered, but it is automatically done in the getBatteryLevel function, you don't have to worry about it.

Regards.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 2 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