Andrej, thank you very much for this suggestions! Obviously, you are talking about 16F62x, not 16F84.. At the moment I must use the 2.nd (I have about 10 ~15 'F84), but I will start also in developement with 'F628, if my programmer can manage it. bye Marco ----- Original Message ----- From: "Andy Jancura" To: Sent: 8 febbraio, 2002 14.56 Subject: Re: [EE]: 16F84 Datalogger - current consumption > Hello Marco, > > >The only doubt I have, using a 32 Khz unit, is a lowered capability in > >frequency measure: or I'm wrong? > > > >Bye > >Marco > > My ideas were: > > 1) you have two crystals 4MHz and 32KHz. First for measure-task, second for > counting the time in sleep mode with timer1 and wake-up from sleep. MCU runs > on 4MHz allways except in sleep. > > 2) principe is the same as in one, but you use internal RC for clock > generation, so no external components are needed. The speed control bit > changes the frequency into MCU to 4MHz in measure-task and before entering > sleep it slows down to 37kHz and reduces power consuption. This mode is > exactly what your application needs. > > More details are in datasheet. > > Andrej > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. > > -- > http://www.piclist.com hint: The PICList is archived three different > ways. See http://www.piclist.com/#archives for details. > > -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.