Chicken control - Project Overview

First assembly was nearly finished, but i made an mistake and killed my esp…
Now with the new esp it runs as it should!
Some little things i have to do like connecting the inside-light to the relays, assemble 2 power-outlets for Outside Lights and water-heater, but main function works, the little door opens when it gets brighter and closes if it gets dark outside, fan starts if inside-temp is greater than 30 degree (to prevent cooking of the eggs :wink: ), turn on little heater if drinking-water gets below 0.1 degree (chicks dont eat ice).

Here 2 Pictures of the chicken and the hoese: (not all chicken visible, 4 of 8 Chickens)


Picture of the door-mechanic and the esp with electronics coming!
BTW: the whole thing runs without mainpower! i’ve got a little MPPT Charger connected to 4 small PV (80W) and a 12V/7Ah SLA Battery with a 5V StepDown Converter. Ther is a 12V PSU coming though just for backup.
The Fan and the heater are running on 230VAC…
One importend thing is to mention: I have the door-up-contact connected to GPIO 0, that switches the esp into flash-mode, when a powerup or reset accours with door open!
At the moment i put a little switch into that line, but i am thinking of a additionel small relays.
Took me some time to find out why the esp didnt started :slight_smile: For the future: a firmware update only at night when door is closed :wink:

4 Likes