|
|
View previous topic :: View next topic |
Author |
Message |
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed Apr 21, 2004 11:45 am |
|
|
Quote: | Errrr, do I detect a hint of sarcasm? |
Actually it was mild exasperation. I know I shouldn't do it,
but sometimes I just give in to it.
But truly, the current data sheet (Rev. C) for the 12F629/12F675
is a lot better in the Electrical section than the typical Microchip
data sheet. The typical data sheet has "TBD" or "Preliminary"
plastered all over the charts. The Rev. C data sheet has very
detailed charts for power consumption. For example, Tables
12-3 and 12-4 show the following values for 3.0v operation:
LP MODE: 18 ua
WDT: 1.8 ua
BOD: 58 ua
T1OSC: 4.6 ua
CVREF: 85 ua
COMP: 6.1
--------------
Total 173.5 ua
That list above explains most of the current draw that you're seeing.
There may be other peripherals that you have turned on, that I'm not
aware of. Also, the values given above are from the "Typical" column
in the chart. It also gives "Maximum" values, so one or more of the
numbers above could actually be higher. Then it would explain the
entire 190 ua that you're seeing.
This is why I was mildly bugging you to look at the data sheet.
It's because the answer is there. |
|
|
Neutone
Joined: 08 Sep 2003 Posts: 839 Location: Houston
|
|
Posted: Wed Apr 21, 2004 1:07 pm |
|
|
You might try turning the refrence on and off as needed it can be configured on the fly. Same for the comparitor. Brownout is not going to help you. |
|
|
dazza Guest
|
thanks |
Posted: Fri Apr 23, 2004 1:08 am |
|
|
Hi,
Thanks everyone.
PCM - yes it was because of all those features I had enabled. After disabling them, I'm down to about 30uA.
I do not have a regulator - instead im running directly off the CR2032 battery.
I shall have to put some sort of low-batt detection on here... I was going to use the on-chip comparator but that takes too much juice to be left on permanently.
So my next question is, can I turn the comparator on, do a batt. check and then turn it off again, say once every hour??? or does it need to be left on permanently?
Im thinking that a low batt. condition is when the voltage is 2.1V or less. If 2.1V, simply go to sleep.
Is there an on-chip voltage reference which will still be reliable at 2.1V?
Or do you think it's better to have an external ref. / op-amp configuration to detect low batt. at these low voltage levels?
Regards,
Darren |
|
|
dbotkin
Joined: 08 Sep 2003 Posts: 197 Location: Omaha NE USA
|
|
Posted: Fri Apr 23, 2004 7:58 am |
|
|
Yes, you can turn on the comparator (or ADC, or whatever else you need) just while you need it, then turn it back off.
Bear in mind that the internal Vref is no more than a voltage divider referenced from Vdd... so the internal reference won't do you any good for detecting low battery. You'll need an external Vref.
Dale |
|
|
willie.ar
Joined: 21 Jan 2004 Posts: 15 Location: Argentina
|
|
Posted: Tue Nov 06, 2012 12:59 pm |
|
|
PCM programmer wrote: | Quote: | Errrr, do I detect a hint of sarcasm? |
Actually it was mild exasperation. I know I shouldn't do it,
but sometimes I just give in to it.
But truly, the current data sheet (Rev. C) for the 12F629/12F675
is a lot better in the Electrical section than the typical Microchip
data sheet. The typical data sheet has "TBD" or "Preliminary"
plastered all over the charts. The Rev. C data sheet has very
detailed charts for power consumption. For example, Tables
12-3 and 12-4 show the following values for 3.0v operation:
LP MODE: 18 ua
WDT: 1.8 ua
BOD: 58 ua
T1OSC: 4.6 ua
CVREF: 85 ua
COMP: 6.1
--------------
Total 173.5 ua
That list above explains most of the current draw that you're seeing.
There may be other peripherals that you have turned on, that I'm not
aware of. Also, the values given above are from the "Typical" column
in the chart. It also gives "Maximum" values, so one or more of the
numbers above could actually be higher. Then it would explain the
entire 190 ua that you're seeing.
This is why I was mildly bugging you to look at the data sheet.
It's because the answer is there. |
This is an interesting post and has abundant information.
I was trying to find what was draining so much current in sleep mode without success. After reading this post I found I left the BOD enabled. In my case, on a 12F675 @ 5 V consumption was 100 uA. After disabled it, input current canĀ“t be read with my tester. Thanks for your contribution. |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|