文档详情

STC12C5A60S2单片机高速AD转换方法.pdf

发布:2017-05-29约1.15万字共4页下载文档
文本预览下载声明
第3l卷第06期 煤 矿 机械 V01.3lNo.06 2010年06月 CoalMine Jun.2010 Machinery STC1 宋凤娟一。付侃:.薛雅丽- (1.唐山学院,河北唐山063000;2.冀东油田,河北唐山063000) 摘 快的A/D转换速度外,转换的分辨率也可灵活设置,具有一定的使用价值。 关键词:STC单片机;A/D转换;数据采集 Methodof TransformationofA/DofSTC12C5A60S2SCM HighSpeed SoNG Ya—K1 Feng-jnanl,FIUKan2.XUE ofHebeiProvinceOil 063000,China;2.East 063000。China) (1.TangshanCollege,Tangshan Field,Tangshan of of of SCMis Abstract:Themethodbasedon transformationA,D STC12C5A60S2 high—speed of introduced.Themethodtakesfull hardwareresourceswithintheSTC12C5A60S2andit advantage ofMD.Datacollector the inscene achieves transformation lOW—cost.high—performance enlargesanalog tosendinSTCl2C5A60S2conductedMDtoconverttheminto datatotransmittothehost by digital for can afaster oftransformationresolutionof addition,this of~,D,the processing.In systemget speed transformationcanalsoset andithasacertainvalue. flexibly words:STCSCM:MD collector Key transformation;data 0前言 新编程能力。PI口可配置为通用I/O,作为8位并 在工业控制中.需要采集现场的多路模拟量,如电 行数据线:P1还可以配置为8位拨码开关的输入。 流、电压、温度、气压和湿度等。本文介绍STCl2C5A60S2用8位拨码开关实现10位高速A/D的数据采集。 单片机的高速AVD转换方法和数据采集器。通过本 STCl2C5A
显示全部
相似文档