AndyWatson
New Member
I'm building a datalogger circuit that someone else designed, using a PIC16C773 and a serial EEPROM. I've never done any PIC programming and I don't have time to change the code, so I'm just going to use it as it is for now. They've even written a nice VisualBasic GUI to program and download the logger.
The way it works is that you connect the logger to a PC, initialize it and start the logger. Then you can disconnect the logger from the PC and deploy it, and it'll run until you retrieve it, or till it's full (256k) or till the batteries run out. I've been told by one of the designers that once the PIC chip has been programmed and deployed, if the PIC loses battery voltage for even a few seconds (ie. when changing the logger batteries) then it stops logging and it must be connected to a PC and reinitialized. That's kind of difficult since these loggers will be deployed in far off, hard to get to areas.
So I'd like to install some kind of a battery backup in the circuit, so the PIC will have continuous voltage during battery swaps. What's the easiest way to do that? I've seen stuff like this:
https://www.allelectronics.com/cgi-bin/category.cgi?category=search&item=CBC-14&type=store
Would that work, or would a couple coin-cell lithium batteries work?
By the way, the schematic for the logger is shown below. It's powered by 4 AA batteries (for 6v), but then they've got a 1n4001 diode that connects the batteries to the PIC. I'm guessing that's to drop the voltage down about 0.5V to meet the input voltage specs of the PIC, right? Will that interfere with any battery backup ideas? Thanks for any ideas.
The way it works is that you connect the logger to a PC, initialize it and start the logger. Then you can disconnect the logger from the PC and deploy it, and it'll run until you retrieve it, or till it's full (256k) or till the batteries run out. I've been told by one of the designers that once the PIC chip has been programmed and deployed, if the PIC loses battery voltage for even a few seconds (ie. when changing the logger batteries) then it stops logging and it must be connected to a PC and reinitialized. That's kind of difficult since these loggers will be deployed in far off, hard to get to areas.
So I'd like to install some kind of a battery backup in the circuit, so the PIC will have continuous voltage during battery swaps. What's the easiest way to do that? I've seen stuff like this:
https://www.allelectronics.com/cgi-bin/category.cgi?category=search&item=CBC-14&type=store
Would that work, or would a couple coin-cell lithium batteries work?
By the way, the schematic for the logger is shown below. It's powered by 4 AA batteries (for 6v), but then they've got a 1n4001 diode that connects the batteries to the PIC. I'm guessing that's to drop the voltage down about 0.5V to meet the input voltage specs of the PIC, right? Will that interfere with any battery backup ideas? Thanks for any ideas.