文件名称:da1302
介绍说明--下载内容来自于网络,使用问题请自行百度
at89s52单片机设计的自动浇花机,在显示模块上选用的是lcd1602液晶显示屏,定时芯片选择的是ds1302,dc12v的电磁阀。当单片机上电时,界面将显示当前时间于当前相对湿度,并且在模式设定中能实现时间的调整和浇花功能的选择。此智能浇花器设置为两种方式:一是定时定量浇花,二是利用湿度传感器检测花卉(土壤)的湿度,采集的湿度传送到单片机芯片,单片机根据湿度控制是否浇水,当需要浇水,单片机的一个引脚p1.5置低电平(由于单片机上电时端口将会置高,我们对此采用了反相器,使继电器低电平接通),使继电器线圈通电,常开触点闭合,打开电磁阀,实现定时定量的自动浇水,设定时间到,电磁阀自动闭合,并且水流时间可调-at89s52 microcontroller automatic plant waterer design, optional display module lcd1602 LCD the timing chip select Ds1302, solenoid valve dc12v the. When the microcontroller is powered on, the interface will display the current time in the current relative humidity, and can be realized in the mode setting time adjustment and plant waterer function selection. This smart water the flowers set in two ways: First, the timing quantitative gardening, humidity sensor detects humidity Flower (soil), humidity collected is sent to the microcontroller chip, the microcontroller based the humidity control whether watering when needed watering , the microcontroller pin p1.5 set low (microcontroller is powered on when the port will be set high, we are using the inverter, the relay low ON), the relay coil energized, normally open contact closure, open the solenoid valve to achieve the regular quantitative automatic watering, to set the time, the solenoid valve is automatically closed, and the flow tim
(系统自动生成,下载前可以参看下载内容)
下载文件列表
da1302.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.