24h購物| | PChome| 登入
2020-05-18 11:55:44| 人氣247| 回應0 | 上一篇 | 下一篇
推薦 0 收藏 0 轉貼0 訂閱站台

RTC DS1307 ¡§C Pin Description

What are Actual Time Clocks?

Authentic time clocks (RTC), as being the name recommends are clock modules. The DS1307 genuine time clock (RTC) IC is undoubtedly an eight pin gadget applying an I2C interface. The DS1307 is usually a low-power clock/calendar with 56 bytes of battery backup SRAM. The clock/calendar provides seconds, minutes, several hours, working day, day, month and year qualified information. The end day of each individual thirty day period is instantly adjusted, especially for months with significantly less than 31 days.

They may be available as built-in circuits (ICs) and supervise timing like a clock and also run day just like a calendar. The principle advantage of RTC is usually that they have an arrangement of battery backup which retains the clock/calendar working regardless of whether there may be electrical power failure. An exceptionally small recent is necessary for preserving the RTC animated. We can discover these RTCs in lots of programs like embedded methods and computer mother boards, and so forth. During this write-up we're going to see about one in the real time clock (RTC), i.e. DS1307.

Pin Description of DS1307:

Pin one, two: Connections for regular 32.768 kHz quartz crystal. The inner oscillator circuitry is intended for procedure which has a crystal having a specified load capacitance of twelve.5pF. X1 will be the input for the oscillator and can alternatively be related to an external 32.768 kHz oscillator. The output with the inner oscillator, X2 is drifted if an exterior oscillator is connected to X1.

Discover our Real Time Clocks. At Heisener, we guarantee top quality standards, pioneering and innovative products in addition to a real-time quote service.

Pin three: Battery input for any standard 3V lithium cell or other energy source. Battery voltage ought to be amongst 2V and three.5V for acceptable operation. The nominal generate protect trip stage voltage at which access on the RTC and person RAM is denied is set from the inside circuitry as 1.twenty five x VBAT nominal. A lithium battery with 48mAhr or greater will backup the DS1307 for greater than 10 several years inside the absence of electric power at 25oC. UL recognized to ensure versus reverse charging recent when utilized to be a portion of conjunction by using a lithium battery.

Pin four: Ground.

Pin 5: Serial data input/output. The input/output for your I2C serial interface may be the SDA, which can be open up drain and demands a pull up resistor, allowing a pull up voltage upto five.5V. Regardless of the voltage on VCC.

Pin 6: Serial clock enter. It truly is the I2C interface clock input and is particularly utilized in details synchronization.

Pin seven: Square wave/output driver. When enabled, the SQWE bit established to 1, the SQW/OUT pin outputs a single of four square-wave frequencies (1Hz, four kHz, eight kHz, and 32 kHz). This can be also open drain and requires an external pull-up resistor. It demands software of either Vcc or Vb at to function SQW/OUT, using an allowable pull up voltage of five.5V and could be left floating, if not applied.

Pin eight: Most important ability offer. When voltage is utilized in normal limits, the unit is entirely accessible and data may be created and read. When a backup provide is related towards the unit and VCC is under VTP, go through and writes are inhibited. On the other hand at reduced voltages, the timekeeping perform nevertheless functions.

Characteristics:

Programmable sq. wave output signal

Automatic power-fail detect and swap circuitry

Consumes much less than 500nA in battery backup mode with oscillator jogging

Offered in 8-pin DIP or SOIC

Underwriters Laboratory (UL) recognized

Real-time clock (RTC) counts seconds, minutes, several hours, day on the thirty day period, month, day with the week, and calendar year with leap-year payment valid nearly 2100

56-byte non-volatile RAM for information storage

Two-wire interface (I2C)

Using the DS1307 is primarily composed to and examine the registers of the chip. The memory contains all 64 DS1307 8-bit registers are addressed from 0 to 63 (from 00H to 3FH the hexadecimal method). The very first eight registers are useful for the clock register the remaining 56 vacant can be employed as RAM contains temporary variable if desired. The initial seven registers incorporate facts with regard to the time of your clock like: seconds, minutes, hours, secondary, date, month and yr. The DS1307 include many factors these types of as electric power circuits, oscillator circuits, logic controller and I2C interface circuit as well as address pointer register (or RAM). Let?¡¥s see the performing of DS1307.

Related links:

Stability in RTCs

Authentic Time Clock (RTC)

The way to Create a Real-time Clock Circuit that has a DS1307 Chip

Real time clock (RTC) vs. clock: Precisely what is the difference?

A Working Authentic Time Clock (RTC)

台長: countri
人氣(247) | 回應(0)| 推薦 (0)| 收藏 (0)| 轉寄
全站分類: 心情日記(隨筆、日記、心情手札)

是 (若未登入"個人新聞台帳號"則看不到回覆唷!)
* 請輸入識別碼:
請輸入圖片中算式的結果(可能為0) 
(有*為必填)
TOP
詳全文