熱度 1|
液位控制系統
內容摘要:本系統以AT89C51單片機為核心設計一款簡易液位控制系統。該系統主要適用于容器內液位高低的檢測,由控制系統、顯示系統、報警和電機系統組成。系統具有簡單清晰的操作界面,能夠顯示液位高低,可進行液位預設,到達預定液位后自動關閉電機并時報警功能。系統以硬件軟件化為指導思想,充分發揮單片機功能,大部分功能通過軟件編程來實現,電路簡單明了,系統穩定性高,同時該系統還具有功耗小、成本低的特點,具有很強的實用性。由于該系統所用元器件較少,單片機所被占用的I/O口不多,因此系統具有較強的可擴展性。軟件程序均采用C語言編寫,便于移植與升級。報告詳細介紹了整個系統的硬件組成結構、工作原理和系統的軟件程序設計。
關鍵詞:液位控制;AT89C51;單片機
Title of design
Abstract:The system uses AT89C51 microcontroller as the core to design a simple liquid level control system. The system is mainly applicable to the detection of liquid level in a container. It is composed of a control system, a display system, an alarm system and an electric motor system. The system has a simple and clear operation interface, can display the level of liquid level, can preset the liquid level, and automatically turn off the motor when the liquid level is reached, and then alarm function. The system hardware and software into guiding ideology, give full play to microcontroller functions most functions through software programming to implement, simple circuit, high stability of the system, and this system also has the characteristics of low power consumption, low cost, very practical. As the system uses fewer components, the microcontroller is occupied by the I/O port is not much, so the system has a strong scalability. Software programs are written in C language, easy to transplant and upgrade. The report details the hardware structure, working principle and software program design of the whole system.
Keywords:Liquid level control; AT89C51; SCM