Egg Incubator

Adruino-controlled incubator for chicken eggs or other stuff.

Apr 3, 2018

87709 views

40 respects

Components and supplies

1

IRFZ44N MOSFET

1

Linear Regulator (7805)

1

DHT22 Temperature Sensor

1

12cm 12V PC fan

1

LCD shield

1

Servos (Tower Pro MG996R)

1

styrofoam box

1

12V power supply

1

Arduino UNO

1

Kathal wire (for styrofoam cutting)

Project description

Code

Github repo

code, schematic, pictures, ...

Github repo

code, schematic, pictures, ...

Downloadable files

schematic

schematic

Comments

Only logged in users can leave comments

roald30

a year ago

I've been looking for a incubator to build and saw this, checked it out, and see that I need a load of stuff to build it. I made a simpler one without a turning function as I do it myself and I won't need it for reptile eggs. Here is my code for the ones trying to build one that's simpler: I have hatched chicken eggs with this setup so I know it works. The light is not the best option but this is made with everything I already had. #include <LiquidCrystal.h> int rs=12, en=11, d4=5, d5=4, d6=3, d7=2; LiquidCrystal lcd(rs,en,d4,d5,d6,d7); #include <DHT.h> DHT dht(6,DHT11); int relayPin=7; int Fan=8; float tempc; float humid; void setup() { dht.begin(); lcd.begin(16,2); Serial.begin(9600); pinMode(relayPin,OUTPUT); pinMode(Fan,OUTPUT); } void loop() { tempc =dht.readTemperature(); humid =dht.readHumidity(); Serial.println(tempc); Serial.println(humid); lcd.setCursor(0,0); lcd.print("Temp: C"); lcd.setCursor(6,0); lcd.print(tempc); lcd.setCursor(10,0); lcd.print("Hum: %"); lcd.setCursor(13,0); lcd.print(humid); if (tempc>37.8) { digitalWrite(relayPin,LOW); lcd.setCursor(0,1); lcd.print("Light:OFF "); } if (tempc<36){ digitalWrite(relayPin,HIGH); lcd.setCursor(0,1); lcd.print("Light:On "); if (humid>50) { digitalWrite(Fan,HIGH); lcd.setCursor(0,10); lcd.print("Fan:On "); } if (humid<45){ digitalWrite(Fan,LOW); lcd.setCursor(0,10); lcd.print("Fan:OFF "); } delay(500); } }

Anonymous user

2 years ago

Hey how i can add timer for turn eggs every 3 hours and stops with 2 limit switch can u help me

Anonymous user

2 years ago

I used above code but showing F ALARM! from starting and also FAN port is not on, should I need to use setting from kaypad ?

Anonymous user

2 years ago

Good project if you add a turning incubator dont worh without turning

Anonymous user

2 years ago

HI, I Tried to make this project. While uploading the code , I got a error message In file included from C:\\Users\\Dell\\Desktop\\MY PROJECTS\\INCUBATOR\\2\\quantenschaum-egg-incubator-1c7714c\\incubator\\incubator.ino:5:0: C:\\Users\\Dell\\Documents\\Arduino\\libraries\\SoftwareServo/SoftwareServo.h:4:10: fatal error: WProgram.h: No such file or directory #include <WProgram.h> ^~~~~~~~~~~~ compilation terminated. exit status 1 Error compiling for board Arduino Uno. Please help me

Tmaster

2 years ago

go to arduino library and open SoftwareServo.h with notepad. now replace #include <WProgram.h> by #include <Arduino.h>.save and done

Anonymous user

2 years ago

How can I upload the device code to the Arduino board at the link below?https://irenx.ir/arduino/upload-an-arduino-project/

Anonymous user

2 years ago

Hi, any help there would be welcome. I have exactly these component, I sent the code too, but the display is empty. There is light in it, but it does not give something. The motor seems to turn (well, I would need to tune it), the ventilator is turning, the wire is hot, so, all seems ok ... but the display is not displaying anything ... Only thing I did not mount is the buzzer. Could you help? Thanks Julien

strupf

2 years ago

