Professional Documents
Culture Documents
A R T I C LE I N FO A B S T R A C T
Keywords: Animal welfare is a major concern these days, as well as the factors that have impact on animal productivity.
Animal welfare Constant monitoring of environmental parameters such as temperature, humidity, levels of ammonia and lu-
Ammonia minosity is crucial because these variables directly impact poultry performance and welfare. Along these lines, it
IoT is necessary to look for solutions that allow the monitoring of these variables in a practical, reliable and cheap
Technological innovation
way. In the agribusiness, the scenario for the IoT (Internet of Things) is very promising, because it has emerged
Data loggers and biosystems engineering
to fill this gap and deliver sensed data, widely increasing the connectivity of the devices. Therefore, this paper
describes a low cost, hardware and software proposal for monitoring these environmental parameters in poultry
farms. In addition, experiments were done to compare the proposed prototype with commercial devices. The
measured variables showed a correlation above 0.90 between the sensors used in the prototype and the cali-
brated equipment, also having the cost of only 13% of that of the conventional equipment. The prototype
displayed favorable results, indicating that its implementation is viable.
1. Introduction farmer can intervene by handling the house's curtains and activating
equipment such as fans, exhaust fans and/or nebulizers.
Poultry has evolved greatly in recent decades due to the genetic In general, these environmental parameters in poultry houses have
improvement of birds, associated with advances in other related areas, been measured manually or using commercially available individual
such as nutrition, management and health (Pessôa, 2012). In view of data loggers (Winkel et al., 2015). However, besides the need for a
the high world demand for food, Brazilian poultry production is pro- person to be present in the shed to collect the measured data, such
minent in both chicken meat production (ABPA, 2017), and chicken egg equipment has a relatively high cost (Castell et al., 2017). Another re-
production (Damasceno et al., 2010). Following a worldwide interest, levant aspect is that these devices operate mostly in isolation, requiring
there is also a growing concern, in Brazil, that birds should be raised the acquisition of more than one device to monitor several variables
under conditions that promote animal welfare (Souza and Molento, related to the environment in the sheds (Rapson, 2014).
2015). In this sense, the environmental conditions of the breeding Technological advances allow the interconnection of several devices
houses need to be considered, especially the temperature, relative hu- (Vanelli and Silva, 2017) and speed up data transport. Quick access to
midity, ammonia concentration in the air and luminosity, since pro- data is very important for professionals involved in agribusiness be-
ductivity is related to the environmental conditions in which the birds cause it enables faster and more efficient decision-making processes
are raise (Soliman et al., 2017). It is important to mention that the (Zambon et al., 2019). The concept of Internet of Things (IoT) is in-
monitoring of such variables needs to be frequent so that, if necessary, serted in this scenario, to expand the connectivity of field sensors to
the producer can intervene more quickly by adopting management information systems, increasing the degree of innovation and tech-
practices in order to ensure an adequate environment. For example, by nology in the field (Mahale and Sonavane, 2016)
detecting that the house temperature is rising too much, the poultry Therefore, the present work reports about a low-cost device that
⁎
Corresponding author at: São Paulo State University – UNESP, 17602-496 Tupã, SP, Brazil.
E-mail addresses: fernando.putti@unesp.br (W.F. Pereira), fernando.putti@unesp.br (F.F. Putti).
https://doi.org/10.1016/j.compag.2020.105257
Received 18 November 2019; Received in revised form 28 January 2020; Accepted 30 January 2020
0168-1699/ © 2020 Elsevier B.V. All rights reserved.
W.F. Pereira, et al. Computers and Electronics in Agriculture 170 (2020) 105257
allows the agile and simplified monitoring of temperature, relative technology (Al-Falahy and Alani, 2017). The Wi-Fi standard, also
humidity, air ammonia content and luminosity, through the application known as 802.11, was first proposed in 1990 and was then widely used
of remote sensing, using the internet as a communication network for in society for its low cost. With proper directional antennas, it can reach
the data that can be stored and analyzed later. distances of up to 40 km between interconnected points. Wi-Fi networks
are easily installed operating at frequencies such as 2.4 GHz (giga-
1.1. Poultry farming environment hertz) and 5 GHz with varying signal range and coverage (Schreiber
et al., 2018).)
The productivity and welfare of chickens and broiler chickens is The ESP8266 module is an embedded system with integrated TCP/
directly related to the environmental conditions under which poultry IP network protocol support that can give any microcontroller access to
are bred (Janczak and Riber, 2015). The thermal comfort range of its Wi-Fi network (Hlaing et al., 2017) This module is cost-effective and
poultry varies mainly depending on their age, but throughout the has a huge and growing user base. The Wemos D1board is easy to use
breeding period it is desirable that the temperature in the shed remain and apply to IoT solutions, with all basic functions that facilitate de-
within the recommended range for each age group. Heat or cold stress velopment and prototyping (Asnawi and Syukriasari, 2019).
is undesirable because it can influence poultry welfare and food intake,
as well as increase susceptibility to disease and flock mortality rate 2. Material and methods
(Gebregeziabhear and Ameha, 2015).
In general, the relative humidity inside the shed should be between The device described in this article aims to monitor environmental
50 and 70%. Low relative humidity increases the rate of heat dissipa- parameters using low-cost hardware and the object connectivity con-
tion by evaporation, resulting in airway and mucosal dryness. On the cept proposed by the Internet of Things paradigm. Using this device and
other hand, high relative humidity associated with high temperatures its associated application, it is possible to record and track, in real time,
may worsen broiler chicken performance (Najafi et al., 2015). the temperature, relative humidity, airborne ammonia concentration,
In the conventional broiler chicken breeding system, the birds are and luminosity, allowing fast data analysis and decision making by the
housed in a masonry shed in which the floor, usually made of wood, is poultry farmer.
covered by broiler litter. One of the purposes of broiler litter is to ab-
sorb moisture from bird excreta (Sousa et al., 2016). When it comes to 2.1. Proposed hardware
laying poultry in the intensive system, chickens are mostly caged, and
excreta are often kept in the shed for several weeks (Oro and Guirro, The sensors were selected considering their cost and detection
2014). Therefore, in both types of poultry farming, the organic matter range. The DHT22 sensor was used to record air temperature and re-
present in excreta and/or litter can be degraded by microorganisms, lative humidity, being able to measure temperatures between −40 and
resulting in ammonia production (Nkoa, 2014). As ammonia is a toxic 80 °C, and relative air humidity between 0 and 100% (Pereira et al.,
gas, it is recommended that the content of it in the air be monitored and 2017). Ammonia concentration in the air was measured by the MQ-137
kept below 10 ppm (parts per million) in order to avoid impairing an- electrochemical sensor, which has a detection range of 5 to 200 ppm.
imal performance and bird and staff health (David et al., 2015; Othman For the monitoring of luminosity, the LDR (light dependent resistor)
and Mahmood, 2014). sensor was used, which is a light-controlled variable resistor. Thus, the
Because birds are photosensitive, exposure to a daily light period photo resistor has high resistance in the dark, and low resistance under
shorter or longer than recommended influences food intake and even light.
sexual maturity of chickens (Jácome et al., 2014; Pan et al., 2014). The device developed has a CPU (Central Processing Unit) Wemos
Therefore, in view of the above, the need for constant monitoring of Mini D1with chipset ESP-8266EXwith standard Wi-Fi 2.4 Ghz con-
temperature, relative humidity, air ammonia content and luminosity in nectivity. The CPU is able to read the three used sensors, having a bivolt
poultry houses is justified. This practice is of paramount importance, as power supply of 5 V (Fig. 1). After the reading, the data is stored in the
it allows the quick recognition of the need for intervention by the CPU and transmitted to the internet or computer through the wireless
poultry farmers to ensure adequate environmental conditions for the network. The stored data can be read, processed and tracked through
animals. the software and devices connected to the proposed device's internet or
2
W.F. Pereira, et al. Computers and Electronics in Agriculture 170 (2020) 105257
• Calibration: Puts the device into calibration mode, where values are
read, and equations are automatically adjusted as needed.
• Measurement range: Allows adjustment of time between parameter
measurements.
• Wireless Network Connection: Allows the user to enter the wireless procedure was performed 20 times, and all results were analyzed in
order to plot the exponential regression curve shown in Fig. 5.
network configuration data for device connection.
From the calibration curve, the best mathematical equation that fit
the data was detected (R2 = 0.9648) and the exponential equation was
obtained, represented by:
y = 6 E− 16x 4,1092
3
W.F. Pereira, et al. Computers and Electronics in Agriculture 170 (2020) 105257
As ammonia levels within the shed were below the detection limit of
both sensors, and given that any management strategy made to increase
internal ammonia concentration could negatively affect bird perfor-
mance and welfare, it was opted to adopt laboratory conditions, using
the same PVC box described in item “C. Calibration” of section IV of this
article. For the determination of air ammonia content by the proposed
device and conventional equipment (Table 2), 20 measurements were
performed simultaneously.
Luminosity measurements were also obtained in the laboratory,
using light sources with variable illumination controlled by dimmer.
Twenty measurements were performed simultaneously by the proposed
device and the conventional equipment (Table 3), at different illumi-
nation intensities.
Fig. 5. Calibration Curve. For connectivity analysis and data transmission, the proposed de-
vice was connected to the wireless network and internet, thus applying
the concept of Internet of Things. In order to validate the integration
Table 1
between the proposed device and the proposed application, the data
Term Features Digital Hygrometer 7666 (INCOTERM®).
was updated through Smartphone by comparing the data exhibited on
Characteristic Temperature Humidity the display of the proposed device and the application at the same time.
For cost analysis, market values of each equipment and components
Sensibility Range 0 °C–50 °C 15%–95%
Resolution 0.1 °C 1% RH required to create the proposed device were considered.
Accuracy ± 1 °C ± 5% RH For the results analysis, the software Microsoft Excel® (2016 ver-
sion) was used to establish linear regressions using the Least Squares
Method (MMQ). Thus, it was compared how much the data obtained by
ceiling height, and is covered with fiber cement tiles. The shed housed the proposed device resembled the data of the equipment admitted as
2000 Hy-Line Brown Chickens. The production system adopted for reference. This method obtained the equation of the regression line that
poultry farming is intensive, following the nutrition and management most closely approximated the data set and the correlation coefficient
recommendations of the pedigree manual.Fig. 7. R2.
For five consecutive days, both devices were positioned inside the
shed next to each other and at the same floor height (approximately 3. Results and discussion
1.60 m). During this period, five daily recording times were defined for
the temperature and relative humidity measurements (8:00, 10:00, As it can be seen inFigure7, 20 records of temperature and relative
14:00, 16:00 and 20:00 h), obtaining a total of 20 data recorded for humidity were collected for each equipment evaluated.
each equipment in this period. A high correlation (R2) was observed between the data provided by
4
W.F. Pereira, et al. Computers and Electronics in Agriculture 170 (2020) 105257
Fig. 6. Laying house used to compare the proposed device with a commercial thermo hygrometer.
Fig. 7. Temperature (a) and relative humidity (b) recorded by the proposed
device and the commercial thermo hygrometer.
Table 2
Dg-2000 Ammonia Detector Characteristics (INSTRUT-
ERM®). Fig. 9. Correlation of humidity between the thermo hygrometer and the pro-
posed device.
Characteristic Brightness
Sensibility Range 4–100 ppm the two devices for air temperature and relative humidity parameters
Resolution 1 ppm
(Figs. 8 and 9), with correlations higher than 0.97, indicating that the
Accuracy ± 5%
proposed device represents an effective alternative compared to con-
ventional equipment.
Table 3 Compared to the commercial lux meter, the proposed device was
Characteristics of the mlm-101 Digital Lux Meter also efficient in monitoring the luminosity, with a correlation close to
(Brand: MINIPA®). 1.0 (R2 = 0.9965) (Figs. 10 and 11).
Regarding the determination of the ammonia content in the air, it
Characteristic Luminosity
was observed that there is a greater similarity in the values detected
Sensibility Range 0–10,000 lx between the sensors at lower ammonia concentrations (Fig. 12). This
Resolution 1 lx result indicates the possibility of using the MQ-137 sensor for air am-
Accuracy ± 4–5% monia concentrations of up to approximately 60 ppm. This result may
be related to the physical properties of the sensor and its construction,
as well as the influence of temperature and humidity, a fact that can be
5
W.F. Pereira, et al. Computers and Electronics in Agriculture 170 (2020) 105257
Fig. 13. Correlation of ammonia between the commercial equipment and the
Fig. 10. Luminosity recorded by the proposed device and commercial lux proposed device.
meter.
4. Conclusion
6
W.F. Pereira, et al. Computers and Electronics in Agriculture 170 (2020) 105257
Table 5 David, B., Mejdell, C., Michel, V., Lund, V., Moe, R.O., 2015. Air quality in alternative
Cost of materials of the device proposed. housing systems may have an impact on laying hen welfare. Part II—Ammonia.
Animals 5 (3), 886–896.
Component Cost (R$) Damasceno, F.A., Junior, T.Y., Lima, R.R., Gomes, R.C.C., Moraes, S.R.P., 2010. Avaliação
do bem-estar de frangos de corte em dois galpões comerciais climatizados. Revista
Wemos Mini D1 Controller R$ 40.00 Ciência e Agrotecnologia 34 (4), 1031–1038.
Power Supply 5v R$ 20.00 Pessôa, G.B.S., 2012. Novos conceitos em nutrição de aves. Revista Brasileira de Saúde e
Seesaw Switch with Led R$ 5.00 Produção Animal 13 (3), 755–774.
External Antenna R$ 5.00 Gebregeziabhear, E., Ameha, N., 2015. The effect of stress on productivity of animals: a
Power Cord R$ 2.00 review. J. Biol., Agric. Healthcare 5 (3), 165–172.
Hlaing, W., Thepphaeng, S., Nontaboot, V., Tangsunantham, N., Sangsuwan, T., Pira, C.,
LDR Sensor R$ 1.00
2017. Implementation of WiFi-based single phase smart meter for Internet of Things
DHT22 Sensor R$ 30.00
(IoT). In: 2017 International Electrical Engineering Congress (iEECON). IEEE,
MQ-137 Sensor R$ 140.00
pp. 1–4.
Buzzer R$ 5.00 Jácome, I.M.T.D., Rossi, L.A., Borille, R., 2014. Influence of artificial lighting on the
Display LCD R$ 25.00 performance and egg quality of commercial layers: a review. Brazilian J. Poultry Sci.
Custom Box R$ 40.00 16 (4), 337–344.
Wiring, Resistors, Screws, Others R$ 20.00 Janczak, A.M., Riber, A.B., 2015. Review of rearing-related factors affecting the welfare
Total R$ 353.00 of laying hens. Poult. Sci. 94 (7), 1454–1469.
Kaushik, A., Kumar, R., Arya, S.K., Nair, M., Malhotra, B.D., Bhansali, S., 2015.
Organic–inorganic hybrid nanocomposite-based gas sensors for environmental
monitoring. Chem. Rev. 115 (11), 4571–4606.
Declaration of Competing Interest Le, A., Varmarken, J., Langhoff, S., Shuba, A., Gjoka, M., Markopoulou, A., 2015.
AntMonitor: A system for monitoring from mobile devices. In: Proceedings of the
The authors declare that they have no known competing financial 2015 ACM SIGCOMM Workshop on Crowdsourcing and Crowdsharing of Big
(Internet) Data, pp. 15–20.
interests or personal relationships that could have appeared to influ- Mahdavinejad, M.S., Rezvan, M., Barekatain, M., Adibi, P., Barnaghi, P., Sheth, A.P.,
ence the work reported in this paper. 2018. Machine learning for Internet of Things data analysis: A survey. Digital
Commun. Netw. 4 (3), 161–175.
Najafi, P., Zulkifli, I., Jajuli, N.A., Farjam, A.S., Ramiah, S.K., Amir, A.A., Eckersall, D.,
Acknowledgements
2015. Environmental temperature and stocking density effects on acute phase pro-
teins, heat shock protein 70, circulating corticosterone and performance in broiler
The authors would like to thank the Professional Master's Degree chickens. Int. J. Biometeorol. 59 (11), 1577–1583.
Nkoa, R., 2014. Agricultural benefits and environmental risks of soil fertilization with
Program in Production Systems at José do Rosário Vellano University,
anaerobic digestates: a review. Agron. Sustainable Dev. 34 (2), 473–492.
the Federal Institute of Education, Science and Technology of South of Othman, J.K., Mahmood, J.R., 2014. Design and implementation of smart relay based
Minas Gerais (Machado Campus) and the South of Minas Gerais remote monitoring and controlling of ammonia in poultry houses. Int. J. Comp. Appl.
Teaching and Research Foundation for the indispensable support to the 103 (8).
Pan, J., Yang, Y., Yang, B., Yu, Y., 2014. Artificial polychromatic light affects growth and
development of this work. This work was supported by the National physiology in chicks. PLoS ONE 9 (12).
Council for Scientific and Technological Development (CNPq) (grant Pereira, S.G.M., Pereira, F.A.D.S.M., Goncalves, R.F., Santos, D.S., 2017. Software project
number 303923/2018-0) for the research productivity grant granted to for remote monitoring of body temperature. IEEE Lat. Am. Trans. 15 (11),
2238–2243.
the last author. Mahale, R.B., Sonavane, S.S., 2016. Smart Poultry Farm Monitoring Using IOT and
Wireless Sensor Networks. International Journal of Advanced Research in Computer
Appendix A. Supplementary material Science 7 (3), 187–192.
Rapson, D., 2014. Durable goods and long-run electricity demand: Evidence from air
conditioner purchase behavior. J. Environ. Econom. Manage. 68 (1), 141–160.
Supplementary data to this article can be found online at https:// Santoro, G., Vrontis, D., Thrassou, A., Dezi, L., 2018. The Internet of Things: Building a
doi.org/10.1016/j.compag.2020.105257. knowledge management system for open innovation and knowledge management
capacity. Technol. Forecast. Soc. Chang. 136, 347–354.
Schreiber, F.V., Dias, R.A., Gallo, V.Z.M., 2018. Remote Water Consumption Metering
References using MQTT over Sub-gigahertz RF Environment. Int. J. Comp. Appl. 180 (51),
10–17.
Soliman, E.S., Moawed, S.A., Hassan, R.A., 2017. Influence of microclimatic ammonia
ABPA, A Avicultura Brasileira, [Online]. Available: http://www.brazilianchicken.com.
levels on productive performance of different broilers’ breeds estimated with uni-
br/. (Acesso em 25 jun. 2017).
variate and multivariate approaches. Veter. World 10 (8), 880.
Al-Falahy, N., Alani, O.Y., 2017. Technologies for 5G networks: Challenges and oppor-
Sousa, F.C., Tinôco, I.F.F., Paula, M.O., Silva, A.L., Souza, C.F., Batista, F.J.F., Barbari, M.,
tunities. IT Prof. 19 (1), 12–20.
2016. Medidas para minimizar a emissão de amônia na produção de frangos de corte:
Asnawi, M.F., Syukriasari, F., 2019. A prototype for IoT based Rice Field Irrigation
revisão. Revista Brasileira de Engenharia de Biossistemas 10 (1), 51–61.
System. SinkrOn 3 (2), 260–265.
Souza, A.P.O., Molento, C.F.M., 2015. The contribution of broiler chicken welfare certi-
Vanelli, B., Silva, M.P., 2017. Internet of things data storage infrastructure in the cloud
fication at farm level to enhancing overall animal welfare: The case of Brazil. J. Agric.
using NoSQL databases. IEEE América Latina 15 (4), 1–7.
Environ. Ethics 28 (6), 1033–1051.
Ben Sassi, N., Averós, X., Estevez, I., 2016. Technology and poultry welfare. Animals 6
Uckelmann, D., Harrison, M., Michahelles, F., 2011. Architecting the Internet of Things.
(10), 62.
Springer, Nova Iorque.
Oro, C., Guirro, E.C.B.P., 2014. Influência da amônia proveniente da cama aviária sobre o
van Weeghel, H.E., Bos, A.B., Spoelstra, S.F., Koerkamp, P.W.G., 2016. Involving the
bem-estar de frangos de corte. Veterinária em Foco 12 (1), 49–63.
animal as a contributor in design to overcome animal welfare related trade-offs: The
Castell, N., Dauge, F.R., Schneider, P., Vogt, M., Lerner, U., Fishbain, B., Bartonova, A.,
dust bath unit as an example. Biosyst. Eng. 145, 76–92.
2017. Can commercial low-cost sensor platforms contribute to air quality monitoring
Winkel, A., Mosquera, J., Aarnink, A.J., Koerkamp, P.W.G., Ogink, N.W., 2015.
and exposure estimates? Environ. Int. 99, 293–302.
Evaluation of a dry filter and an electrostatic precipitator for exhaust air cleaning at
Costa, A., 2017. Ammonia concentrations and emissions from finishing pigs reared in
commercial non-cage laying hen houses. Biosyst. Eng. 129, 212–225.
different growing rooms. J. Environ. Qual. 46 (2), 255–260.
Zambon, I., Cecchini, M., Egidi, G., Saporito, M.G., Colantoni, A., 2019. Revolution 4.0:
Gomes, D.A., Bianchini, D., 2016. Interconnecting wireless sensor networks with the in-
Industry vs. agriculture in a future development for SMEs. Processes 7 (1), 1–16.
ternet using web services. IEEE América Latina 14 (4), 1937–1942.