The Researching of Intelligent Henhouse Based on ATmega16 and PC
- Author
- WangBingHua
- Advisor
- JiaLanYing
- School
- Agricultural University of Hebei
- Major
- Agricultural Electrification and Automation
- Classification
- S831 Chicken
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 96
- Citations
- 1
Abstract
In livestock production, to understand the physiological behavior of livestock breeding to develop a sound system, improve animal performance and reduce the cost of livestock production has important practical significance. However, the physiological behavior of the animal body and external environment by a variety of factors, so that the physiological behavior of animals is very complicated. The research goal is to laying hens. Traditional detection methods are doing farm holding a variety of devices to detect various parameters, then the corresponding data to determine the health status of laying hens. Manual operation of equipment due to the frequent makes this approach has serious measurement errors, and many parameters difficult to detect. And frequent manual testing for laying hens also have an impact, so drop in egg production of laying hens. To this end, this paper establishes automatic monitoring system, using SCM recording layer weight, feed intake, water intake and other physiological parameters, in order to objectively evaluate different henhouse hens egg production environments provide data support. Thereby improving the hens rearing environment, reduce disease in chickens, increase production levels, reduce energy consumption and feeding costs, improve management efficiency and decision-making. Based on animal physiological parameters required for the following parameters for automatic paper detection, which includes changes in body weight of laying hens, laying hens daily excretion changes daily intake of laying hens frequency changes, the daily water intake of laying hens, eggs Daily laying chickens time, layers, real-time temperature changes, according to the requirements herein take the following measures: weight and water excretion and changes in this paper, a large volume production of standard parts weighing sensor, intake frequency in the detection of more complex routine testing there are many problems in this article to take two steps to solve the first scenario is based on the weight of the food to detect changes, the second is a location in cages mounted photoelectric switches to detect. Time is also laying hens in cages photoelectric switch at specific locations to detect. Laying hens temperature detected by infrared sensors to achieve. Environmental testing, is now the main environmental parameters on layer temperature and humidity inside the chicken coop. In this paper, according to the above requirements corresponding sensor assembly circuit to achieve the parameters of the test. Finally some parameters after each microcontroller ATmega16 simple processing, the final signal through standard RS485 serial communication interface for the IBM-compatible personal computers by the preparation of the corresponding software for real-time processing and control. The system can continuously provide multiple input channels. This article is intended application of electronic technology, computer software and hardware technology, the establishment of a real-time monitoring of physiological and behavioral feeding hens and environmental systems, and apply it to the hens coop, by experiment to verify the feasibility of the system, error, the actual results.
Table of contents
Abstract 4-5
Abstract 5-9
1 Introduction 9-11
1.1 topics significance 9-10
1.2 intelligent coop 10
1.3 The main work 10-11
2 hardware selection and analysis 11-26
2.1 The overall framework of the hardware circuit 11
2.2 weight detection circuit implementation 11-14
2.2.1 weighing sensor principle 11-12
2.2 .2 weighing sensor parameters 12-13
2.2.3 Load cell specific range select 13-14
2.3 Laying time detection 14-15
2.3.1 The principle of photoelectric switches 14
2.3.2 Classification of photoelectric switches 14-15
2.4 Temperature and humidity detection 15-19
2.4.1 SHT71 works 16-17
2.4.2 SHT71 internal structure 17-18
2.4.3 SHT71 timing 18-19
2.5 feed frequency detection 19
2.6 hens temperature sensor detects 19-23
2.6.1 Measuring principle 20
2.6.2 TS118-1 performance parameters 20-22
2.6.3 Measuring wiring diagram 22-23
2.7 amplifier circuit 23-26
2.7.1 AD620 internal principle 23-24
2.7.2 AD620 specifications and features 24-26
3. microcontroller and serial communication part 26-38
3.1 MCU part 26-28
3.1.1 Microcontroller Overview 26
3.1.2 microcontroller ATmega16 features introduced 26 - 27
3.1.3 AVR C language for optimization 27-28
3.2 serial communication 28-33
3.2.1 RS-232 29
3.2.2 RS485 29-30
3.2.3 MCU and PC serial communication 30-33
3.2.4 MAX485 wiring diagram 33
3.3 Fieldbus 33-35
3.4 switching power supply design 35-38
3.4.1 Switching Power Development 35 <br / > 3.4.2 Switching power supply works 35
3.4.3 Switching power supply operating mode 35-36
3.4.4 The basic framework of switching power supply 36 -38
4. circuit and program design 38-57
4.1 overall circuit 38-39
4.2 Programming 39-44 <br / > 4.2.1 C language for embedded development advantages 39-40
4.2.2 AVR overall program design 40-44
4.3 serial communication routines 44-47
4.3.1 Synchronous and Asynchronous serial Receiver and Transmitter 44
4.3.2 program 44-47
4.4 analog to digital conversion subroutine 47-48
4.5 Laying time detection program 48
4.6 SHT71 temperature and humidity testing procedures 48-51
4.6.1 Block Diagram 49
4.6.2 part of the program code 49-51
4.7 PC machine interface 51-57
4.7.1 C # program overview 51-53
4.7.2 part of the program code 53-56
4.7.3 some screen shots 56-57
5 system debugging 57 -61
5.1 microcontroller programming environment CodeVision 57-58
5.1.1 Codevision AVR C describes 57-58
5.2 JTAG Interface and On-chip debug system 58-59
5.3 simulation debugging environment AVRstudio 59-61
5.3.1 AVRStudio introduction 59
5.3.2 debugging process 59-61
6 experimental data 61-64
6.1 Materials and methods 61
6.2 assay 61-62
6.3 Results and Analysis 62-64
7. Conclusions 64-66
7.1 Conclusion 64
7.2 Finally attention 64-66
References 66-67
pursue a degree papers published during 67-68
Author Biography 68-69
Thanks 69-70
Related dissertations
- The Research of Communication Technology Based on PLC Automatic Control System
- Design and Realization of Automation Systems on the Packing Production Line
- Research and Design on Ultra-high Speed Cigarette Making Machine HMI
- Jigging air valve control system based on Fuzzy Control Technology
- Design and Realization of control system of rotary base
- Based on Configuration Technology of Touch Screen Controller Design and Realization
- The Toxin Types Dedction and Enramycin Restrain Expeirment of Clostridium Perfringens of Laying Hens in Areas of China
- Effect of Diet Formulation with Low Protein and Net Energy on the Laying Performance of Hens
- Effects of Different Levels of Dietary Calcium on Fatty Liver Syndrome in Young Laying Hens
- Effects of Dietary Sodium Bicarbonate on Performance and Intestinal Microecology of Laying Hens
- Study on the Tolerance of Laying Hens Exposed to the Sodium Bicarbonate
- Effects of Daidzein on Laying Performance in59-70Weeks of Age Laying Hens and the Safety Evaluation Involved
- Biosafety Evaluation of Phytosterol as Feed Additive in Laying Hens
- The Applied Research of Taurine Promote Healthy Breeding in Laying Hens
- Ingredients Analysis of Pepper Straw and Feeding Effect Estimation in Laying Hens
- Studies on Optimum Protein to Energy Ratios of Wheat Dietary of Layer Added Non-starch Polysaccharides Enzyme
- Effects of Angelica and Codonopsis on Performance of Laying Hens and Research on High Levels of Trace Elements Transfer into Eggs
- The Research on the Optimum Supplemental Level of Iron Copper Manganese Zinc of Commercial Laying Hens Fed on Low Energy Diet
- Effects of Different Molecular Weight Chito-oligosaccharides on Growth Performance and Immune Function of Laying Hens
- Effects of Forced Molting and Dietary Supplementation of Isolfavone on Performance of Laying Hens