 |
 |
| View previous topic :: View next topic |
| Author |
Message |
Ttelmah
Joined: 11 Mar 2010 Posts: 20161
|
|
Posted: Tue Apr 10, 2012 1:44 am |
|
|
Also, the key problem with the XO56BR10KHZ, is it draws more current than the PIC does when it is running.....
That particular part is 'obsolete' as far as the manufacturer is concerned, but the data-sheet shows it drawing 30mA.
However the latter microcrystal number posted is ideal, attached to the timer1 oscillator pins.
It has already been stated to the original poster several times, but lets repeat it:
1) No. You _cannot_ sleep, and wake up using the master oscillator as a timing source.
2) To wake up, the way you want, you _must have_ either a second crystal oscillator, on the timer1 pins, _or_ an external oscillator.
3) Most external oscillators, _will_ draw more power than using the watch crystal on the timer1 pins, that has already been described. However it does bring the possible advantage of offering different sleep intervals if required.
Seriously, don't be afraid of just adding the watch crystal. These are specifically designed for low power use, are cheap, and offer surprisingly good frequency stability at normal room temperature. Using one of these to wake up every couple of seconds, and just executing minimal code when you are awake, power consumption can be so low that you can get several _years_ of life off a single coin cell battery.
This is what is _needed_ to make what you want work.
Remember also, that in many cases, if 'timing' is not critical in the 'awake' sections of code, you can use the internal RC oscillator on many PIC's, which wakes up quicker, and reduces the part count.
Best Wishes |
|
 |
asmboy
Joined: 20 Nov 2007 Posts: 2128 Location: albany ny
|
|
Posted: Tue Apr 10, 2012 6:53 am |
|
|
the BEST way to wake from sleep is on external EVENT based stimulus.
there are MANY different stimuli to choose from.
once again the data sheet is your best friend. |
|
 |
|
|
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
|