Any RTC Favorites/Suggestions?
Duane Degn
Posts: 10,588
in Propeller 1
Do any of you have suggestion on a good RTC?
It looks like my boss wants to add a real time clock to the Propeller based industrial meter I've been working on (my job is mainly software).
We're thinking of using Microchip's MCP7940N (link to datasheet pdf).
We're not very concerned with the RTC's accuracy since the meter will regularly connect to external devices which can update the time.
We want to use a battery or super cap as backup power for the RTC.
Apparently this RTC requires a 32.768KHz crystal with load capacitence between 6nF and 8nF. I've found this one by Citizen.
I haven't figured out what sort of battery/battery holder (or supercap) to use yet. I just wanted to see if any of you have been down this road already have have any advice to offer.
I've always just used the inexpensive ebay RTC modules in my one off projects but this time the parts need to be available from reliable sources.
It looks like my boss wants to add a real time clock to the Propeller based industrial meter I've been working on (my job is mainly software).
We're thinking of using Microchip's MCP7940N (link to datasheet pdf).
We're not very concerned with the RTC's accuracy since the meter will regularly connect to external devices which can update the time.
We want to use a battery or super cap as backup power for the RTC.
Apparently this RTC requires a 32.768KHz crystal with load capacitence between 6nF and 8nF. I've found this one by Citizen.
I haven't figured out what sort of battery/battery holder (or supercap) to use yet. I just wanted to see if any of you have been down this road already have have any advice to offer.
I've always just used the inexpensive ebay RTC modules in my one off projects but this time the parts need to be available from reliable sources.
Comments
and the PCF2129T/PCF2127T have inbuilt Crystals, and TCXO operation for better ppm
Costs more, but swallows the sensitive parts, lowers the BOM and gives good temperature compensation.
( ISL12022MA above sounds similar approach)
@Duane: That crystal there is an ancient monster, why not use the small 3.2x1.5mm (or less) crystals that are readily available?
My boss would love to use a RTC with an internal crystal but those all seem to cost significantly more than the RTCs with external crystals.
I'll look at the ones you guys have suggested to see how they compare with the price of the other RTC options.
Thanks for the suggestions.
Wow, thanks for the schematic and the BOM. I feel like I'm getting better at finding my way around Mouse and Digi-Key but it's really nice to have some part numbers to be sure I'm looking at the right part.
Thank you.
Thanks for the link to the smaller crystal. I agree, it looks like a better option.
Thanks.
Edit: Link to the same part at Mouser in USA.
My boss likes the lower part count of the internal RCT chips but, as you say, they cost significantly more than the other RTC chips.
So far the price difference has been too high to justify moving to the internal crystal RTC. I'll take a look at the RTC chips suggested in this thread to see if any of these other chips cost less than the ones I've already found.
Thanks for all the great input guys.
ISL12022MA $4.79 each when purchasing 100 chips.
PCF2129T $2.52 each when purchasing 100 chips.
PCF2127T $3.01 each when purchasing 100 chips.
Agreed. I hadn't looked up the prices when I replied earlier.
Thanks for the suggestion jmg.
More likely a combination of factors. Newer chips have on chip crystals and additional benefits so may be of lower total cost when all the costs of placing it on a board are taken into account.
I don't have anything against the DS1302 but as kwinn and others have pointed out there are new chips with internal crystals.
I don't think we're worried about a bit a drift. The time will be reset each time the device connects with a PC or smartphone.
Do you have a supercap you like? There are so many different kinds it's hard for me to figure out which ones are good options for this application.
I bought mine awhile back from Mouser, I remember there was a few choices @3.3v, I ordered a couple of each, but the physically larger ones we're easyer to work with, and their higher capacity, so that is what I used. This one is plugged into the PPDB.
Space limitations may have you put a coin cell holder off board, if it is a concern, the supercap can get in tight.
In any of these, whether it be internal or external crystal, be sure to follow the layout guidance, and best (unless proven otherwise) use the crystal that they suggest.
My favorite is the ISL12020MIRZ, which is the DFN + internal crystal 5ppm version of the '12022 that Sapphire suggested. Both offer 128 bytes of battery backed ram, which can be very handy for sticky variables. I usually use a CR1225 coin cell for backup, either one that solders onto the board or with a holder. At 48mAh the projected/optimistic backup life is around 10 years (0.5µA). When the board has external power the timekeeping current comes from that, rather than from the coin cell. Layout is crucial, particularly if the board is soldered with water-based flux. Has to be squeaky clean or else the 32kHz will stop, because the internal crystal comes out to lands. I add silicone conformal coating to that area of the pcbs.
Duane, the MCP7940N sounds quite nice for your purposes, and the price is right!
DS3232
Not inexpensive.
The DS1302 has a supply range of 2.0 - 5.5v, current < 300nA@2.0v. It does have TTL out with a 5v supply.
FM31L278
DS1340C-33# SOIC16 $3.76/100 from Mouser.
Not the cheapest one around.
Thanks for that. Neat chip.