The challenge when using Avrora or some other MCU simulator, is that the MCU
is often only a small part of the energy consumption.  With TinySec,
something like Avrora might be ok, as long as you are sure that the code
changes will not have any side effects outside of the processor.  If your
extra cycles cause you to leave the radio on for a longer period of time,
for example, then you need to make sure that's accounted for.

You can always just hook it up to some kind of power meter, and measure it
directly.  If you don't have an ammeter/power meter, you can brush up on
Ohm's law and us an oscilloscope or DAQ with a sense resistor in series with
your mote.  Either way, measuring the power is just as easy as simulating
it, and you won't have to second guess the validity of your simulator.

Hope that helps,
Jacob

On Sun, Dec 13, 2009 at 11:58 PM, sissou <[email protected]> wrote:

> Hi,
>
> You can use Avrora to determine how many cycles are spent in the crypto
> functions and then you can compute the energy consumed.
> Regards.
>
> Sylvain
>
> On Sat, 2009-12-12 at 21:54 +0000, Dave McGee wrote:
> > Hi there,
> >
> > I'm in touch to see if anyone is aware of methods of monitoring energy
> > consumption used by certain behaviours/activities on TinyOS? For
> > example, If I enabled TinySec on my Mica motes, is there anyway I
> > could monitor energy consumption to try determine (even if its a
> > minimal amount) how much extra energy is consumed?
> >
> > Thanks
> >
> > Regards,
> > Dave
> > _______________________________________________
> > 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
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to