used to indicate if the temperature is within the desired range and if the bulb is on or off. An additional LED is used for fault
detection, in case the temperature goes below 32°C or above 42°C.
Fig. 2 Program Flowchart
The egg turning mechanism is implemented using a user-defined counter in the microcontroller to tilt the egg at
regular intervals. For this pin 21 of port D is used to trigger a relay to switch on the gear motor. Once the gear motor is
turned on it rotates an elliptical pivot on which the egg holder is connected, making it tilt to and fro. This provides sufficientmovement for the egg, to prevent solidification of the yolk. A spring is used to return the holder to its initial position after
the gear motor is turned off.