摘要
为了实现对数显游标卡尺测量数据的快速、准确记录,设计了一种基于FatFs文件系统的数显游标卡尺数据记录仪。该记录仪以STC8单片机为核心,扩展了TF卡存储模块、实时时钟模块等,支持连续记录和外部按键触发记录两种模式。可以把数显游标卡尺串行通信接口输出的测量数据以CSV文本文件的格式存储在TF卡中,并对每条测量数据自动添加编号和时间戳,方便对数据进行分析和处理。
In order to realize the fast and accurate recording of the measurement data of digital vernier caliper,a vernier caliper data logger based on FatFs file system is designed.The data logger takes STC8 Single-Chip Microcontroller as the core,expands the TF card storage module and real-time clock module and so on.It supports two modes of continuous recording and external key triggered recording.It can store the measurement data output by the serial communication interface of the digital vernier caliper into the TF card with the format of CSV text file,and automatically add the number and time stamp to each measurement data.It is convenient for data analysis and processing.
作者
常国权
CHANG Guoquan(Department of Computer Science and Information Engineering,Anyang Institute of Technology,Anyang 455000,China)
出处
《现代信息科技》
2023年第1期54-57,共4页
Modern Information Technology
基金
2021年度安阳市科技计划项目(2021C01SF030)。