I glanced through the code quickly and saw notes referring to "turning everything on"; seems one would want the app to measure the battery voltage under the maximum load seen in the app, which would often I think be micro+radio?
Or maybe it is best to check load with absolutely everything on regardless of one's intended load, as the various tasks in the app are unpredictably related in time due to the OS? I am not yet clear on how the measurement is made specifically during radio transmission with the CPU awake. Also, I would think that a measurement taken some period after the radio is powered on would result in a somewhat lower value depending on the battery (source impedance) used in the app... Bruce > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Stefan > Bartok > Sent: Monday, July 29, 2002 10:55 PM > To: 'Burrell, Jenna R'; '[EMAIL PROTECTED]' > Cc: 'Akos Ledeczi (E-mail)'; 'Peter Volgyesi (E-mail)'; 'Brad Bressler > (E-mail)'; Gyula Simon > Subject: [Tinyos-users] Battery voltage measurement app > > > Hi all, > > Until the new TinyOS paradigm finalizes and we start contributing to the > main CVS, I think it still may be useful for many people to share some code. > > First, here comes our battery voltage measurement application. Well, it is > really tiny, but very useful. > See the most important excerpts from its readme file: > > > - BATTERY_TEST - > Battery tester application for TinyOS > > Author: Peter Volgyesi, Vanderbilt University > Institute for Software Integrated Systems > (version 0.1, July 29, 2002) > > ... > > Introduction > > Low batteries usually cause mystical behavior (RF problems, freezing, > etc.). > > This application measures the battery voltage using the built-in ADC > of the mote. The results are sent through the serial port, and displayed > on the PC by a Java GUI. > > During the measurement, the mote runs a busy-wait loop to ensure > consistent > power consumption. > > ... > > Bug Reports and Feedback > > Please, report any bugs, send comments to Stefan Bartok at > [EMAIL PROTECTED] > > ... > > This application can be downloaded from the following URL: > > http://www.isis.vanderbilt.edu/projects/nest/downloads.html > > > -- > Stefan Bartok > _______________________________________________ > Tinyos-users mailing list > [EMAIL PROTECTED] > http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users > _______________________________________________ Tinyos-users mailing list [EMAIL PROTECTED] http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users
