Hi,

> First, in previous posts, I was totally confused because, with LPL, in
> the sleep period my multimeter showed 3 mA. This morning I discovered
> that this value is given by the PRINTF library. In fact if I compile the
> application with the flag:
>
> CFLAGS += -I$(TOSDIR)/lib/printf
>
> in the Makefile, then in the sleep period I have ~ 3 mA. Incredible! :)
I think that if you enable printf, the mote will activate the serial 
port (to send the debugging messages) and the micro-controller will not 
go to sleep if the serial port is active. (Incidentally, I think there 
is a bug in TinyOS: when you activate the serial port and then 
deactivate it again, the micro-controller will still not go to sleep mode).

I currently don't have access to fancy lab equipment, either, and I was 
thinking about using a sound card (an external USB one to not damage the 
computer in case something goes wrong) as a replacement for an 
oscilloscope. What do you think of this idea?

Cheers,
Urs
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to