当前位置:网站首页>Arduino uno + DS1302 simple time acquisition and serial port printing
Arduino uno + DS1302 simple time acquisition and serial port printing
2022-06-26 16:12:00 【perseverance52】
Arduino UNO + DS1302 Simply get the time and print through serial port
- DS1302 modular

DS1302 brief introduction
DS1302 yes DALLAS Trickle charging clock chip launched by the company , It contains a real-time clock / Calendar and 31 Byte static RAM , Communicate with MCU through simple serial interface . Real time clock / The calendar circuit provides seconds 、 branch 、 when 、 Japan 、 Zhou 、 month 、 Information for the year , The number of days per month and leap year can be adjusted automatically . The clock operation can be realized through AM/PM The instruction decides to adopt 24 or 12 Hour format .DS1302 And MCU can simply use synchronous serial communication , Only three port lines are needed :(1)RST Reset (2)I/O cable (3)SCLK The serial clock . The clock /RAM The reading of / Write data in one byte or up to 31 Byte character group communication .DS1302 The power consumption is very low during operation, and the power is less than when maintaining data and clock information 1mW
DS1302 Main performance indicators :
* The real-time clock can calculate 2100 Seconds years ago 、 branch 、 when 、 Japan 、 week 、 month 、 Years of ability , And the ability to adjust in leap years
* 31 8 Bit temporary data storage RAM
* Serial I/O The port mode minimizes the number of pins
* Wide range of operating voltage 2.0 5.5V
* Working current 2.0V when , Less than 300nA
* read / Write clock or RAM There are two transmission modes for data: single byte transmission and multi byte transmission character group mode
* 8
边栏推荐
- Redis 迁移(操作流程建议)
- Anaconda3 installation tensorflow version 2.0 CPU and GPU installation, win10 system
- Svg capital letter a animation JS effect
- Svg savage animation code
- 手写数字体识别,用保存的模型跑自己的图片
- 6 自定义层
- Angel 3.2.0 new version released! Figure the computing power is strengthened again
- 3. Keras version model training
- 神经网络“炼丹炉”内部构造长啥样?牛津大学博士小姐姐用论文解读
- 5000 word analysis: the way of container security attack and defense in actual combat scenarios
猜你喜欢

(一)keras手写数字体识别并识别自己写的数字

11 cnn简介

How to identify contractual issues

C# 读写文件从用户态切到内核态,到底是个什么流程?

IAR工程适配GD32芯片

Tweenmax+svg switch color animation scene

"C language" question set of ⑩

基于 MATLAB的自然过渡配音处理方案探究

Exquisite makeup has become the "soft power" of camping, and the sales of vipshop outdoor beauty and skin care products have surged

Supplement the short board - Open Source im project openim about initialization / login / friend interface document introduction
随机推荐
Transformation of zero knowledge QAP problem
R language generalized linear model function GLM, GLM function to build logistic regression model, analyze whether the model is over discrete, and use the ratio of residual deviation and residual degr
C language reading data
【力扣刷题】单调栈:84. 柱状图中最大的矩形
Interview pit summary I
(DFS search) acwing 2005 horseshoe
JS教程之 使用 Electron.JS 构建原生桌面应用程序乒乓游戏
The details of the first pig heart transplantation were fully disclosed: human herpes virus was found in the patient, the weight of the heart doubled after death, and myocardial cell fibrosis
Redis 迁移(操作流程建议)1
LeetCode 单周赛298,前三题
Svg savage animation code
【毕业季】致毕业生的一句话:天高任鸟飞,海阔凭鱼跃
Beijing University and Tencent jointly build angel4.0, and the self-developed in-depth learning framework "River map" is integrated into the ecology
Svg animation around the earth JS special effects
JS教程之使用 ElectronJS 桌面应用程序打印贴纸/标签
IAR engineering adapts gd32 chip
Svg rising Color Bubble animation
Natural language inference with attention and fine tuning Bert pytorch
What is the difference between stm32f1 and gd32f1?
Detailed explanation of cookies and sessions