Design and Construction of An Arduino Microcontrol
Design and Construction of An Arduino Microcontrol
net/publication/317614443
CITATIONS READS
3 7,247
2 authors:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Frimpong Kyeremeh on 04 July 2017.
15
International Journal of Computer Applications (0975 – 8887)
Volume 168 – No.1, June 2017
Figure 2. Cross section of the incubator showing the heat and air flow directions [12]
16
International Journal of Computer Applications (0975 – 8887)
Volume 168 – No.1, June 2017
17
International Journal of Computer Applications (0975 – 8887)
Volume 168 – No.1, June 2017
The environment is modelled as a heat sink with infinity heat If the change in temperature [ in the incubator from
capacity and time varying temperature Tout. Since the initial time (t0) to a time (t) is modelled as
incubator is kept in a room, the average ambient temperature
is considered to be 25°C. The ambient temperature enables us - (6)
to determine the heat losses to environment. These heat losses
and the temperature time derivative are expressed in equation
(5) Where, = heat input from the heat source and
.
The constant C is the thermal capacitance of the incubator. 3.4 Egg Tray Turning Mechanism
We assume the thermal gradient in the incubator is very small Research have shown that the position of the eggs and their
as such (8) could be used without dividing the incubator into rotation influence the loss of water during the incubation, as
cells and C is considered as a whole. well as the eclsion percentage [15]. For the rotation, the result
of the presented study shows that it is more favourable to
3.3.2 Heater parameters rotate the eggs at an angle of 180º. This rotation is necessary
In this work, we explored the inefficiency of the incandescent to avoid the attachment of the embryo to the egg shell and
lamp to our advantage. It is estimated that a 100-watt bulb is also to reduce the death rate during the incubation [15].
about 10% efficient for light production [14]. In other words,
it produces light with 10 watts of power and 90 watts is In this project, the sixteen trays are spaced 3cm apart and each
converted to heat. So, the main source of heat are four 100- is pivoted to a rectangular frame (like louver of windows)
watt tungsten incandescent bulbs. which is bolted to the incubator cabinet. A connecting bar
couples the tray stands and a DC motor through a gear. As the
3.3.3 Heat, Temperature and Humidity control motor turns the gear, then, the tray stands move up or down
like a see-saw. The turning is specifically done at the gear side.
The 4 -100w incandescent lamps are well arranged to
The gear is circular, so turning 180° means up and another
maintain the required temperature in the incubator within the
180°means down. The DC motor is actuated by signal from
set range. Extractor fans placed on the lamps pick heat from
the Arduino Microcontroller every three hours to
the bulbs and uniformly distribute it by directing the heat to
automatically rotates the trays through an angle of 15 degrees
the walls so that the heat is evenly distributed from the wall.
which cause the eggs to turn 180 degrees.
The inside temperature is monitored continuously by the
temperature sensor (DHT22). This sensor sends feedback 3.5 Programming Arduino microcontroller
signal to the Arduino microcontroller as shown in Figure 3.
Selection of sensor DHT 22 and controller (Arduino) was one
The Arduino actuates the relays for the heaters based on the
of the key to this incubator, even though many of such are
information obtained from the sensor to control the ON and
available, the Arduino is easy to program and functionalities
OFF states of the heat sources (Lamps). If the sensed
that makes it easy for automated control. Programming
temperature is less than 37.5oC the controller issues ON signal
Arduino microcontroller as an incubator controller employs
to bring in more heat. But if the sensed temperature is greater
special header files in its coding, such as DHT22 header and
or equal to 37.8oC then the controller issues OFF signal to
LCD header.
switch off the heat sources.
18
International Journal of Computer Applications (0975 – 8887)
Volume 168 – No.1, June 2017
The Arduino microcontroller programming requires programming process involved the programming the LCD, the
knowledge in Arduino programming language (based on DHT22 sensor and the control logic on the microcontroller.
wiring), and the Arduino Software (IDE) [16], programming The flow chart for the program is depicted in Figure 4.
which is similar to C language, has its own compiler, easy for
beginners use, yet flexible enough for advanced users. The
3.5 System Circuit and connections blower fans and switching the gear motor for operating the
The relay circuit consists of four relays each rated 6V, 10A; tray turning mechanism respectively. The connection between
four 100Ω resistors; four 802 Ω resistors; and four IN4001 the various elements making the circuit is shown in Figure 5.
diodes. All of them were wired on a PC board. The relays are The diode rectifier circuit which takes its source from the
triggered using a 2N2222 n-p-n transistor actuated by the secondary of the stepdown transformer, serves as a DC supply
control signal from the Arduino microcontroller. Two relays for the microcontroller. The circuit was simulated and tested
are used for switching two of incandescent lamps to a 240 V with a software called ‘Circuit Maker’ as shown in Figure 6,
supply, while the other two relays are for controlling the before real time implementation.
19
International Journal of Computer Applications (0975 – 8887)
Volume 168 – No.1, June 2017
4. RESULTS AND DISCUSSION used to successfully hatch 3000 Quail chicks at 94%
hatchability rate, which is an improved efficiency over those
Figureure 7, shows the designed incubator with the
reported in [5] and [17] which achieved hatchability rates of
temperature and humidity display and other parts. It has been
82.6% and 33% respectively.
Figure. 7: A Picture of the incubator: Top part- showing the temperature and humidity readings. Below – the tray racks,
incandescent lamp and other components inside the incubator
20
International Journal of Computer Applications (0975 – 8887)
Volume 168 – No.1, June 2017
During the testing period, the system was monitored for a 24- incubator varied between 53% and 70%, also an indication
hour period, recoding the temperature and the humidity levels that the designed incubator is able to maintain the averaged
in the incubator as displayed by the LCD screen, every two relative humidity required for successful hatching.
hours. This was to enable the determination of the rate of heat
rise from the initial incubator temperature to the steady state Also, for observed period, the duty cycle of the heater was
temperature of 37.5°C. It was also to determine the correlation 0.25 (25%). That is the heaters were in the ON state for only
between ambient temperature and humidity levels and the that 25% of the observation period, which goes to confirm that the
of the incubator. incubator has a good thermal capacity and also energy
efficient.
Finally, the monitoring enabled us to determine the duty cycle
of the heaters in order to ascertain the power consumption of Effective turning mechanism made from metal (flat iron,
the incubator. Figure 8 shows the correlation between the angle iron and square pipe) and a gear coupled to a wiper
ambient temperature and motor and tray stands helps turning the eggs every three hours.
This prevents the embryo from sticking to the shell and this
that of incubator, while Figureure 9 is a plot of relation avoids chick mortality.
between ambient humidity and that of the incubator.
5. CONCLUSION
Firstly, it could be observed from the temperature graph that
A 14000 quail eggs (4500 chicken egg equivalent) capacity
the temperature in the incubator increased from the initial of
incubator based on Arduino microcontroller is designed and
30.5°C to 37.1°C in the first 2-hours. After this there was not
constructed in this paper. The precise values of temperature
much variation in the incubating temperature from the set
and humidity in the incubator at any point in time are
point value (37.5°C). Even though the ambient temperature
displayed on the 16 X 2 LCD screen. With the working of the
over the 24-hour period varied between a minimum of 24°C
four relays and control of the incandescent lamp, fans and
and a maximum of 34°C, the incubator inner temperature
turning mechanism an energy efficient incubator has been
remained relatively constant, after the first 2-hours varying
designed and fully implemented
between 37.1°C and 38.1°C. This is an indication that heat
lost by conduction through the walls of the incubator is In the future, we envisage the addition of an internet of Things
minimal. (IoT) system to enable the monitoring and control of the
whole system on a 4G cell phone. This would enable the
Secondly, the ambient humidity over the testing period was
operator remotely access conditions in the incubator as well as
between 40% and 73% while the internal humidity of the
to shut it down or switch it on through a cell phone.
21
International Journal of Computer Applications (0975 – 8887)
Volume 168 – No.1, June 2017
6. REFERENCES
[1] OECD/FAO, “OECD-FAO Agricultural Outlook 2016- [9] Decuypere, E. & Michels, H., “ Incubation temperature as a
2025 (Spec ial foc us: Sub-Saharan Africa),” OECD management tool: a review.,” World's Poultry Science
Publishing,, Paris, 2016. Journal , vol. 48, p. 28±38. , 1992.
[2] United Nations, “OECD-FAO Agricultural Outlook [10] Jose de Jesus Rubio, Martin Salazar, Raul Lugo, Jaime
2015,” OECD Publishing, Paris, 2015. Pacheco, “Modeling of the Relative Humidity and Control
of the Temperature for a Bird Incubator,” Advances in
[3] United Nations, “The Sustainable Development Goals Computational Intelligence, vol. AISC 61, p. 369–377,
Report,” United Nations, New York, 2016. 2009.
[4] Pankaj Deka, Rupam Borgohain, Luit Moni Barkalita, [11] K. Schmidt-Nielsen, Animal Physiology., New York, NY:
“Design and Evaluation of a Low Cost Domestic Cambridge University Press., 1975..
Incubator for Hatching Japanese Quail Eggs,”
International Journal of Livestock Research (ISSN 2277- [12] L. G. Rakotoarimanana, Z. A. Randriamanantany, F.
1964 ONLINE), vol. 6, no. 1, pp. 92 - 97, 2016. Garde, T. A. Mara, “Building simulation model of an
artificial egg incubator during preheat time,” 2007.
[5] Harb, S. K., Y. A. Habbib, A. M. Kassem, And A. El
Raies, “Energy Consumption For Poultry Egg Incubator [13] Charles M Close, Dean K Fredick, Jonathan C. Newel,
To Suituit Small Farmer,” Egypt Journal for Agricultural Modeling and Analysis of Dynamic Systems, New York:
Research, vol. 88 , no. 1, pp. 193 -210, 2010. John Wiley and Sons, Inc, 2002.
[6] N. A. French, “Modeling Incubation Temperature: The [14] Ezemonye L.I.N, Edeko F.O, Itabor N.A, Olatuji J,
Effects of Incubator Design Embryonic Development, Ogbomida E.T, Emeribe C.N, “Energy Efficient Lighting:
and Egg Size,” Poultry Science , vol. 76, pp. 124 - 133, Luminance Assessments of CFLs and Incandescent Bulbs,”
1997. Journal of Energy Technologies and Policy, vol. Vol.4, no.
No.9, pp. 40 - 46, 2014.
[7] A. Yılmaz, C. Tepeli , M. Garip , and T. Çağlayan, “The
effects of incubation temperature on the sex of Japanese [15] Lucian IONIłĂ, Elena Popescu-Miclosanu, IOAN
quail chicks,” Poultry Science , vol. 90, no. DOI: CUSTURĂ, “A Review of Incubation Parameters in the
10.3382/ps.2011-01471, pp. 2402 - 2406, 2011. Japanese Quail (Coturnix coturnix japonica),” Bulletin
UASVM Animal Science and Biotechnologies, vol. 67,
[8] “Incubation guide,” The Incubator Shop, 2016. [Online]. no. 1-2, pp. 217- 224, 2010.
Available: http://www.theincubatorshop.co.uk/. [Accessed
8 February 2017].
22
International Journal of Computer Applications (0975 – 8887)
Volume 168 – No.1, June 2017
[16] “Getting Started | FOUNDATION > Introduction,” [18] Gregory S. Archer and A. Lee Cartwright, “Incubating and
Arduino AG, January 2017. [Online]. Available: Hatching Eggs,” Texas A&M Agrlife Extension Service, vol.
https://www.arduino.cc/en/Guide/Introduction. EPS 001, no. 7/13, pp. 1-13.
[Accessed 15th January 2017].
[19] MathWorks, “Thermal model of a house,” Mathworks, Inc.
Gbabo Agidi, J.T Liberty, O.N Gunre, G.J Owa, “Design,
[17] http://www.mathworks.com/help/simulink/examples/thermal-
Construction And Performance Evaluation Of An Electric
model-of-a-house.html, 2014.
Powered Egg Incubator,” IJRET: International Journal of
Research in Engineering and Technology, vol. 03, no. 03, pp.
521 - 526, 2014.
IJCATM : www.ijcaonline.org 23