$1.65 Real Time Clock- I2C
erco
Posts: 20,256
http://www.ebay.com/itm/I2C-RTC-DS1307-AT24C32-Real-Time-Clock-Module-for-Arduino-Uno-AVR-ARM-PIC-/200834465268 Free shipping.
That's an ... I2C RTC for 165c
(cents)
Cheapest I've seen. Unless Amanda, Rick, Mike or Duane can do better... Let the games begin!
Even a classic BS2 can do I2C... http://forums.parallax.com/showthread.php/82908-I2C-On-A-BASIC-Stamp
That's an ... I2C RTC for 165c
(cents)
Cheapest I've seen. Unless Amanda, Rick, Mike or Duane can do better... Let the games begin!
Even a classic BS2 can do I2C... http://forums.parallax.com/showthread.php/82908-I2C-On-A-BASIC-Stamp
Comments
At least I had to. I tried changing the address of the EEPROM but ended up completely removing the EEPROM from the clock board.
Still a fantastic price for a ‘built up ‘ board.
I paid about twice that a few months ago for these.
I just ordered two.
I'm still waiting for a couple of DS3231 boards. I'm pretty sure the DS3231 is more accurate than the DS1307 though I suppose a lot depends on what crystal is used with the DS1307.
What a great way to add an RTC to a Raspberry Pi, too!
all for 165c!!!
This is very timely and it makes cents!!
Here's some: http://www.ebay.com/itm/161113736351?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1438.l2649
Not too bad at $4, $2 would be better!
http://www.ebay.com/sch/i.html?_sacat=0&_from=R40&_sop=15&_nkw=LIR2032&LH_BIN=1
Sorry, I used the wrong link in my earlier post.
These are the DS3231 boards I'm waiting for.
$5.62 is a higher price than the one you found but the boards I ordered include a battery (though it's soldered in place).
Unfortunately, I ordered the one without the battery. And alas, I have to buy that LIR2032.
One alternative is to remove the "charger circuitry" on the board if you insist on the regular CR2032.
The photo shows two SO8 - are you saying the second SO8, is a AT24C32 ?
http://www.ebay.com/itm/400603657994?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649
Anyone else have a problem?
I'll wait for a response from the vendor and follow up
As I said, the first one I bought works like a champ
Edit: Duane types much faster than me! DOH!
Somehow The byte I was writing to the years register became corrupted - - I gave the seller + feedback
Ken
Jim
I used Kye's demo. It works with both DS1307 and DS3231 boards.
I've attached the demo I had on my hard drive. I'm not sure if it's in the OBEX.
BTW, My DS3231 boards finally arrived. I think they took over a month. The seller repeatedly emailed me to see if they had arrived yet. I'm sure he would have sent new ones if I asked. I told him I wasn't in a rush and I could wait to see if the first boards turned up. They eventually did.
Any pulses on SDA when you write data? If not, then something is wrong with your I2C bus.
If you get pulses on writing but no ACK and none on reading, then the DS1307 chip may be bad. You are using 4.7k pullups, right?
You can read without writing, but the clock won't start counting until you write to the seconds register to clear the CH bit.
Error at location: 0000
Found: 255, Expected: 00
If I remove the error check, all memory reads as 255. I've double checked wiring, everything is OK, pullups are 4.7k, and pulses present on both pins when checking with scope. Just manual says 24LC16 chip, and mine is 24C32, this can be a reason?
You may find it a lot easier to use this to get a 'startup time setting' and to use an UTC time scheme internally on a Forth cog for your actual Propeller RTC. UTC is very easy to code as a stop watch, a timer, multiple alarms, a DOW of the week timer, a DOM timer, and so on. Everything is based on one 32birt number representing time in seconds. Linux uses this scheme for a file time stamp.
You can spend an awful lot of mental effort trying to read and convert the RTC for each and every activity --- so consider using it just to set the clock whenever you have a power on, a power outage, or a reset.