IoT Based Poultry Environment Monitoring System

IoT or the internet of things is characterized as a forthcoming innovation that empowers us to control equipment gadgets through the Internet. Homes of the next generation will become more and more self-controlled and mechanized because of the solace it gives, particularly when utilized in a private home.  Now IoT system also have paved a pathway in the field of Poultry Farming.

The Chicken poultry industry is an important industry for sustainable food supply in our country. The development of an automatic chicken feeding machine can be very useful to the growth of the poultry industry. The existing system contains temperature and humidity detection and the chickens need a presence of manpower to manually give the food to the chickens.

The use of the proposed system can replace the worker for feeding the chicken, thus overcoming the labor problems in the industry and introducing a semi-automatic process in the poultry industry. The Proposed system can be applicable for the prevention against theft of chicken. At the same time Considering the health of chickens,  gas sensor is placed to indicate the presence of harmful gasses like Ammonium. Fire accidents can be prevented with the help of a fire sensor and alerts the user.Temperature and humidity is monitored and maintained in the poultry farm with the help of temperature sensor. The data obtained from sensor are updated in IoT.


Poultry farming is the  form of animal husbandry raises  domesticated birds  such as  chickens, ducks, turkeys and geese to produce meat or eggs for food. Poultry

production is a very important source of livelihoods for most rural communities. Because  it has good  quality protein and  it  increases  profitability.  

This project  focuses on the automation in poultry farms for monitoring and maintaining the inside temperature, feeding, monitoring water and poultry feed. The temperature sensor always monitors the inside temperature. If the temperature is not at the desired point then the microcontroller controls the heater or cooling fan to set the temperature at desired condition. The humidity sensor monitors the amount of water vapor in air. When outside temperatures are low, relative humidity in the house is low, which often results in dry dust circulating in the air within the house.

PIC has been used as a controller and ESP8266 is used as a wifi module. LM35 has been used as a temperature sensor, which can monitor and observed the environmental temperature and send the information to the microcontroller which can send the current data and perform action according to that. When the temperature goes beyond threshold value then automatically cooling fan will be ON to control the internal temperature of poultry. The threshold value of temperature is 40.6 degree to 41.7 degree Celsius. Once, the temperature is below the threshold value cooling fan will automatically turn OFF. Similarly, SYHS22 is used as a humidity sensor. This can monitor and observe the environmental humidity and send the information to the microcontroller which can sense the data and perform an action according to current value of humidity in a poultry farm.

When humidity goes beyond threshold value then to control that humidity Exhaust fan will automatically ON. Once, internal humidity of poultry farm is under control then fan will automatically turn OFF. MQ6 is used as a gas sensor. There are number of gases in air like CO2, CO, H2S,CH4, NH3 etc. Here focus on the ammonia gas (NH3) in the air. Because, mainly ammonia gas is affected on the growth of the chickens, it may cause several diseases like Hand Foot disease, Mouth disease, Bird Flu etc. The threshold value of ammonia is 40%. When percentage of ammonia gas in air is goes beyond the threshold value which is fixed in a system, then to control the percentage of ammonia in air Ventilation Window will be open and Exhaust Fan will be ON. Once, the ammonia gas in a poultry environment is under control fan will automatically turn OFF.

 By connecting all  the sensor modules to the microcontroller all sensor values are acquired, then using the Wi-Fi module it will be uploaded to the web page. The person in-charge of the poultry farm can get the internal environmental  situation  of the poultry  farm through a PC or mobile phone using the internet. This system will control temperature, humidity, ammonia gas and intensity of light with the help of cooling fan and light ON/OFF without human interference. Based on the threshold values it will switch ON/OFF the devices. System design provides automated poultry, reduces man power and increases production of healthy chicken. 



PIC16F877A Microcontroller IC manufactured in 28-pin packages, designed as a powerful (200 nanosecond instruction execution) microcontroller. The PIC16F877A features 128 bytes of EEPROM data memory, self-programming, an ICD, 2 Comparators, 5 channels of 10-bit Analog-to-Digital (A/D) converter. And also the synchronous serial port can be configured as either 3-wire Serial Peripheral Interface (SPI) or the 2-wire Inter-Integrated Circuit (I2C) bus and a Universal Asynchronous Receiver Transmitter (USART). All of these features make it a perfect device for more advanced level A/D applications. It offers wide range of application in the field of automotive, industrial, appliances, and consumer applications. 


LM35 defined as a high precession Integrated circuit Temperature sensor, whose output voltage varies, with respect to the temperature around it. This compact-sized, cheap IC used to measure temperature anywhere between -55°C to 150°C.  LM35 generally gives temperature output that is highly precise than thermistor output without any external calibration circuitry. This Linear Monolithic IC LM35 is an integrated analog temperature sensor whose electrical output is proportional to Degree Centigrade.


This humidity sensor is operating on DC. Range of this humidity sensor is 30-90º c RH. Humidity sensor is an analog sensor and gives the output into form of analog signal. This signal is feed to ADC which will convert it into digital form. Once converted into analog form, the microcontroller can process the digital humidity signal as per the application. This sensor gives the value of change in humidity in the atmosphere as per the application.


Level sensors used to detect the level of Fluid. This level controller used inFuel sensor is used to calibrate the fuel available in a fuel tank. It is basically used in two wheeler petrol tank to detect the level of petrol. Here to measure the level of water in a poultry farm we have used the Level sensors.

  • RELAY:

A relay is designed as an electrically operated switch. Many relays operate with an electromagnet to mechanically operate a switch. Relays functions where it’s necessary to regulate a circuit by a low-power signal. This is performed with complete electrical isolation between control and controlled circuits, or several circuits that should be controlled by one signal. This 5V Relay is an automatic control circuit and to control a high-current using a low-current signal. The input voltage of the relay signal ranges from 0 to 5V. This 5V RELAY is controlled directly by Microcontroller Arduino.


Displaying information is one of the crucial steps in electronic projects. So using LCDs has always been one of the most popular ways to display information. This 1602 LCD module is a very popular display. 16*2 LCD module consists of 16 columns and 2 rows, so it has 32 (16*2) characters in total.

  • ESP8266 WiFi Module:

  ESP8266 Wifi Module AP & Station Remote Serial Wireless IoT Board designed based on an integrated chip specifically to fulfill the needs of a new connected world. It can handle all the necessary overhead for communicating with your network, such as TCP/IP stack and communicating with your 802.11 networks. The  ESP8266  WiFi Module is a self-contained SoC with an integrated  TCP/IP protocol stack that can give access to your WiFi network (or the device can act as an access point). One useful feature of Uno WiFi is support for  OTA (over-the-air) programming, either for the transfer of Arduino sketches or WiFi firmware.

Leave a Reply

Your email address will not be published.