Once the ATMEGA 16A microcontroller is turned on, it initializes the LCD using the user-defined library ‘lcdlib’ and
also pins 33-40 function as a 10 bit analog to digital converter using the library ‘adc10bit’. The LCD is initialized so as to
display the internal and external temperature in its two rows with the accuracy of two decimal places. The LM 35
temperature sensors, one placed near the egg and the other external to the incubator, are given the proper supply and the
middle pin of the LM35 ic returns the voltage equivalent of the temperature to the adc. The adc converts the voltage from
the two LM35 ics (10mV = 1°C) and displays both the egg and external temperature on the LCD.