dht.readTemperature(true) reads the temperature in degrees F. So you need to make it dht.readTemperature(). Then just use t instead of f in the print statement as you have it. The code will turn the stepper every minute. So it is normal that you see the stepper continue to turn every minute...
The code is set to turn every 15 minutes by this line: ic= im % 15;
so nothing will happen for 15 minutes. you can try to set the line to ic= im % 1; and it should turn every minute.
there is no button to get the process going.
...#define STEPS_PER_MOTOR_REVOLUTION 32 //define the number of steps per motor revolution
// #define STEPS_PER_OUTPUT_REVOLUTION 32 * 64
#define STEPS_PER_OUTPUT_REVOLUTION 8 * 64 //define the number of steps to take each time the code loops...
float t = dht.readTemperature(); // Read temperature in C
float f = dht.readTemperature(true); // Read temperature in F
Notice all you have to do is delete "true" when you read the temperature from the sensor. Then just change the "F" to a "C" when you print it on the...
I tried to do one with a servo motor I had laying around from an RC project but the servo did not have enough torque. I looked to buy a motor used for an egg turner, but they are about $19 plus other parts I would have to buy put me up around $35 . Easier to buy one already built for $40. I...
I had one dht22 that did not work well. I bought several of them so I just replaced it and the new one has worked well. Did you hook up a resistor between the power and the data line in the dht22? 5kohm to 10 kohm should work.
Update- My first hatch did not go well.
The incubator maintained the temperature quite well, but I did not realize that the bulb I used was putting out a lot of infra-red heat and the eggs actually got much hotter than the air temperature so I managed to over heat them and they did not...
The mini humidifier should work well. I just saw some that screw on to the top of a water bottle and powered by USB. Could probably just put the water bottle in without the chamber to simplify The chamber would get rid of the potential of water dropplets.
you could use a very small cool mist humidifier and a relay to turn it on and off. The one thing that is challenging is the lag in sensing. The sensor I have takes around 2 seconds to update and that can be a long time in a small space like in my incubator.
This is the inside. You can see the insulation. In the lower middle you can see the temperature and humidity gauge. The black thing on the lower right is the computer fan (it is right next to a vent hole. The 50W reptile heat lamp is obviously the glowing red thing. I also put in a container...
...d1 = h1 / 24;
id = int(d1); // Strip out remainder to leave Days:Hours:Minutes:Seconds
ih = int((d1 - int(d1)) * 24);
im = int((h1 - int(h1)) * 60);
is = int((m1 - int(m1)) * 60);
// Calculate approximate days till hatch (assume 21 days to hatch)
ida...
Update on the relay - without the 110V switching, the relay I picked initially (show in picture) worked fine. Once I plugged in the 110V with the light to use as a heat source, my LCD kept browning out (display goes blank). After a little research I found that the relay will 1) use too much...
That might be worth thinking about. I have the prox sensors. would need to figure out the gearing. Not sure where to buy the gears. I have a few Helicopter motors that should be strong enough.
Impressive machine! Well done! That is way too many eggs for me to hatch!
I am shooting for a bit smaller machine to hatch maybe 12 eggs and keep it inexpensive. I don't have enough room in my back yard and city ordinance will not allow for more than 15 chickens (already have 7). I am...
...d1 = h1 / 24;
id = int(d1); // Strip out remainder to leave Days:Hours:Minutes:Seconds
ih = int((d1 - int(d1)) * 24);
im = int((h1 - int(h1)) * 60);
is = int((m1 - int(m1)) * 60);
// Calculate approximate days till hatch (assume 21 days to hatch)
ida...