Data Storage Tool Display Human Input Protocol Math Motor Control Sensor Signal Generation & Processing Speech & Sound Fun View all Objects


Quick Links
Contact Us
Forums
Support

Register
Login

This object is provided under license. By downloading this object, you are agreeing to the terms of the MIT License.

PCF8583 Real Time Clock Driver

Driver for the NXP PCF8583 Real Time Clock.

- I2C communication with chip.
- Get/Set functions for RTC time registers.
- v0.95 - Burst Read for full date or full time and other sequential RAM.
- v0.95 - Faster I2C code.
- Augments the RTC's 4 year counter with YYYY format date storage in free RAM and simple periodic correction function to keep it in sync. Correction should be called at least once per year to keep the free RAM year updated.
- Can use COG counter/pin to track running seconds using the RTC's square wave output.
- Access to 238 bytes of free RAM.
- Access to all alarm registers for advanced use.

This RTC is not battery backed but a simple capacitor and a diode to gate it from the rest of the circuit will allow it continue counting through brief outages. 1000uF will provide a couple minutes. A 1F supercap should provide for 17-20 hours.

Use the TV_Text object from the archive file. I have added several helper functions to it so the standard TV_Text will not work.

Version:
  0.95

Type:
  Object

Attributes:


Author:
  photomankc
  kyle-pub@cranehome.org

Categories:
  Data Storage
  Sensor

Downloads:
  415

Last Updated:
  2009-10-31



User Reviews:



Comments on this Object:


Post a comment:




Please contact obex.support@parallax.com with comments or questions.

Copyright 2011 by Parallax, Inc.