摘要
A/D转换器是一种能把输入模拟电压或电流变成与其成正比的数字量的电路芯片,它广泛应用在单片机的前向输入通道中。文章采用ADC0804单通道8位并行接口芯片作为A/D转换器完成数据转换,控制器使用美国ATMEL公司的增强型AT89C52单片机,对转换完成后得到的数字量经过单片机P1口输出到8个LED发光二极管上显示。使用KeilC51编程软件,编译成功后,用Proteus仿真软件设计电路原理图,实现A/D转换过程并显示转换结果。
A/D converter is a circuit chip that can convert input analog voltage or current into digital quantity proportionally.It is widely used in the forward input channel of the single-chip microcomputer.Using ADC0804 single channel 8-bit parallel interface chip as the A/D converter and ATMEL company's enhanced AT89C52 single-chip microcomputer as the controller,this paper makes the conversion of digital quantity,which is output to the LED light through the P1 port of the single-chip microcomputer.Using Keil C51 as the main programming software and Proteus simulation software to design the circuit schematic diagram,a realization of A/Dconversion process was presented.
作者
杨欢
杜少华
袁国锋
陈晓
YANG Huan;DU Shao-hua;YUAN Guo-feng;CHEN Xiao(School of Mechanical Engineering,Anyang Institute of Technology,Anyang,Henan 455000,China)
出处
《教育教学论坛》
2019年第30期278-280,共3页
Education And Teaching Forum
关键词
PROTEUS
单片机
A/D转换
仿真
Proteus
Single Chip Microcomputer
A/D Conversion
Software Simulation