Hi Julien, i'm also trying to rebuild this project. I send you my Code below. I started from scratch, since i'm new to programming and I didn't understand the code. May be this is helpful to you. I use a dht11, a simple display (16x2) and a buzzer. It the temperature is not within the desired range the buzzer goes off (very low volume however). [code] // used libraries: #include <LiquidCrystal.h> #include "DHT.h" #include <Adafruit_Sensor.h> // input from DHT11: PIN8 #define DHTPIN 8 // initialize the library with the numbers of the interface pins LiquidCrystal lcd(12, 11, 5, 4, 3, 2); #define DHTTYPE DHT11 DHT dht(DHTPIN, DHTTYPE); // initialize the buzzer: PIN10 int speakerPin = 10; int length = 1; void setup() { // set up the LCD's number of columns and rows: lcd.begin(16, 2); dht.begin(); // Print a message to the LCD. Luft-F is german for humidity. lcd.print("Temp: Luft-F:"); } void loop() { pinMode(speakerPin, OUTPUT); delay(500); // set the cursor to column 0, line 1 // (note: line 1 is the second row, since counting begins with 0): lcd.setCursor(0, 1); // read humidity float h = dht.readHumidity(); //read temperature in Celsius float c = dht.readTemperature(); if (isnan(h) || isnan(c)) { lcd.print("ERROR"); return; } lcd.print(c); lcd.setCursor(7,1); lcd.print(h); // i set the desired temp for testing purposes to 20-25 if (c<= 20) { digitalWrite(speakerPin, HIGH); delay (1000); digitalWrite(speakerPin, LOW); } if (c>= 25) { digitalWrite(speakerPin, HIGH); delay (1000); digitalWrite(speakerPin, LOW); } } [/code]

Anonymous user

2 years ago

Interesting code, could you share it on github, you can do a fork from: https://github.com/quantenschaum/egg-incubator, so we can check it out, thanks for sharing

Anonymous user

2 years ago

You are doing a beautiful project, God bless you,!! I would to have same setup of the aduino to carry out the same and possibly make improvements to it. How can I get buy the aduino to Ghana. Thank you

leulmerid233

2 years ago

Hi only have relay, dht 11, arduino uno r3 and 1602 lcd i2c first project source code compatible

Anonymous user

2 years ago

Dear Sir Kindly Help me with my Quoreis, Doubts and Request for the same Project which i am making out of the Given Project files Exactly as such,As I am newer to Arduinoe so,Can you please share additional Schmatics and the completed Connections of wires for this Project Files of the given Schematic I have bought all the Above Materials,But I am a beginner here,I am not able to find out Some of the connections.Also I have few Doubts,I am listing it here Doubts : 1)Can i replace the DHT22(Sensor Only) with the complete Senor Module(Which Contains 3 pins Instead of 4 Pins,If so what will be the connections be like (or) Please say the connection for this also) 2)Where(Front or Back of LCD Circuit) and How should I be Soldering the wires for the LCD Module or shield(I have the complete LCD+shield Already Soldered and Readily Bought. 3)How and with Which(Like,Should I be using the Adpaters which if any available) provide these Junction,Splits or connections given for The components,LCD and Arduino(Mainly the 5V and GndpD Connections connections made for the GND DHT22,Buzzer and the 5V DHT22 and LCD and also the Fan-Servo-5V Connecting. 4)How do i split or make these Joints as in the Schematic Files uploaded hearin by you sir(How do i Share or split the 12V Power supplies for the Kanthal Heating Resistor,5V Regulator i.e 7805 and the Arduino Power supply) 5)The Buzzer is not listed in the Materials required Column,Should I be using it in mine? 6) I have Compiled and Uploaded and Verified the Code(Just Connecting my Arduino to my PC with the Programming Cable,Without connecting the Components like the Kathal wires,Voltage regulator, Lcd Shield,Servo,Fan and the Buzzers)for this Project as such and I Am getting this message: Sketch Uses 12310 bytes (38%) of program storage space,Maximum is 32256 bytes. Global Variables use 508 bytes (24%) of dynamic memory, leaving 1540 bytes of local Variables .Maximum is 2040 bytes. So, Is this Task Successful I.e has my Arduino uploaded the Sketches and Now if I make the Connection As given,Willl it work,I am just now setting it up. 7)If I reset ,is the uploaded and Verified program lost I.e is it deleted? Can i Upload the same program multiple times on the same Arduino Board which I am using? Thanks a lot in Advanced for the Replies

