首页 | 本学科首页   官方微博 | 高级检索  
     

基于I~2C总线的AD7745控制与读取方法
引用本文:任艳娜,冯志慧,闾素红.基于I~2C总线的AD7745控制与读取方法[J].计算机测量与控制,2012,20(6):1544-1547,1572.
作者姓名:任艳娜  冯志慧  闾素红
作者单位:河南农业大学 信息与管理科学学院 计算机科学系,河南 郑州,450002
基金项目:国家863课题,河南省重大科技攻关计划
摘    要:AD7745是一种响应快速兼超低功耗的高精度电容数字转换器,其采用的通信总线I2C是一种简单双向的两线制同步串行总线,它只需要一根数据线和一根时钟线即可实现连接器件之间的数据传送,但目前广泛应用的51系列单片机均不具有这种接口;文章详细研究了AD7745芯片内部的测量原理及寄存器配置方式,设计了其与单片机的硬件连接电路,使用STC89C52RC单片机的两条普通I/O线,通过软件编程模拟I2C总线所要求的操作时序,实现了对AD7745的控制与数据读取;同时,给出了其中关键程序,调试结果证明了该系统的有效性与稳定性。

关 键 词:AD7745  I2C总线  51单片机  电容测量  模拟

A Method of Controlling and Reading of AD7745 Based on I~2C Bus
Ren Yanna , Feng Zhihui , Lǘ Suhong.A Method of Controlling and Reading of AD7745 Based on I~2C Bus[J].Computer Measurement & Control,2012,20(6):1544-1547,1572.
Authors:Ren Yanna  Feng Zhihui  Lǘ Suhong
Affiliation:Ren Yanna,Feng Zhihui,Lǘ Suhong(Dept.of Computer Science,School of Information and Management Science,Henan Agricultural University,Zhengzhou 450002,China)
Abstract:AD7745 is the high-precision capacitance-digital converter which is fast response and low power consumption.It uses the communication bus I2C which is simple two-way and two-wire synchronous serial bus.It uses only a data line and a clock line to make the data transfer between connected devices.But now the 51 series SCM which was widely used didn’t have this kind of interface.This paper studies in detail the measuring principle and register allocation of AD7745 chip,the hardware connection circuit was designed between it and SCM,two general I / O lines of STC89C52RC SCM were used,use software programming to simulate the operation timing of I2C’s request,It is implemented to control AD7745 and read its data.At the same time,the key program was provided.Debugging results demonstrated the effectiveness and stability of the system.
Keywords:AD7745  I2C bus  51 Single-chip Microcomputer  Capacitance measurement  simulation
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《计算机测量与控制》浏览原始摘要信息
点击此处可从《计算机测量与控制》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号