An arduino script for a fully automated chicken coop with temperature/humidity sensors, heatlamp/fan control, and sunset/sunrise door control.
Integrated an Arduino microcontroller with various relay modules, buttons, temperature sensors, etc.
Embedded a heat lamp, a fan, and an automatic door (using a pulley system with a worm drive).
The script was written in C/C++.
The temperature/humidity sensors are used to determine when to toggle the fan and heat lamp on or off. They will trigger once the heat and/or temperature reach a certain threshold.
The automatic door will open every day at sunrise, and close every day 45 minutes after sunset.