You can approximate the energy consumption by measuring the time taken to perform the operations and then using E = V.I.t, V is the voltage, I is the current draw of the mote in active mode and t is the time taken for the operation.
-vimal ________________________________________ From: tinyos-help-boun...@millennium.berkeley.edu [tinyos-help-boun...@millennium.berkeley.edu] on behalf of sandyireland [sandy.i...@gmail.com] Sent: Wednesday, October 16, 2013 9:29 AM To: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Energy measurement of Routing protocols better methods? Any suggestion guys excluding or adding into above option explored: Option 1: use while mote transmitting packets take from the pin of micaz mote measure energy used by oscilloscope. (pin of cells n wireless moe can used to get output to oscilliscope.. better method kindly suggest. Option 2: use code of oscilloscope to dump data and consolidate value apply formulae to measure energy used during transmission. (Actually Not from Linux background was more in datwarehousing BI, ERP,project mangement last 9.5 yrs..No its my first project in Linux, wireless and embedded domain) -- View this message in context: http://tinyos-help.10906.n7.nabble.com/Energy-measurement-of-Routing-protocols-better-methods-tp23673p23674.html Sent from the TinyOS - Help mailing list archive at Nabble.com. _______________________________________________ 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