Alice Campbell wrote:
{Quote hidden}>
>Esteemed Piclist:
>
>Once i discovered that the ADC in my datalogger wouldnt run
>at 33 kHz, i replaced the watch crystal with a 4 MHz crystal.
> There are two caps, 47 pF. The dataloggers live outside,and
>sleep 7 minutes to one hour. Its pretty hot out, about 100
>deg or more in the daytime. I have a temperature
>compensation routine to correct the sleep time for
>temperature, that isn't the problem. While the circuits run
>pretty well under about 80 deg, once they get hot, they only
>sluggishly wake up, one hardly wakes up at all. I tried a
>.1uF cap across the pic's power pin to ground, to boost it a
>little, helped a little but not fixed. I changed the caps to
>33 pf but thats worse. The capacitance of my finger will
>generally wake up the more sluggish unit, but i really cant
>stand around all day slapping the thing to make it run. Im
>starting to reach for the big rubber mallet, does anyone have
>any suggestions?
>
>Thanks,
>alice
>
Hello Alice,
I have never tried sleep mode with a PIC, myself, nor tried
operating a PIC at 100 degF [although all I would have to do is
open the outside door around here right now], but the first thing
that occurred to me was
- Do the loggers start up reliably from a "hard" reset at these
temperatures? You may be looking at the wrong problem.
- Also, you might want to look at using an industrial temp range
PIC - it may be way over 100 degF inside the box, esp in the sun.
[might set up one of your channels to measure internal box temp].
- Also, maybe you battery is pooping out at those temps.
- Also, you might check the datasheets re operating temperatures
for the crystals you are using, and possibly try other xtals.
Someone else may know if resonators work better at hi temps.
Might also check
http://www.murata.co.jp
- Also, when you went from 32 Khz, you did change over from the LP
to the XT oscillator, didn't you? If all else fails, you might
even try the HS oscillator - [really make the xtal's day].
- Also, interestingly, the PIC datasheet says using lower value caps
should "decrease" the startup time - but yours appears to work the
other way. Hmmmm????? Still, you might try the low end value shown
in the datasheet, 15 pF.
- [the key to fixing this sort of thing is to just keep asking
questions, and testing things - and keep your sun hat on].
Maybe someone else has had hi-temperature experience with PICs ????????
best regards,
- Dan Michaels
Oricom Technologies
===================
--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]: PIC only [EE]: engineering [OT]: off topic [AD]: advertisements