Anonymous user

2 years ago

why this error happend (Windows 7), :"Arduino Internal 8MHZ, ATmega328" Using library SoftwareServo in folder: E:\\Arduino\\libraries\\SoftwareServo (legacy) Using library LiquidCrystal in folder: C:\\Users\\mohamad\\Documents\\Arduino\\libraries\\LiquidCrystal Using library EEPROM in folder: E:\\Arduino\\hardware\\arduino\\avr\\libraries\\EEPROM E:\\Arduino\\hardware\ ools\\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10603 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IE:\\Arduino\\hardware\\arduino\\avr\\cores\\arduino -IE:\\Arduino\\hardware\\arduino\\avr\\variants\\standard -IE:\\Arduino\\libraries\\SoftwareServo -IC:\\Users\\mohamad\\Documents\\Arduino\\libraries\\LiquidCrystal\\src -IE:\\Arduino\\hardware\\arduino\\avr\\libraries\\EEPROM C:\\Users\\mohamad\\AppData\\Local\\Temp\\build6401966533786831622.tmp\\incubator.cpp -o C:\\Users\\mohamad\\AppData\\Local\\Temp\\build6401966533786831622.tmp\\incubator.cpp.o incubator.ino:4:17: fatal error: DHT.h: No such file or directory compilation terminated. Multiple libraries were found for "LiquidCrystal.h" Used: C:\\Users\\mohamad\\Documents\\Arduino\\libraries\\LiquidCrystal Not used: E:\\Arduino\\libraries\\LiquidCrystal

Anonymous user

2 years ago

check the libraries, you should clean from your user folder, and start a new fresh installation from arduino, :)

Anonymous user

2 years ago

Good evening so the code I can not compile? C:\\Users\\fetah\\OneDrive\\Bureau\\04.03.2018\\Example des motor couveuse\\quantenschaum-egg-incubator-c4872fd\\quantenschaum-egg-incubator-c4872fd\\incubator\\incubator.ino:2:27: fatal error: SoftwareServo.h: No such file or directory #include <SoftwareServo.h> ^ compilation terminated. exit status 1 Erreur de compilation pour la carte Arduino/Genuino Uno

Anonymous user

2 years ago

solved it: https://drive.google.com/file/d/0B6s_UhmkBLQfVTVQWEh6aS1yb0E/view?usp=sharing

Anonymous user

2 years ago

did you solved it?

Anonymous user

2 years ago

I experienced it too

Anonymous user

2 years ago

I encountered that too what should I do with that

Anonymous user

2 years ago

Good project if you add a turning mechanism to help turn the eggs 45° at intervals to avoid the embryo from sticking to one side of the shell. Good luck

Anonymous user

2 years ago

هل ممكن مساعدتي في ان احصل على فيديو توضيحي

Anonymous user

2 years ago

Hey, I makin an Incubator, but I have some doubts, how I can switch the Mosfet and put a relay?

Anonymous user

2 years ago

ممكن فيديو توضيحي للمشروع هاذ

Anonymous user

3 years ago

HI, I Tried to make this project. While uploading the code , I got a error message In file included from C:\\Users\\Dell\\Desktop\\MY PROJECTS\\INCUBATOR\\2\\quantenschaum-egg-incubator-1c7714c\\incubator\\incubator.ino:5:0: C:\\Users\\Dell\\Documents\\Arduino\\libraries\\SoftwareServo/SoftwareServo.h:4:10: fatal error: WProgram.h: No such file or directory #include <WProgram.h> ^~~~~~~~~~~~ compilation terminated. exit status 1 Error compiling for board Arduino Uno. Please help me

Anonymous user

3 years ago

How can I upload the device code to the Arduino board at the link below?https://irenx.ir/arduino/upload-an-arduino-project/

