Post Reply 
WP34S: Reset when printing statistical registers?
07-04-2014, 07:29 PM (This post was last modified: 07-04-2014 07:41 PM by pito.)
Post: #32
RE: WP34S: Reset when printing statistical registers?
(07-04-2014 06:51 PM)Marcus von Cube Wrote:  
(07-03-2014 09:24 AM)pito Wrote:  Do we measure the battery voltage (BATT) under full load??
When not, the BATT does not show the proper numbers..
..
I agree on your conclusion but I can't help it.

You do measure the battery with BOD regularly _after_ this chunk:

Code:
 ..if ( GoFast ) {
                /*
                 *  We are doing serious work
                 */
                if ( ++GoFast == 5 ) {
                        speed = SPEED_HALF;
                }
                else if ( GoFast == 10 ) {
                        speed = SPEED_HIGH;
                        GoFast = 0;
                }
        }
    >>>>>>>>>>>>>>HERE YOU MEASURE BATT..

As we know quite well how a CR2032 behaves, you can predict the switching into SPEED_HALF (20mA) or SPEED_HIGH (40mA) will trigger the reset. So you may not to allow to switch into SPEED_HALF or SPEED_HIGH modi (based on the previous BATT values). That is maybe a small mod to the above code.. Just an idea..
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: WP34S: Reset when printing statistical registers? - pito - 07-04-2014 07:29 PM



User(s) browsing this thread: 1 Guest(s)