Skip to content

I developed the Egg Incubator Project using an Arduino to maintain optimal hatching conditions with temperature and humidity control, and periodic egg turning. With a 100% hatch rate, this incubator features a DHT11 sensor, stepper motor for egg turning, LCD display for status, and buzzer alerts for critical conditions.

License

Notifications You must be signed in to change notification settings

Awais-Asghar/Fully-Automated-Egg-Incubator

Repository files navigation

Fully Automated Egg Incubator

Project Status Platform Tool Sensor Actuator Simulation

Abstract

The "Fully Automated Egg Incubator" is a microcontroller-based system designed to regulate temperature, humidity, and periodic egg rotation to ensure optimal hatching conditions. It uses the ATmega328P microcontroller, temperature/humidity sensors, and actuators like a stepper motor and relay to fully automate the incubation process.


Objectives

  • Automatically control and monitor temperature and humidity
  • Periodically rotate the eggs using a stepper motor
  • Display real-time environmental conditions on a 16x2 LCD
  • Alert users via a buzzer in case of abnormal conditions

What Is the Egg Incubation Process?

Egg incubation is the process of maintaining the right environmental conditions—primarily temperature, humidity, and egg turning—to allow an embryo to develop into a chick (or another bird) inside the egg until it hatches.

Key Elements of the Incubation Process

Parameter Ideal Range (for chickens) Purpose
Temperature 37.5°C ± 0.5°C (99.5°F) Supports proper embryonic development
Humidity 50–55% (first 18 days), 65–70% (last 3 days) Prevents dehydration or overhydration; aids in successful hatching
Turning Eggs 3–5 times daily (until day 18) Prevents the embryo from sticking to the shell and ensures even growth
Ventilation Fresh air is crucial Embryo requires oxygen and produces CO₂
Incubation Duration ~21 days for chicken eggs Varies by species (e.g., 28 days for ducks, 17 days for pigeons)

Stages of the Incubation Process

  1. Day 1–7: Embryo Formation

    • Heartbeat begins
    • Circulatory system forms
  2. Day 8–14: Organ Development

    • Beak, feathers, and limbs form
  3. Day 15–18: Final Development

    • Embryo takes up most of the egg space
    • Turning is stopped after Day 18
  4. Day 19–21: Hatching Period

    • Chick moves into hatching position
    • Breaks shell using egg tooth

Image


Traditional Incubator

Image


Features of this incubator

  1. Automatic Egg Rotation

    • Uses a stepper motor to rotate eggs periodically.
    • Simulates natural hen-like rotation to prevent yolk sticking.
  2. Temperature Monitoring and Control

    • Dual temperature sensors:
    • DS18B20 for high-precision temperature readings.
    • DHT11 for basic temperature and humidity data.
    • Controls a heating element via a relay to maintain temperature between 36–40°C.
  3. Humidity Monitoring and Control

    • Monitors humidity using the DHT11 sensor.
    • Activates relay-controlled elements (like water trays or humidifiers) when humidity drops below safe levels (e.g., <60%).
  4. Real-time LCD Display

    • Shows current temperature and humidity.
    • Refreshes every few seconds for up-to-date environmental info.
  5. Alert System (Buzzer)

    • Sounds an alarm if:
    • Temperature goes outside 35–41°C.
    • Humidity falls outside 45–70%.
    • Ensures fast response to critical conditions.
  6. Manual Control Option

    • Includes physical buttons for calibration and hatch mode activation.
    • Allows manual override and user input.
  7. Hatch Mode

    • Switches to adjusted settings during the hatching phase.
    • Modifies humidity threshold and disables egg rotation automatically.
  8. Calibrated Delay Settings

    • Adjustable LCD display refresh and rotation interval via jumper pins.
    • Offers fine-tuning for different egg types.
  9. Simple, Low-Cost Hardware Setup

    • Built around Arduino-compatible ATmega328P.
    • Uses affordable and readily available components.
  10. Real Environment Tested

    • Successfully incubated and hatched a pigeon's egg.
    • Validated under real-world conditions (not just simulated).

Image ---

Components

Image

These connection are just for reference you can change them according to the code.

  • ATmega328p

    Image Image
  • DHT11 Temperature and Humidity Sensor

    Image
  • Stepper Motor and Driver

    Image
  • Liquid Crystal Display (LCD 16x2)

    Image Image
  • DS18B20 Temperature Sensors

    Image
  • Relay Module (for Heat Control)

    Image
  • Buzzer

    Image
  • Buttons for user input

    Image

Methodology

Image

1. System Design

The incubator system is centered around the ATmega328P microcontroller, interfacing with various sensors and actuators:

Image

  • Sensors

    • DHT11: Monitors temperature and humidity
    • DS18B20: Provides accurate temperature readings
  • Actuators

    • Stepper Motor: Periodically rotates eggs
    • Relay Module: Controls the heating element
    • Buzzer: Alerts when environmental conditions are abnormal
  • Display

    • 16x2 LCD: Shows real-time temperature and humidity readings

2. Control Logic (Firmware)

  • Developed using Arduino IDE (C++)
  • Continuously reads sensor values
  • Performs:
    • Heating control via relay
    • Humidity regulation
    • Egg rotation
    • Error alerting using a buzzer
    • LCD updates for user feedback

Image


3. Modes of Operation

  • Normal Mode: Active monitoring and control
  • Hatch Mode: Activated via button; disables rotation and adjusts humidity thresholds
  • Calibration Mode: Allows for setup adjustments and visual feedback

4. Hardware Setup

  • Components connected via breadboard
  • Reliable power supply to run sensors, display, motor, and controller
Component Arduino Pin
DHT11 Pin 13
DS18B20 Pin 2
LCD (rs–d7) Pins 12–6
Stepper Motor Pins 3–5
Relay A1
Buzzer A0
Button A2
Hatch Trigger A3
Delay Jumper Pin 7

Image


5. Testing & Validation

  • System tested using a pigeon egg
  • Environmental conditions were successfully maintained
  • A chick was successfully hatched, validating system functionality

Image Image Image


Results

Demo.Video.mp4

About

I developed the Egg Incubator Project using an Arduino to maintain optimal hatching conditions with temperature and humidity control, and periodic egg turning. With a 100% hatch rate, this incubator features a DHT11 sensor, stepper motor for egg turning, LCD display for status, and buzzer alerts for critical conditions.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages