If you are interested in online measurements, you can look at the measurement hardware we built for Eon. The paper and hardware designs, and energy estimation code are available at the following link.
http://prisms.cs.umass.edu/~sorber/eon/ Depending on what you are doing you might not need hardware support. It really depends on what you are trying to do. This paper might also help. Dunkels, A., Ă–sterlind, F., Tsiftes, N., and He, Z. 2007. Software-based sensor node energy estimation. In *Proceedings of the 5th international Conference on Embedded Networked Sensor Systems* (Sydney, Australia, November 06 - 09, 2007). SenSys '07. ACM, New York, NY Hope that helps. Jacob On Wed, May 7, 2008 at 5:51 PM, Gary Lee <[EMAIL PROTECTED]> wrote: > Is there any general code or approach we can use? > > Datasheet is only a reference, I think. > > For example, what if I would like to measure how much energy it will cost > to sense a temperature value? > > Best regards, > > Gary > > On Wed, May 7, 2008 at 2:39 PM, Ittipong Khemapech < > [EMAIL PROTECTED]> wrote: > > > I think one of several ways to do is to have a look at CC1000/2420 > > datasheet. They provide current consumption required for transmitting at > > various transmission power levels. > > > > Ittipong > > > > 2008/5/7 Gary Lee <[EMAIL PROTECTED]>: > > > > > Hi, > > > > > > I am wondering how to measure the energy consumption in TinyOS 2.x? > > > > > > For example, the energy consumption of transmission of packet? receipt > > > of packet? etc. > > > > > > Thanks, > > > > > > Gary > > > > > > _______________________________________________ > > > Tinyos-help mailing list > > > Tinyos-help@millennium.berkeley.edu > > > > > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > > > > > > > _______________________________________________ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help