User Tools

Site Tools


en:rtc

Table of Contents

RTC

RTC means RealTimeClock. It is a circuit of real time. Although arduino processor count the time for itself, it has two disadvantages. First is that arduino timer is not very precise and already on 24 hour cycle it can reach deviation of minute scale. This highly depends on routine runs on concrete processor. The second one is that the arduino timer nulls and arduino forget the time after switching off or reboot. The solution is in use of RTC integrated circuits because there usually battery in circuit.


DS1307

It needs a crystal, capacitors, two resitors and optinal battery for fully function. With arduino it communicate by I²C protocol.

Source of picture and tutorial for connection to arduino. Also the code can be found there.


DS1302

Cheeper than DS1307. 3-pin connected. Also needs a crystal and optional battery.
Tutorial

Source of picture

en/rtc.txt · Last modified: 2018/01/29 10:12 (external edit)