The Arduino Chicken Incubator

About: A recent graduate of Strayer University now holding a Bachelor's in Computer Science and Information Systems . I am currently looking for something in the field of computer science. Meanwhile my second inter...

A Little story.

Back in 1995 while in high school, I did the most famous science project of my life. I built a chicken incubator out of a cardboard box with a pane of glass to see, a light and a thermometer. It is by today's standards a bare bones incubator and I didn't succeed in hatching anything but it has never been succeeded.

Flash forward to 2013 after getting a Masters in Computer Science and Information Systems about 3 years after discovering Arduino. I thought about that old project I did and after years of wanting to duplicate it again. I decided to do it. However unlike 1995, I wanted to apply what I learned about using an arduino to the new chicken incubator. It is going to be a self-regulating life support system that will cool down automatically when the temperature gets too hot.

Step 1: Found Box

Luckily I found this box in an alley in the summer of 2013 and after a long wait, I painted it red and put a light inside it. I won't tell you how to make your own containment. You can decide what containment you want.

Step 2: Installing the Light

Here's where I install the heart of the device, the Lightbulb, recommend a standard 60 watt bulb

Step 3: It's Alive

Step 4: Incubator Self Regulation

Chicken eggs need a temperature between 23C and 25c (99F to 101F) and humidity of 90% to properly incubate. I used an arduino to control the incubator's self regulation. A DHT22 sensor detects temperature/humidity and sends it to the arduino to display it on the LCD.

Step 5: The Fan and the Relay

The fan is ripped from an old power supply and used to blow out hot air. It's connected to a 12v source switched by a relay on D7 on the arduino.

Step 6: How to Make Your Own Self Regulation System for Your Chicken Incubator

A list of the part I've used

Arduino UNO
Breadboard or any circuit rail
DHT22 Sensor
A fan( preferably a PC fan, If you want to use a heavy duty fan, you can do so. I just don't know the best way to split 120v 2 amps through the relay)

I've included the schematics

Step 7: The Program



    • Sew Tough Challenge

      Sew Tough Challenge
    • Stone Concrete and Cement Contest

      Stone Concrete and Cement Contest
    • Sensors Contest

      Sensors Contest

    25 Discussions


    5 years ago on Introduction

    Ditto man... please upload the code or provide URL to it. That's a key part of this and I'm hoping to build one of these once my DHT22 arrives next week! :)

    6 replies

    Reply 5 years ago on Introduction

    After not hearing anything from DHTArduinoNerd, I decided to write my own code for the incubator. I've commited the code up on a new SourceForge project here:

    I'll add more info to the project which details the schematic, but the code is pretty well documented and anyone familiar with Arduino should be able to pretty easily be able to build the Incubator from that code... or you can always contact me if you have specific questions. :)


    Reply 11 months ago

    You have to get the right DHT library installed in Arduino IDE


    Reply 5 years ago on Introduction

    i have made 95% of code, now i must be create a mode for stop servo the last 2 day

    2014-06-05 17.55.49.jpg2014-06-13 17.57.59.jpg2014-06-11 20.46.30.jpg2014-06-11 20.46.26.jpg

    Reply 5 years ago on Introduction

    I ended up tracking the days just using the internal oscilator. It's not as accurate so you lose a few seconds a day, but for the purposes of the project that's "close enough" for turning the eggs and knowing when to stop. I have two buttons which allow me to change settings on the system once started, or in case of a power failure so you can increment the day count and set the hour/minutes. It's working really well. I've tested the heck out of the code and think that parts ready to go. I'm working on converting my solderless board into a Fritzing sketch and PCB design... and hope to have that up in the next month or so. If you want to take a look at my code for how I implemented it, or contribute, feel free to take a gander at:


    Reply 5 years ago on Introduction

    Hi dear.. if you please my I have a look on your code for the project of "The Arduino Chicken Incubator"... really I love to take an idea about it.. I'll be thankful if you send it to my email

    Thanks & Best Regards


    5 years ago on Introduction

    I currently make a new systeme with auto rotation for egg, actualy i have make like 65% of the arduino code :), when i finish i make a tutorial :)

    2014-06-04 08.47.07.jpg2014-06-03 20.41.09.jpg2014-06-03 17.35.40.jpg2014-05-26 19.26.25.jpg2014-05-26 19.04.54.jpg2014-05-26 19.04.45.jpg
    3 replies

    Reply 1 year ago

    Good day sir. Where's the tutorial for this system?


    Reply 2 years ago

    where can i found those egg tray


    Reply 4 years ago on Introduction

    hi viskor,

    could you please provide me with the arduino code.??

    the code at does not compile see the image attached



    Screenshot from 2015-07-05 14:45:47.png

    1 year ago

    nice, only thing is you got the temp wrong

    Doing the same project for my final year project but am only adding some new functionality.

    It could be able to send the tempreture and humidity on the android mobile phone. Gonna develop a mobile app for it.


    4 years ago on Introduction

    I really like your project, I've been looking around for something like this.
    I do have to say though seems your control method is opposite how most incubators work.
    The heat source should be switched and the Fan should run continuous but only circulating the heat not venting.
    I do like the thought of over temp control though.
    Down the comments someone has worked out a turner control... could you mesh that into your program?
    Would be super if you could also wire in a couple push buttons to adjust temp setting.
    I have no Idea as I'm Aurduino Challenged...
    But something that operates with the above features would make a great Incubator.

    2 replies

    Actually I've thought of how to do that but I couldn't think of any way. Could you instruct me on electrical wiring configuration to make that happen.

    Guys, I have not gone AWOL. I live a busy life. I have fixed the link above, you can access the code there. Sorry I didn't respond quickly.