Hi Ben,
I have improved the current shunt resistor to measure the power consumption, and all the code that I had posted don't work. I have found out that the voltage regulator autoconfigures to minimum power consuption if it is not used ADC, analog comprator and Brown-Out detector. One thing that it is not usually mentioned is FUSES CONFIGURATION. In my default config CKSEL[3,...0] select the external crystal oscillator. I think that 400 uA should come from the external crystal oscillator with the CKOPT=1 (enable). I have never tried to change the configuration of the fuses but I think that if we compile the application with CKOPT=0 the power consumtion in sleep mode could fall to the 40uA. I am sorry but I won't be able to test it till January 8th. Regards and merry Christmas! 2007/12/19, Murray, Ben <[EMAIL PROTECTED]>: > > Hi > I have had this /exact/ same issue with MICAz motes in TinyOS-2.x! I > compiled and recompiled apps/null as provided with the tos2 download but the > current consumption for my motes was /always/ well over the suggested 5-10uA > by at least around 100uA, usually more like 400-500. I found that /most/ > motes ran at the expected <10uA but only if they were run from a supply of > about 2.3-2.4 volts. I tried numerous measuring devices and am confident > the readings were correct. didn't find a resolution on the list as no-one > had the same problem somehow. Quite glad someone else is experiencing the > same problem so it's not (necessarily) something I've somehow done! :-) > > If you do work it out I'd love to know! > > Cheers. > -Ben > > > -----Original Message----- > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] Behalf Of *Carlos Gil > Soriano > *Sent:* 18 December 2007 16:18 > *To:* [email protected] > *Subject:* [Tinyos-help] Power-down ADC on MicaZ ATMega128 > > Hi, > > I am working on monitoring consumption in micaZ motes. I have slept both > the micro and the radio. So consumption must be above 20 uA (from the radio > without WD nor battery monitor) plus 20 uA from ATMega. > > I have achieved a minimum consuption above 400uA on micaZ platform. Taking > a look to the ATMega datasheet (page 355) it is suppossed that over 300 uA > are from ADC. > > I have tried to power-down the ADC, but results imposible for me. The code > that I have used is > > cbi(ADCSRA, ADEN); > > I guess that it should clear ADEN bit in ADCSRA register (as shown in page > 232 of ATMega datasheet). > > Can anyone help me? I am on tinyOs1.15, but not matter if someone can > point out a solution for T1 or T2. > > > Thanks and merry X`mas! > > > ******************************************************************************* > > Please consider the environment before printing this email. > > > ******************************************************************************* > > This email and any files transmitted with it are intended solely for the > use of > > the individual or entity to whom they are addressed and may not be > divulged to > > any third party without the express permission of the originator. Any > views > > expressed in this message are those of the individual sender, except where > the > > sender specifically states them to be the views of Thales Research & > Technology > > (UK) Limited. > > > ******************************************************************************* > > >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