Anonymous user

3 years ago

You are doing a beautiful project, God bless you,!! I would to have same setup of the aduino to carry out the same and possibly make improvements to it. How can I get buy the aduino to Ghana. Thank you

Anonymous user

4 years ago

Good project if you add a turning incubator dont worh without turning

Anonymous user

4 years ago

هل يمكنني ان احصل على فيديو توضيحي للمشروع هاذ

Anonymous user

4 years ago

ممكن فيديو توضيحي للمشروع هاذ

Anonymous user

4 years ago

Dear Sir Kindly Help me with my Quoreis, Doubts and Request for the same Project which i am making out of the Given Project files Exactly as such,As I am newer to Arduinoe so,Can you please share additional Schmatics and the completed Connections of wires for this Project Files of the given Schematic I have bought all the Above Materials,But I am a beginner here,I am not able to find out Some of the connections.Also I have few Doubts,I am listing it here Doubts : 1)Can i replace the DHT22(Sensor Only) with the complete Senor Module(Which Contains 3 pins Instead of 4 Pins,If so what will be the connections be like (or) Please say the connection for this also) 2)Where(Front or Back of LCD Circuit) and How should I be Soldering the wires for the LCD Module or shield(I have the complete LCD+shield Already Soldered and Readily Bought. 3)How and with Which(Like,Should I be using the Adpaters which if any available) provide these Junction,Splits or connections given for The components,LCD and Arduino(Mainly the 5V and GndpD Connections connections made for the GND DHT22,Buzzer and the 5V DHT22 and LCD and also the Fan-Servo-5V Connecting. 4)How do i split or make these Joints as in the Schematic Files uploaded hearin by you sir(How do i Share or split the 12V Power supplies for the Kanthal Heating Resistor,5V Regulator i.e 7805 and the Arduino Power supply) 5)The Buzzer is not listed in the Materials required Column,Should I be using it in mine? 6) I have Compiled and Uploaded and Verified the Code(Just Connecting my Arduino to my PC with the Programming Cable,Without connecting the Components like the Kathal wires,Voltage regulator, Lcd Shield,Servo,Fan and the Buzzers)for this Project as such and I Am getting this message: Sketch Uses 12310 bytes (38%) of program storage space,Maximum is 32256 bytes. Global Variables use 508 bytes (24%) of dynamic memory, leaving 1540 bytes of local Variables .Maximum is 2040 bytes. So, Is this Task Successful I.e has my Arduino uploaded the Sketches and Now if I make the Connection As given,Willl it work,I am just now setting it up. 7)If I reset ,is the uploaded and Verified program lost I.e is it deleted? Can i Upload the same program multiple times on the same Arduino Board which I am using? Thanks a lot in Advanced for the Replies

Anonymous user

4 years ago

I used above code but showing F ALARM! from starting and also FAN port is not on, should I need to use setting from kaypad ?

Anonymous user

5 years ago

why this error happend (Windows 7), :"Arduino Internal 8MHZ, ATmega328" Using library SoftwareServo in folder: E:\\Arduino\\libraries\\SoftwareServo (legacy) Using library LiquidCrystal in folder: C:\\Users\\mohamad\\Documents\\Arduino\\libraries\\LiquidCrystal Using library EEPROM in folder: E:\\Arduino\\hardware\\arduino\\avr\\libraries\\EEPROM E:\\Arduino\\hardware\ ools\\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10603 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IE:\\Arduino\\hardware\\arduino\\avr\\cores\\arduino -IE:\\Arduino\\hardware\\arduino\\avr\\variants\\standard -IE:\\Arduino\\libraries\\SoftwareServo -IC:\\Users\\mohamad\\Documents\\Arduino\\libraries\\LiquidCrystal\\src -IE:\\Arduino\\hardware\\arduino\\avr\\libraries\\EEPROM C:\\Users\\mohamad\\AppData\\Local\\Temp\\build6401966533786831622.tmp\\incubator.cpp -o C:\\Users\\mohamad\\AppData\\Local\\Temp\\build6401966533786831622.tmp\\incubator.cpp.o incubator.ino:4:17: fatal error: DHT.h: No such file or directory compilation terminated. Multiple libraries were found for "LiquidCrystal.h" Used: C:\\Users\\mohamad\\Documents\\Arduino\\libraries\\LiquidCrystal Not used: E:\\Arduino\\libraries\\LiquidCrystal

