摘要
为了使电压测量精度进一步提高,设计以单片机为主体测量三路电压的简易电压表。该设计采用AT89C51为主电路,以ADC0809进行模拟量到数字量的转换,运用LCD1602液晶屏对所测电压实现实时的准确显示。主要介绍了系统硬件电路及软件部分的设计,该电压表测量速度快,误差范围小,它可以分析5 V的电压,再通过电位器分压,检测直流12 V或24 V电压。结果显示,在5 V档位时误差范围可精确到0.01 V甚至0,具有很大的实用性。
In order to further improve the voltage measurement accuracy,a simple voltmeter that uses a single-chip microcomputer as a main body to measure three-way voltage is designed.The design uses AT89C51 as the main circuit,ADC0809 for analog to digital conversion,LCD1602 screen to achieve real-time accurate display of the measured voltage.This paper introduces the design of the hardware circuit and software part of the system.The voltmeter has fast measurement speed and small error range.It can analyze the voltage of 5 V,and then divide the voltage by the potentiometer to detect the DC 12 V or 24 V voltage.The result show that the error range can be accurate to 0.01 V or even 0 in the 5 V gear position,which has great practicability.
作者
朱志珍
王哲
ZHU Zhi-zhen;WANG Zhe(School of Optoelectronic Information and Energy Engineering,Wuhan Institute of Technology,Wuhan 430200,China)
出处
《长春师范大学学报》
2020年第2期64-67,共4页
Journal of Changchun Normal University
关键词
电压表
单片机
A/D转换
液晶显示
voltmeter
microcomputer
A/D conversion
liquid-crystal display