文档介绍:花卉自动浇灌控制系统设计
摘要
随着我国房地产的发展,近年来出现高档住宅社区和别墅区,一部分人拥有了私家花园,家庭式的灌溉在国内也没有正式起步。花卉灌溉的思路就是最大限度的让主人不用费太多心思而把花养好。考虑到浇灌系统的自动化程度,所以本次设计我用单片机与湿度、光照、温度传感器相结合,能够实时的检测并让花卉在最适合它们的环境中生长。本次设计主要是由硬件和软件两部分组成,硬件部分包括:单片机89S52,电池充电电路,时钟电路,复位电路,温度传感器,湿度传感器,光照检测电路,步进电动机驱动电路,电磁阀控制电路,窗户控制电路等内容。软件部分包括:温度传感器DS18B20程序,步进电机的正反转程序,窗户的打开、关闭程序,控制电磁阀的程序等内容。本设计的传感器都是采用单片机89S52编程控制的,实现对花卉所处环境的实时控制来确定要做的动作。
关键词:单片机AT89S52;传感器;电磁阀;步进电机;自动浇灌
Automatic watering flowers control system design
Abstract
As China's real estate development in recent years high-end munities and villas, some people have a private garden, family-irrigation in the country has not officially started. Flowers idea is to maximize irrigation so the owner need not cost too much to spend and keep a good thought. Taking into account the irrigation system automation, so I use this chip design and humidity, light, temperature bined with real-time detection and allow flowers in the most appropriate to their environment of growth. The design mainly by the hardware and ponents, ponents include: MCU 89S52, battery charging circuit, clock circuit, reset circuit, temperature sensor, humidity sensors, light detection circuit, stepper motor drive circuit, the solenoid valve control circuit windows control circuit and so on. ponents include: temperature sensor DS18B20 program, reversing the stepper motor program, the windows open, close the program, the control solenoid valve procedures and so on. The design of the sensors are programmed using 89S52 microcontroller control, to achieve real-time control environment in which flowers to determine the action to do.
Keywords: microcontroller AT89S52; sensor; solenoid valve; stepper motor; Automatic watering
目录
1绪论 1
1
1
1
自动浇灌的发展趋势 2
3
3
4
4
2系统总体设计 5
5
系统的预期功能和技术指标 5
5
5
6
6
6
7
3系统的硬件