With the computer in the social sphere in recent years, the penetration and the development of large scale integrated circuits, microcontroller applications are continually deepening, because of its powerful function, small size, low power consumption, cheap, reliable, easy to use, therefore particularly suitable for systems with control of more and more widely used in automatic control, intelligent instruments, meters, data collection and household appliances and other As one of the main branch of microcomputer, microcontroller in the structure of the biggest feature is the CPU, RAM and ROM memory, timer and multiple I / O interface circuit integrated on a VLSI The composition and function from its point of view, a single chip is actually a This design is the use of MSC-51 Series Microcontroller AT89C51 as the central device in the design of serial communication Proteus and Keil structures in the simulation platform to assembly language as a programming language for System realizes the multi-serial communication, use of the master-slave, the host sends data, receives data from the machine and displayed under the
In recent years, with the computer in the social sector and the development of large-scale integrated circuits, the application of SCM is continuously to thoroughly, because it has the strong function, small volume, low power consumption, low price and reliable, easy to use, so particularly suitable for related control and system, more and more widely used in automatic control, intelligent instrument and meter, data acquisition, and household electrical appliances, SCM serial communication system using a serial works, transfer and displaying information, data can be made in different This design is using MSC - 51 series microcontroller as the center of AT89C51 device to design a serial communication system in the building and the Keil P The simulation platform to assemble language as a programming System realizes the multi-motor serial communication, adopted masterslave, machine to send data from the machine according to theagreement, and receive
本课题主要介绍了温度传感器的硬件电路的设计和系统软件设计。硬件电路主要包括主控制器,测温电路和显示电路等,控制器采用单片机AT89C51,温度传感器采用美国DALLAS半导体公司生产的DS18B20,显示电路采用4位共阳极LED数码管以动态扫描法直读显示。系统程序主要包括主程序,读出温度子程序,温度转换命令子程序,计算温度子程序,显示数据刷新子程序等。此外,还介绍了系统的调试和性能分析。 由于采用了改进型智能温度传感器DS18B20作为检测元件,与传统的温度计相比,本数字温度计减少了外部的硬件电路,具有低成本和易使用的特点。DS18B20温度计还可以在过限报警、远距离多点测温控制等方面进行应用开发,具有很好的发展前景。DS18B20是一种可组网的高精度数字式温度传感器,由于其具有单总线的独特优点,可以使用户轻松地组建起传感器网络,并可使多点温度测量电路变得简单、可靠。介绍了DS18B20数字温度传感器在单片机下的硬件连接及软件编程,并给出了软件流程图。 在该论文中,我们通过对单片机和温度传感器的设计,从中学到了许多有用的东西,其中我们明白了如何去设计一个产品,首先要有性价比、良好的适应性,其次要知道设计的关键,最后也懂得了设计与实际的联系。 关键词: 单片机系统;数字温度传感器;单总线;过限报警 This thesis mainly include hardware circuit design and system design Hardware circuit include the main controller, temperature measurement circuit and display circuit, the controller using SCM AT89C51, temperature sensors using the production DS18B20 of United States DALLAS Semiconductor, and the display circuit using four common anode of LED by digital dynamic scanning and Direct Reading The system procedure mainly includes main procedure, reading temperature sub-procedure, the temperature conversion orderanies sub-procedure, computing the temperature sub- procedure, the manifestation data breaks sub-procedure In addition, it introduced a system debugging and performance In order to adopting the improvement type the intelligence temperature transducer DS18 B20 Be examine component, compared with the traditional thermometer, this numerical thermometer reduced the hardware telephone of the exterior, have low cost with the characteristics of the easy The DS18 B20 thermometers can report to the police still in the heat, long-distance leave to click to measure control much carry on an applied development, having good development As a kind of high-accuracy digital net temperature sensor,DS18 B20 can be used building a sensor net It can also make the net simple and reliable with it's special 1-wire interface This paper introduces the application of DS18B20 with single chip In that thesis, we from the design of the SCM and the temperature transducer, we learned many useful things, among them, we understand how go to design a product, first it should have to have good quality but inexpensive, adaptabilities, than should know hinge of the design, the last we also know the communication between design and Keyword: SCM;Digital thermometer; Single bus;Over the boundary to alarm 仅供参考!!!