Coder Social home page Coder Social logo

grove_high_precision_rtc_pcf85063tp's Introduction

Grove - High Precision RTC_PCF85063TP Build Status

Grove - High Precision RTC is based on PCD85063TP, it's usage is almost the same with ds1307.

Grove - High Precision RTC

Grove - High Precision RTC based on the clock chip PCF85063TP which is a CMOS Real-Time Clock (RTC) and calendar optimized for low power consumption. An offset register allows fine-tuning of the clock. All addresses and data are transferred serially via the I2C bus and the maximum bus speed is 400 kbit/s.

For more information please visit wiki page.

Methods

  • void startClock(void);
  • void stopClock(void);
  • void setTime(void);
  • void getTime(void);
  • void setcalibration(int mode, float Fmeas);
    • mode 0 - offset is made once every 2 hours
    • mode 1 - offset is made once every 4 minutes
    • Fmeas - real clock frequency you detcet

  • uint8_t readCalibrationReg(void);
    • Read offset register at 0x02

  • uint8_t calibratBySeconds(int mode, float offset_sec);
    • offset_sec - need a long time running RTC and work out the offset by one second
  • void reset();
  • void fillByHMS(uint8_t _hour, uint8_t _minute, uint8_t _second);
  • void fillByYMD(uint16_t _year, uint8_t _month, uint8_t _day);
  • void fillDayOfWeek(uint8_t _dow);

This software is licensed under The MIT License. Check License.txt for more information.

Seeed Studio is an open hardware facilitation company based in Shenzhen, China.
Benefiting from local manufacture power and convenient global logistic system,
we integrate resources to serve new era of innovation. Seeed also works with
global distributors and partners to push open hardware movement.

Analytics

grove_high_precision_rtc_pcf85063tp's People

Contributors

lanselambor avatar pillar1989 avatar wrong-kendall avatar mattncsu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.