[Tinyos-help] Energy costs of some operations
fhg07 at c3sl.ufpr.br
fhg07 at c3sl.ufpr.br
Mon Nov 10 04:31:41 PST 2008
Well, I am developing a sort of protocol, and then I would like to know
about some energy costs, in order to implement it more effectively.
When I read my power level through VoltageC.Read, do I spend much energy
doing this?
Secondly, is it a good idea to have a timer firing every 0,5 seconds, and
increasing a counter as it fires, in order to make something based in
turns? (yes, I am aware of eventual overflows). I mean, does this cost too
much energy, or not much at all?
I wanted to make something like this: Every 3 minutes (when the timer has
already fired 600 times), I get a voltage read. Trying to do this not so
often because I suppose that there is an energy cost for it.
Thanks in advance,
Fernando.
More information about the Tinyos-help
mailing list