The basic idea is to switch on the power to a microcontroller project periodically using the alarm function of a DS3231 which is running on its 3V coin cell. This could be useful in battery-powered projects where there are other devices such as sensors or SD cards that can't be put to sleep along with the processor. I just wanted to present some schematics showing how this could be set up.
It's the INT/SQW pin of the RTC module that controls the power. And in all cases it's necessary to disconnect that pin from its pullup resistor on the module, which can be done by cutting a trace. The INT/SQW pin is an open drain output, which means it goes low when the alarm triggers, but is high impedance otherwise.
So the idea is that a low on that pin turns on a P-channel mosfet which supplies power to the project. The processor then does it's thing, then brings up Vcc to the module and configures a new alarm setting, and then, as its last act, clears the alarm flag, which releases INT/SQW and allows R1 to pull the gate back high, thus turning off the power.
The maximum voltage which can be applied at the INT/SQW pin is 5.5V. The first schematic shows a project which fits within that limit. In that case, the pin is connected directly to the mosfet gate, which has its own pullup resistor R1.
The second and third schematics were provided by Ian.M on the EEVblog forum, and add an intermediate transistor to deal with a 12V power supply. One uses an NPN transistor, and the other an N-channel mosfet. In both cases a wire has to be soldered to the positive terminal of the coin cell holder to provide 3V to the base/gate of the NPN/mosfet. The circuit is a bit odd, but allows a low on INT/SQW to turn on an NPN or N-channel part which normally would require a high voltage to turn on.
In the mosfet version there is a note that R2 probably is not needed. I breadboarded that circuit, and found it worked fine with or without R2. If R2 is eliminated, then power can remain on without any extra current flowing from the coin cell, which is a good thing. However, I am still uncertain why this works since the source of the mosfet is floating until the alarm is triggered. If any EE out there has a comment on why it works without R2, I'd like to hear it.
I hope these circuits will be useful.