/Project_ChickenDoor

An automated door for dem chicks.

Primary LanguageC++MIT LicenseMIT

Project Chicken Door

A project to make a mechanism that can open and close each day at predefined times. Photo of the finished chicken door.

Mechanics and Power Eletroncis

The project utilizes the following components:

The lift should be connected so that the limit switches prevent the lift from opening/closing the door beyond its maximum, and the relay should be connected to act as a second remote. If you use a DC motor, then you can change the behaviour of the relay into a basic H-bridge in the 'Supp_Func.h' file. A very basic schematic of how I connected the mechanics electronically can be seen in the figure below. A very crude schematic of the connections of the lift, limit switches, and relays..

The door itself was renovated so that it could run up and down without getting stuck. Furthermore, a triangle was welded to the door, as to trigger the limit switches (as can be seen from the first photo).

Control and electronics

A Arduino Nano is used for control, utilizing a DS3231 Real Time Clock module for timekeeping and alarms. The clock and alarms can be set by using the LCD screen. The alarms trigger a high on the SQW, which triggers an interrupt on INT0. A schematic of the controller can be seen below. Schematic of controller.