> I'm upgrading my 16F84-based datalogger with 16F628. > ... > The only difference is a higher current consumption on the '628 (1050 > uA versus 700uA of the '84) when the logger isn't in sleep. When in sleep > mode, the values are similar (35uA the '628 and 50uA for '84). > ... > has anyone a idea which area I can test to find the solution? The 628 has more stuff, so you should be sure any module you are not using is turned off. They will wake up that way except for the comparators. Since the 84 doesn't have these, you have to add code to deliberately disable them. Also make sure the port B pullups aren't on with lines held low, unless of course you need it that way. Of course port B is the same on the 84, but it wouldn't hurt to hunt down all the microamps and make sure they are needed. Please let us know if you find something. ******************************************************************** Olin Lathrop, embedded systems consultant in Littleton Massachusetts (978) 742-9014, olin@embedinc.com, http://www.embedinc.com -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics