Well, this project happened because of lazy chicken... That go eat, sometimes to the shopping mall, for a walk, and the eggs lay in the cold, so something had to be done!
So, the purpose of this project is to make possible to reproduce birds (in this case chickens) without the presence of the mother.
I started by building a wooden box, and isolated with silicon, then used the guide to build the power source, drilled some holes to connect the interior to the outside. At this point I had a PSU and a box, needed something to warm the box, an halogen lamp would be perfect, so got a connector and a zinc tube in the hardware store, what happens here is that the lamp warms the tube, and dissipates heat, not burning the box.
Added a computer fan (that can not be seen in the up picture) like the one on the left, that works inside the tube creating an air flow making the temperature equal all over the box. This item is needed to spread the hot-air within the box, otherwise we would have a very hot area near the lamp and a not so hot, (even fresh during winter) area in the more far point from the lamp. The fan is connected to the +12V/gnd and starts when the PSU is ON, does not have an on/off button, no need.
First tests failed, after one hour of heating the outside of the box would be warm, and the inside not in the proper temperature, so isolating was needed, used then some roofmate isolating boards, worked perfectly, less heating time, more time within the correct temperature without heating (37 degrees celsius).
To the electronic bench now!
After some research I found out that the eggs should be heated to 37/37,5 celcius degrees during approximately 21 days, during this period they should be turned twice a day, and more often on the 3 final days, a wet sponge must be inside the box to soften the egg shell, during the final period this sponge should be wetter.
Now for the electronics, I connected an arduino board as you can see on the right, with the LM35DZ inside my box, covering the temperature, and two LED's one to inform the heating on (the yellow, digital output #3) and other to tell me that heating is off (green LED, digital output #4) but the system is alive. The digital #5 is the output to set the relay on/off, using the relay shield built before, where you see "digital port 13", connect the digital #5 as referred previously.
As power source for the relay shield, you should use the +12V/gnd from the PSU, and the same for the arduino, you just have to solder two wires to a proper jack, (like the one in the right) remembering that the +12V go inside and the gnd on the outside. Arduino and relay shield MUST share the gnd, (common ground) otherwise the shield will not work.
On the left there is a picture of the final result, the temperature sensor on the right bottom of the picture, with a green surrounding, far from the lamp, within the egg area. The green arrow shows the air-flow from the fan that stands behind the lamp, distributing the hot-air in the box.
Now with all the hardware set, we need the software, and that, lays here, feel free to change it within the license authorization. Basically you set it on, it starts regarding the temperature indicator, if less than 37 degrees, sets the yellow LED and relay ON for heating purposes, when reaches a comfortable temperature, sets the relay OFF and the green LED ON, and stays controlling the temperature, and the behavior goes on and on, until the birds hatched!
I can tell you the system works fine, and as a final note I leave you the console output.
Materials used:
- Wooden box
- Roofmate isolator
- Arduino
- Old PC fan
- Homemade relay shield (see link)
- Customized PC power source (see link)
- 50W halogen lamp and connector
- Zinc pipe/tube
- Green LED
- Yellow LED
- Power jack
- LM35dz
- Wires, connectors, etc.
Feel free to contact me.
Monday, December 19, 2011
Hatchduino (egg hatcher)
Friday, December 16, 2011
Customized ATX power supply
An old PC power supply! Who does not have one...? For my arduino project I needed a reliable and powerful power source, because of the halogen lamp used to warm the hatch box, so, layed hands on work and converted an old PSU. Let us see how!
As you all may know, these PSU's once connected to the AC power, are ALWAYS in charge, for that I connected an LED, and an other for when the power unit is really on. If your power supply has an on/off button, you can skip the switch connected to the green wire, and just short-circuit it to ground, using the native on/off button to switch on and off.
Nevertheless the left image explains the wires needed to be worked to achieve best results. Did not use the resistor.
The yellow wires are +12V, the blue -12V, the red +5V, the black GND, the yellow +3.3V, white -5V, as you can see on the next picture. You can now drill the box and use some connectors with a fuse to protect the PSU, and voilá!
I used these links, an instructable and a wikihow as an aid to the work. Good luck on your project! Feel free to contact me.
As you all may know, these PSU's once connected to the AC power, are ALWAYS in charge, for that I connected an LED, and an other for when the power unit is really on. If your power supply has an on/off button, you can skip the switch connected to the green wire, and just short-circuit it to ground, using the native on/off button to switch on and off.
Nevertheless the left image explains the wires needed to be worked to achieve best results. Did not use the resistor.
The yellow wires are +12V, the blue -12V, the red +5V, the black GND, the yellow +3.3V, white -5V, as you can see on the next picture. You can now drill the box and use some connectors with a fuse to protect the PSU, and voilá!
I used these links, an instructable and a wikihow as an aid to the work. Good luck on your project! Feel free to contact me.
Arduino relay shield (homemade)
Hi! This is my homemade arduino relay shield, I had a spare 12V relay, and nothing to do with it, so this project happened.
The circuit is roughly the version seen in the schematic on the left, with a BC548 (NPN) transistor and a 1N4007 diode, my resistor was of 8220 Ohm.
The ground (GND) has to be the same on the arduino and on the relay shield, or it will not work.
On the picture you can see on the bottom part the + (Vcc), S (signal from arduino, any digital port), and - (GND), on top we see the connectors for NO, (normally opened) C, (common), NC (normally closed).
For the whole article, you can follow the original instructable that I based on, here.
The circuit is roughly the version seen in the schematic on the left, with a BC548 (NPN) transistor and a 1N4007 diode, my resistor was of 8220 Ohm.
The ground (GND) has to be the same on the arduino and on the relay shield, or it will not work.
On the picture you can see on the bottom part the + (Vcc), S (signal from arduino, any digital port), and - (GND), on top we see the connectors for NO, (normally opened) C, (common), NC (normally closed).
For the whole article, you can follow the original instructable that I based on, here.
Subscribe to:
Posts (Atom)