Datasheet
数据手册 > 实时,时钟 > Maxim Integrated > DS1307ZN+T&R 数据手册PDF > DS1307ZN+T&R 应用笔记 第 1/16 页
DS1307ZN+T&R
¥ 17.89
百芯的价格

DS1307ZN+T&R 应用笔记 - Maxim Integrated

  • 制造商:
    Maxim Integrated
  • 分类:
    实时,时钟
  • 封装
    SOIC-8
  • 描述:
    Real Time Clock (RTC) IC Clock/Calendar 56B I2C, 2-Wire Serial 8-SOIC (0.154", 3.9mm Width)
更新时间: 2024-05-19 14:47:59 (UTC+8)

DS1307ZN+T&R 应用笔记

页码:/16页
下载 PDF
重新加载
下载
Maxim > Design Support > Technical Documents > Application Notes > Real-Time Clocks > APP 95
Keywords: DS1307, DS1339, DS1340, 2-wire, serial interface, example code, sample code, example
program, sample program, timekeeping, real time clocks, RTCs
APPLICATION NOTE 95
Interfacing the DS1307 with an 8051-Compatible
Microcontroller
Mar 29, 2001
Abstract: This application note provides information on how to interface a DS1307 real-time clock (RTC)
to a microcontroller and provides some example code for accessing the part.
Introduction
The DS1307 Serial Real Time Clock, which incorporates a 2-wire serial interface, can be controlled
using an 8051-compatible microcontroller. The DS1307 in this example is connected directly to two of
the I/O ports on a DS5000 microcontroller and the 2-wire handshaking is handled by low-level drivers,
which are discussed in this application note.
DS1307 Description
The DS1307 Serial Real Time Clock is a low-power, full BCD clock/calendar plus 56 bytes of nonvolatile
SRAM. Address and data are transferred serially via the 2-wire bi-directional bus. The clock/calendar
provides seconds, minutes, hours, day, date, month, and year information. The end of the month date is
automatically adjusted for months with less than 31 days, including corrections for leap year. The clock
operates in either the 24-hour or 12-hour format with AM/PM indicator. The DS1307 has a built-in power
sense circuit which detects power failures and automatically switches to the battery supply.
DS1307 Operation
The DS1307 operates as a slave device on the serial bus. Access is obtained by implementing a START
condition and providing a device identification code followed by a register address. Subsequent registers
can be accessed sequentially until a STOP condition is executed. The START and STOP conditions are
generated using the low level drives, SEND_START and SEND_STOP found in the attached DS5000
code. Also the subroutines SEND_BYTE and READ_BYTE provide the 2-wire handshaking required for
writing and reading 8-bit words to and from the DS1307.
Hardware Configuration
The system is configured as shown in Figure 1. The DS1307 has the 2-wire bus connected to two I/O
port pins of the DS5000: SCL - P1.0, SDA - P1.1. The V
DD
voltage is 5V, R
P
= 5KΩ and the DS5000 is
using a 12-MHz crystal. The other peripheral device could be any other device that recognizes the 2-
wire protocol, such as the DS1621 Digital Thermometer and Thermostat. The interface with the D5000
Page 1 of 16

DS1307ZN+T&R 数据手册 PDF

DS1307ZN+T&R 数据手册
Maxim Integrated
14 页, 216 KB
DS1307ZN+T&R 其它数据手册
Maxim Integrated
14 页, 297 KB
DS1307ZN+T&R 应用笔记
Maxim Integrated
16 页, 113 KB

DS1307 数据手册 PDF

DS1307+
数据手册
Maxim Integrated
Real Time Clock Serial 56Byte Clock/Calendar 8Pin PDIP N
DS1307
数据手册
Maxim Integrated
Real Time Clock Serial 56Byte Clock/Calendar 8Pin PDIP N
DS1307+
数据手册
Dallas Semiconductor
Real Time Clock Serial 56Byte 8Pin Plastic DIP N
DS1307+
数据手册
Thomas & Betts
Circular Connector, 3 Contact(s), Copper-Free Aluminum, Male, Plug
DS1307Z+
数据手册
Maxim Integrated
Real Time Clock, Volatile, 1 Timer(s), CMOS, PDSO8, 0.15INCH, ROHS COMPLIANT, SOIC-8
DS1307ZN+
数据手册
Maxim Integrated
Maxim DS1307ZN+, Real Time Clock, 56B RAM Serial-I2C, 8Pin SOIC
DS1307Z+T&R
数据手册
Maxim Integrated
Real Time Clock (RTC) IC Clock/Calendar 56B I2C, 2-Wire Serial 8-SOIC (0.154", 3.9mm Width)
DS1307ZN+T&R
数据手册
Maxim Integrated
Real Time Clock (RTC) IC Clock/Calendar 56B I2C, 2-Wire Serial 8-SOIC (0.154", 3.9mm Width)
DS1307N+
数据手册
Maxim Integrated
Real Time Clock (RTC) IC Clock/Calendar 56B I2C, 2-Wire Serial 8-DIP (0.300", 7.62mm)
DS1307Z
数据手册
Maxim Integrated
Real Time Clock Serial 56Byte Clock/Calendar 8Pin SOIC N
Datasheet 搜索
搜索
百芯智造数据库涵盖1亿多个数据手册,每天更新超过5,000个PDF文件。
在线联系我们
黄经理 - 百芯智造销售经理在线,5 分钟前
您的邮箱 *
消息 *
发送