You can do online Energy profiling, calculate the on and Off time of the radio and then multiply it with the current consumed in each of that state, and actively log it serially. It a bit difficult to monitor all the modes of MSP430 and CC2420, so I would suggest to monitor CC2420, for its send and receive states, since these are the major sources of energy dissipation.
I once wrote a code for the online Energy profiling of Telosb nodes, If you like I can share it with you. On Mon, Sep 17, 2012 at 7:20 PM, [email protected] <[email protected]>wrote: > I'm currently facing the same problem. > > I've already run some tests and it seems quite difficult to correlate the > voltage with the real consumption even having a battery model. > > Does TinyOS provide any energy profiling mechanism that measures where > energy is spent, and how much energy that is consumed? > > This is becoming extremely important for us when optimizing for low-power > operation > > BR, > Davide > > On 17 Sep 2012, at 17:53, Han Bin wrote: > > > > > Dear all, > > > > I'm working on deploying a network of 30 telosb sensor nodes. Node works > in > > a duty cycle (sleep and active modes) and is powered by using one pair of > > batteries (3V). Now I want to measure the energy consumption of each > node. I > > use the VoltageC component to measure the actual voltage of node > > before/after testing. So I can calculate the amount of voltage consumed. > But > > in my scenario, the current of node is not constant, it varies when the > node > > works. I'm wondering whether I can use amount of voltage that the node > has > > consumed to evaluate the energy consumption of node or not. Is there any > > solution to measure the energy consumption or any command to get the > > remaining battery level (remaining energy) of telosb motes? > > I greatly appreciate any help on this issue. > > Thank in advance. > > > > Best regards, > > Han Bin > > -- > > View this message in context: > http://old.nabble.com/Energy-consumption-on-Telosb-tp34443559p34443559.html > > Sent from the TinyOS - Help mailing list archive at Nabble.com. > > > > _______________________________________________ > > Tinyos-help mailing list > > [email protected] > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Wasif Masood
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
