I have an autonomous weather station sitting outside.
It's pretty simple - an AVR micro, an RF module, a battery with solar charger and a few sensors.
Everything but the sensors and solar panel is in an almost-sealed plastic box.
It worked fine throughout the summer.
But winter is approaching quickly, and temperatures drop down to -12*C at night already.
Apparently, this causes problems.
First time it died in the morning, when the temperature went below zero for the first time and the battery was almost discharged.
I changed the battery, let it warm up indoors, and all worked fine for a week more, surviving through as low as -12*C.
Lacking sunlight, the battery ran out again, so i brought the thing indoors, let it warm up, did some tweaks to reduce power consumption, replaced the battery and got it back outside.
It was -7*C outside. An hour later, it stopped transmitting.
In the morning i brought it back indoors, and apparently the radio module won't transmit, while everything else worked.
I was preparing to replace it, when suddenly it came back alive.
So, i packed it up, and got it outside again.
It's -3*C now, it haven't failed yet after a couple of hours.
The question is - what could have caused these drop-outs?
It seems almost random, and only started with the cold.
All the components are rated down to at least -40*C (record low here is -42*C, so good enough).
What else could be a problem?