On May 14, 2010, at 11:37 PM, farooq_s wrote:

> 
> hi,
> 
> My application demands me to put the MCU in low power mode to conserve
> power. I am working on tinyOS 2 and have multiple sensors installed on the
> node connected to the different pins of the ADC on atmega128. The problem is
> that, I want the MCU to be in sleep mode while the timers are running. I
> read the data sheet of atmega128 and there are several low power modes
> described. I dont get the idea of how to select the sleep mode. also how can
> i turn the ADC off while i am not using it. Kindly help me with this, as I
> am stuck at it for a while now!
> 
> Regards,
> Farooq
> R.A. EE Dept
> King Fahd University of Petroleum & Minerals
> -- 

TinyOS will automatically put the MCU into the lowest power state it can, based 
on what (ADC, timer, SPI, etc.) is active. Take a look at 

tos/chips/atm128/McuSleepC.nc

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

Reply via email to