【摘 要】随着蔬菜水果种植业的发展,一些新的害虫也迅速出现,严重影响蔬菜水果的产量和品质。防治病虫害,促进农业生产。但是,农药的乱用滥用造成农产品中农药残留量严重超标,极大地影响人类健康,造成环境污染和破坏。
该系统采用AT89S52单片机作为系统主控芯片,实现太阳能电池板对电池的充电控制。同时,杀虫灯系统的工作状态由温湿度传感器控制,在环境温度低和阴雨天,系统停止工作,雨停后,温度升高,系统将恢复工作。光感受器控制杀虫灯。白天可以用灯开灯关灯给电池充电,晚上用灯放电开灯灭虫。
【关键词】单片机;太阳能;杀虫系统;灭虫系统;AT89S52
【Abstract】With the development of vegetable and fruit planting industry, some new diseases and pests have also developed rapidly, which seriously affects the yield and quality of vegetables and fruits; the rapid development of chemical industry, greatly meet the needs of farmers to control diseases and insects, promote the development of agricultural production.However, the indiscriminate use and abuse of pesticides lead to the serious excessive pesticide residues in agricultural products, which greatly affects human health and causes environmental pollution and damage. At the same time, the pests produce anti-drug resistance characteristics.
The system uses AT89S52 as the main control chip of the system to realize the charging control of the battery by solar panels.Meanwhile, the working state of the insecticide lamp system is controlled through the temperature and humidity sensor. Realize the function of the system stopping working with low ambient temperature and rainy days, the temperature recovery and the system recovery after the rain stops. And the use of photosensitive mistor to control the insecticide lamp light, to achieve the battery charging during the day, night battery discharge to make the lamp light insecticide.
【Key words】single-chip machine; solar energy; insecticide system; insect control system; AT89S52
目 录
1.绪论 1
1.1选题背景及意义 1
1.2国内外发展现状 1
1.2.1国内外杀虫系统发展现状 1
1.2.2国内外太阳能光伏发展现状 2
1.2.3国内外太阳能杀虫系统发展现状及存在问题 3
1.3 研究主要内容 3
2.系统结构及部件选型 4
2.1太阳能杀虫系统组成 4
2.2光伏组件选型 4
2.2.1光伏发电工作原理 4
2.2.2光伏电池伏安特性 5
2.3蓄电池选型 6
2.3.1蓄电池工作原理 6
2.3.2蓄电池充放电特性 6
2.3.3蓄电池的选用 7
2.4光伏发电系统容量设计 8
2.4.1容量设计影响因素 8
2.4.2蓄电池容量设计 8
2.4.3光伏阵列容量设计 8
3.太阳能杀虫灯控制器的设计 10
3.1太阳能杀虫灯控制器的工作原理 10
3.1.1串联型充放电控制器 10
3.1.2并联型充放电控制器 11
3.2 AT89S52 单片机构成的控制器 11
3.2.1 AT89S52 型单片机系统简介 12
3.2.2 AT89S52 型单片机最小系统设计 13
3.2.3 充放电电路 15
3.2.4 电压采集电路 16
3.2.5 A/D 转换电路 17
3.2.6 显示电路 18
3.2.7 温湿度采集模块 20
3.2.8控制器整体电路原理图 22
3.3太阳能杀虫灯充放电控制器的软件设计 22
3.3.1控制器整体设计思路 23
3.3.2白天控制流程 24
3.3.3夜晚控制流程 26
4.总结 27
参考文献 28
附录源代码 29