PDA

View Full Version : Teensy 2.0 Real Time clock



dani190
11-30-2012, 04:56 PM
Is there anyway to get the Teensy 2.0 to keep time? With the Teensy 3.0 there is the ability to put a crystal and a backup battery. Can this be done with Teensy 2.0?

pixelk
11-30-2012, 05:15 PM
You have to use an additional chip for that. Like a DS1307 or a DS3234. The DS1307 needs an additional crystal, and both need a power source to keep time when the teensy is not powered.

Constantin
11-30-2012, 05:56 PM
Instead of the DS3234, I'd consider the I2C version, the DS3231. Much less fiddly to set IMO, just as accurate, and many commercially available solutions. I personally had great luck with the Chronodot from Macetech. All you need is two lines, two pullup resistors, and there are many libraries available.