基于C8051F330的单片机温度计设计论文.doc
文本预览下载声明
基于C8051F330的单片机温度计设计
摘 要:本论文设计了一种基于C8051F330单片机的模拟电压和温度采集、模数转换及显示,采样速率可达00ksps。该5V电压3.3V电压C8051F330提供工作电压。将采集到的模拟信号送C8051F330单片机内部10位ADC进行量化、编码然后调用查表程序,将ADC寄存器中转换出的数字信息处理为段码,通过数码管显示通过按键来选择不同通道的采集测量,这种方法具有实用、便捷的优点,实现了测量过程的智能化。电路设计过程中运用了Protel99SE进行原理图绘制,选用了C8051F330单片机的开发工具Silaboratories IDE对软件设计中的汇编程序进行编写、编译、综合仿真,最后将程序下载到中,调试证明硬件能正常工作,可以完成课题要求任务。关键词:单片机
The Designing of a thermometer which is based on the C8051F330 monolithic integrated circuit
Abstract: A thermometer which is based on the C8051F330 monolithic integrated circuit (MCU) is designed in this paper.The temperature range is 0~100℃ and it displays on four digital tubes.The thermometer system get the simulation voltage which changes with the change of temperature from the temperature sensor.Then the circuit operates these functions that gathering, the conversion of A/D and the displaying about this simulation voltage and the temperature of MCU’s interior sensor. The rate of sampling reaches 200ksps . A Low-voltage conversion device AMS1117 was used in this thermometer system in order to provide a 3.3 operating voltage which is conversed from a 5 voltage for C8051F330 .The collected simulation signal is firstly delivered into C8051F33010’s ADC to quantify and code. Then under the help of the program of table look-up, the program processes the numerical information which is converted in the ADC register to section code and surveys the processing result to 74LS164 shift register, at last it displays on the digital tube. The different channel’s gathering and survey are chosen by the key-press in the controlling part of the circuit. This method is convenient and practical, and it realizes intellectualization of the survey process. In the process of designing, Protel99SE is used to plot schematic diagram and PCB diagram, and Silicon laboratories IDE, the development kit of C8051F330 MCU, is used to compile, translate and make synthesis simulation about the assemble program. After downloa
显示全部