Anonymous user

2 years ago

check the libraries, you should clean from your user folder, and start a new fresh installation from arduino, :)

Anonymous user

5 years ago

Hi, any help there would be welcome. I have exactly these component, I sent the code too, but the display is empty. There is light in it, but it does not give something. The motor seems to turn (well, I would need to tune it), the ventilator is turning, the wire is hot, so, all seems ok ... but the display is not displaying anything ... Only thing I did not mount is the buzzer. Could you help? Thanks Julien

strupf

2 years ago

Hi Julien, i'm also trying to rebuild this project. I send you my Code below. I started from scratch, since i'm new to programming and I didn't understand the code. May be this is helpful to you. I use a dht11, a simple display (16x2) and a buzzer. It the temperature is not within the desired range the buzzer goes off (very low volume however). [code] // used libraries: #include <LiquidCrystal.h> #include "DHT.h" #include <Adafruit_Sensor.h> // input from DHT11: PIN8 #define DHTPIN 8 // initialize the library with the numbers of the interface pins LiquidCrystal lcd(12, 11, 5, 4, 3, 2); #define DHTTYPE DHT11 DHT dht(DHTPIN, DHTTYPE); // initialize the buzzer: PIN10 int speakerPin = 10; int length = 1; void setup() { // set up the LCD's number of columns and rows: lcd.begin(16, 2); dht.begin(); // Print a message to the LCD. Luft-F is german for humidity. lcd.print("Temp: Luft-F:"); } void loop() { pinMode(speakerPin, OUTPUT); delay(500); // set the cursor to column 0, line 1 // (note: line 1 is the second row, since counting begins with 0): lcd.setCursor(0, 1); // read humidity float h = dht.readHumidity(); //read temperature in Celsius float c = dht.readTemperature(); if (isnan(h) || isnan(c)) { lcd.print("ERROR"); return; } lcd.print(c); lcd.setCursor(7,1); lcd.print(h); // i set the desired temp for testing purposes to 20-25 if (c<= 20) { digitalWrite(speakerPin, HIGH); delay (1000); digitalWrite(speakerPin, LOW); } if (c>= 25) { digitalWrite(speakerPin, HIGH); delay (1000); digitalWrite(speakerPin, LOW); } } [/code]

Anonymous user

2 years ago

Interesting code, could you share it on github, you can do a fork from: https://github.com/quantenschaum/egg-incubator, so we can check it out, thanks for sharing

Anonymous user

5 years ago

Hey how i can add timer for turn eggs every 3 hours and stops with 2 limit switch can u help me

fetah71

6 years ago

Good evening so the code I can not compile? C:\\Users\\fetah\\OneDrive\\Bureau\\04.03.2018\\Example des motor couveuse\\quantenschaum-egg-incubator-c4872fd\\quantenschaum-egg-incubator-c4872fd\\incubator\\incubator.ino:2:27: fatal error: SoftwareServo.h: No such file or directory #include <SoftwareServo.h> ^ compilation terminated. exit status 1 Erreur de compilation pour la carte Arduino/Genuino Uno

Anonymous user

2 years ago

solved it: https://drive.google.com/file/d/0B6s_UhmkBLQfVTVQWEh6aS1yb0E/view?usp=sharing

Anonymous user

2 years ago

I experienced it too

Anonymous user

2 years ago

I encountered that too what should I do with that

Anonymous user

2 years ago

did you solved it?

Otabor

6 years ago

Good project if you add a turning mechanism to help turn the eggs 45° at intervals to avoid the embryo from sticking to one side of the shell. Good luck

Anonymous user

2 years ago

هل ممكن مساعدتي في ان احصل على فيديو توضيحي

luiz_vieira

6 years ago

Hey, I makin an Incubator, but I have some doubts, how I can switch the Mosfet and put a relay?