Skip to content

Automatic chicken coop door

?
Creation's quality: 0.0/5 (0 votes)
Evaluation of members on the printability, utility, level of detail, etc.
  • 662 views
  • 3 downloads

3D model description

This is Arduino automatic chicken coop door project.
It works by opening and closing the chicken coop at a scheduled time to keep the chickens safe at night.

YouTube video https://youtu.be/wA41INhYDWQ

Parts I used:

1x Arduino Nano

1x 12v 5A power supply (110mm x 80mm x 35mm).5A is probably to much so 2A power supply should work as well (My actuator uses max 1.5A).

1x Real-Time Clock Module (DS3231)

2x Relay module.I used those https://pl.aliexpress.com/item/32909882481.html

1x 12V Actuator (I used this one https://www.elektrobim.pl/sklep/silownik-elektryczny-super-power-jack-mini-12v/) but I am pretty sure that actuators from aliexpress will work as well.

1x 12v to 5v Buck Converter MP1584

Arduino sketch

#include

int Relay = 4;
int Relay2 = 5;

DS3231 rtc(A4, A5);
Time t;

const int OnHour = 13;
const int OnMin = 40;

const int OffHour = 13;
const int OffMin = 41;

const int OnHour2 = 13;
const int OnMin2 = 42;

const int OffHour2 = 13;
const int OffMin2 = 43;

void setup() {
Serial.begin(115200);//Optional
rtc.begin();
pinMode(Relay, OUTPUT);
digitalWrite(Relay, HIGH);
pinMode(Relay2, OUTPUT);
digitalWrite(Relay2, HIGH);

}

void loop() {
t = rtc.getTime();
Serial.print(t.hour);//Optional
Serial.print(" hour(s), ");//Optional
Serial.print(t.min);//Optional
Serial.print(" minute(s)");//Optional
Serial.println(" ");//Optional
delay (1000);

if(t.hour == OnHour && t.min == OnMin){
digitalWrite(Relay,LOW);
Serial.println("LIGHT ON");//Optional
}

else if(t.hour == OffHour && t.min == OffMin){
  digitalWrite(Relay,HIGH);
  Serial.println("LIGHT OFF");//Optional
}

if(t.hour == OnHour2 && t.min == OnMin2){
digitalWrite(Relay2,LOW);
Serial.println("LIGHT ON2");//Optional
}

else if(t.hour == OffHour2 && t.min == OffMin2){
  digitalWrite(Relay2,HIGH);
  Serial.println("LIGHT OFF2");//Optional
}

}

If you have any questions
basementcreationsemail@gmail.com

My Thingiverse https://www.thingiverse.com/basementcreations/designs

3D printing settings

I used PLA without supports.

  • 3D file format: F3D and STL
  • Last update: 2020/10/04 at 11:41
  • Publication date: 2020/08/06 at 08:28

Tags

Creator


Best sellers of the category Gadget


Add a comment


Would you like to support Cults?

You like Cults and you want to help us continue the adventure independently? Please note that we are a small team of 3 people, therefore it is very simple to support us to maintain the activity and create future developments. Here are 4 solutions accessible to all:

  • ADVERTISING: Disable your AdBlock banner blocker and click on our banner ads.

  • AFFILIATION: Make your purchases online by clicking on our affiliate links here Amazon, Gearbest or Aliexpress.

  • DONATE: If you want, you can make a donation via PayPal here.

  • WORD OF MOUTH: Invite your friends to come, discover the platform and the magnificent 3D files shared by the community!