当前位置:网站首页>Arduino UNO + DS1302利用31字节静态RAM存储数据并串口打印
Arduino UNO + DS1302利用31字节静态RAM存储数据并串口打印
2022-06-26 19:21:00 【perseverance52】
Arduino UNO + DS1302利用31字节静态RAM存储数据并串口打印
DS1302中的31字节的非易失性静态RAM。可以用来临时保存一些重要数据。
- DS1302模块
DS1302简介
DS1302 是DALLAS 公司推出的涓流充电时钟芯片,内含有一个实时时钟/日历和31 字节静态RAM ,通过简单的串行接口与单片机进行通信。实时时钟/日历电路提供秒、分、时、日、周、月、年的信息,每月的天数和闰年的天数可自动调整。时钟操作可通过AM/PM 指示决定采用24 或12 小时格式。DS1302 与单片机之间能简单地采用同步串行的方式进行通信,仅需用到三个口线:(1)RST 复位(2)I/O 数据线(3)SCLK串行时钟。时钟/RAM 的读/写数据以一个字节或多达31 个字节的字符组方式通信。DS1302 工作时功耗很低保持数据和时钟信息时功率小于1mW
DS1302主要性能指标:
* 实时时钟具有能计算2100 年之前的秒、分、时、日、星期、月、年的能力,还有闰年调整的能力
* 31字节的静态数据存储RAM。
* 串行 I/O 口方式使得管脚数量最少。
* 宽范围工
边栏推荐
- JSONUtils工具类(基于alibaba fastjson)
- Summary of knowledge points
- Filebeat安装及使用
- Button how to dynamically set drawablebottom (setcomposunddrawables is invalid)
- 50 lines of code to crawl TOP500 books and import TXT documents
- Using recursion to find all gray codes with n bits
- Soft test preparation multimedia system
- C语言 文件光标 fseek
- 成功解决之idea引用Lombok的@Slf4j后无法正常使用log
- 读书笔记:《过程咨询 III》
猜你喜欢
随机推荐
Chain game development finished product source code chain game system development details
Tiktok practice ~ search page ~ video details
Vscode 基础必备 常用插件
Image binarization
物联网协议的王者:MQTT
Boot指标监测
ImageView, glide load long picture (glide load picture)
How to create and enforce indexes
Microservice architecture
SSO微服务工程中用户行为日志的记录
最小生成树、最短路径、拓扑排序、关键路径
[kubernetes] kubernetes principle analysis and practical application (under update)
Summary of alter operation in SQL
Tiktok practice ~ search page ~ scan QR code
The goal you specified requires a project to execute but there is no POM
项目实战五:搭建ELk日志收集系统
Current limiting design and Implementation
(几何) 凸包问题
Boot indicator monitoring
PC end records 515 ground sweeping robot /scan data