RTC chip - Recommendations

I would like to utilise a RTC chip with a propeller; after much reading of the forums and data sheets I'm still as confused as ever.
I realise that there is no 100% correct answer, but if what are the _relative_ merits of a couple of the RTC chips (DS1302, DS1307, etc, etc). I can't seem to figure out why/where you would use one over another (in a simple application without the need for various alarm times)
I realise that there are some objects in the OBEX to talk to some, so they would be the first choice for utilisation, but perhaps there are compelling reasons to use model XYZPQ?
Thanks for your insight in advance....
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
=================
The future is in our hands.
Which way to the future?
=================
I realise that there is no 100% correct answer, but if what are the _relative_ merits of a couple of the RTC chips (DS1302, DS1307, etc, etc). I can't seem to figure out why/where you would use one over another (in a simple application without the need for various alarm times)
I realise that there are some objects in the OBEX to talk to some, so they would be the first choice for utilisation, but perhaps there are compelling reasons to use model XYZPQ?
Thanks for your insight in advance....
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
=================
The future is in our hands.
Which way to the future?
=================
Comments
The Dallas DS1307 uses an I2C bus and has 64 bytes of battery backed RAM.
The Dallas DS1302 uses an SPI bus, has 32 bytes of battery-backed RAM and a trickle charger for a rechargable battery.
The Philips PCF8583 is also I2C and has 240 bytes of battery-backed RAM.
There are others.
my .2 cents worth.
You know I read the DS spec sheets and completely glazed over the I2C SPI difference (they both do I2C - why are their two of models?...). Sort of explains why I'm a noob...
I'm thinking one of those funky word clocks www.instructables.com/id/A-Word-Clock/ and obviously the 'best' chip to do it with would be the propeller. Why the competition even bother to sell any of the lesser PIC's is beyond me
So I'm thinking the prop would poll the RTC on power-up and then once every 30 seconds or so there after. Basically the RTC is a 'time checker' to stop drift....
No need for alarms, or other cleverness.
I2C would be my first choice ('cause I have had success with I2C in the past), but I'm not locked into any hard rules - provided I have enough 'pins' left for driving the LEDS (also by I2C perhaps..).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
=================
The future is in our hands.
Which way to the future?
=================
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
*Peter*
I wanted one that had a seconds counter instead of hs, mins and seconds...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Visit some of my articles at Propeller Wiki:
MATH on the propeller propeller.wikispaces.com/MATH
pPropQL: propeller.wikispaces.com/pPropQL
pPropQL020: propeller.wikispaces.com/pPropQL020
OMU for the pPropQL/020 propeller.wikispaces.com/OMU
Free samples available
PEdit: spelling
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
· Propeller Object Exchange (last Publications / Updates);·· Vaati's custom search
Post Edited (dMajo) : 11/9/2009 4:51:07 PM GMT
Does anyone know if the RAMTRON FM31256G 256Kb I2C Processor companion also works as a Propeller EEPROM? It's the only thing close to an AT24C256 that I can get locally here. Having an RTC into the bargain would be great.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
For me, the past is not over yet.
@heater: It answers in the address 1010x(a1)(A0) like the 24LC256 (and similar ics) so It should work.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Visit some of my articles at Propeller Wiki:
MATH on the propeller propeller.wikispaces.com/MATH
pPropQL: propeller.wikispaces.com/pPropQL
pPropQL020: propeller.wikispaces.com/pPropQL020
OMU for the pPropQL/020 propeller.wikispaces.com/OMU
Post Edited (Ale) : 11/9/2009 12:26:19 PM GMT
I know the Ramtron stuff is rather specialized but the whole 8 cores of 32-bit cpu plus RAM etc cost only $8 in one off qtys, and yet a simple little glorified counter chip costs almost as much or more in this case, crazy!
PCF8563 at Digikey costs $1.48 one off, more like it.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
*Peter*
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
For me, the past is not over yet.
@Ale: I think yes. I want to say that eg. if you loose power from 22:00:00 to 22:01:00 then when power is back (without any initialization) the RTC starts from 22:00:00 so when you read it you read a time that is only 1min late. If you have eg. to turn lights of your garden on/off than 1 min. is not a problem, but if the RTC resets to random time is a problem (lights can light during day and stay off during night). The same can be said if you relay on calendar eg. you have date based events.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
· Propeller Object Exchange (last Publications / Updates);·· Vaati's custom search
http://www.futureelectronics.com/en/Technologies/Product.aspx?ProductID=FM31L278GRAMTRON5037577
http://it.mouser.com/Search/Refine.aspx?Keyword=FM31L278
http://www.newark.com/ramtron/fm31l278-g/40c-to-85c/dp/98M0903
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
· Propeller Object Exchange (last Publications / Updates);·· Vaati's custom search
Post Edited (dMajo) : 11/9/2009 1:57:34 PM GMT
FM31256G This IC is same as FM31L278 and it must work
And is pin compatible to
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
For every stupid question there is at least one intelligent answer.
Don't guess - ask instead.
If you don't ask you won't know.
If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Sapieha
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
For me, the past is not over yet.
www.yourdictionary.com/loose
www.yourdictionary.com/loose
If you meant that the "time" as a continuous flow is loosened from its tightness for 1 minute because of not being counted, if one can say such a thing, then yes, to loose it would be correct
Changing topic a bit I found 3 DLG-2416 in an old Nicolet Series 400 Osci that I have laying around... Did someone connect any of them to a prop yet ?
Edit: removed the food related comment
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Visit some of my articles at Propeller Wiki:
MATH on the propeller propeller.wikispaces.com/MATH
pPropQL: propeller.wikispaces.com/pPropQL
pPropQL020: propeller.wikispaces.com/pPropQL020
OMU for the pPropQL/020 propeller.wikispaces.com/OMU
Post Edited (Ale) : 11/9/2009 5:07:22 PM GMT
BTW isn't "meat" more related to food rather than to electronics?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
· Propeller Object Exchange (last Publications / Updates);·· Vaati's custom search
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
For me, the past is not over yet.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Visit some of my articles at Propeller Wiki:
MATH on the propeller propeller.wikispaces.com/MATH
pPropQL: propeller.wikispaces.com/pPropQL
pPropQL020: propeller.wikispaces.com/pPropQL020
OMU for the pPropQL/020 propeller.wikispaces.com/OMU
Dang. Wish I had found that one and not the 8583. I would have preferred the straight-forward clock registers and full 0-99 year counter. I may have to get that one and adapt my 8583 driver to it! Shouldn't be hard.
ETA: Question here..... that trimmer cap on the crystal from the input to VDD, what is the expected effect on the OSC frequency as the capacitance is increased? I never saw them describe what the effect would be, only that it would have an effect. I know on the breadboard mine runs slow but I wasn't expecting much given the medium. So far I have not been able to accurately determine what the trimmer would do as it's value is changed.
Post Edited (photomankc) : 11/9/2009 9:55:00 PM GMT