Automatic Chicken Coop Door

Sdílet
Vložit
  • čas přidán 16. 01. 2021
  • You can now buy one! codemakesitgo.com
    Thanks for watching! I appreciate you stopping by, we have a shared interest.
    A viewer building this spotted an error in my wiring diagram!! Ahhhh so sorry! The GitHub link below has the updated wire diagram.
    There are more detailed instructions here:
    www.instructables.com/Smart-P...
    I'll respond to every question below or contact me directly.
    Jason.altice@codemakesitgo.com
    For this project we built a chicken coop door that is operated by a smart phone app.
    This allows you to monitor your chicken coop door remotely, open and close it remotely, set a schedule for operation, and operate it using Amazon Alexa. Some Chicken Coop door with less features sell for ~$200, this one with smart phone features was about ~$75.
    Let me know if you need help, I'll be there to answer any questions.
    If you have a better idea, want to share you build, or have seen a similar video, let me know and I'll post it here.
    Always looking for projects. If you have an idea and need help, let me know and maybe we can make a video together.
    Source Code for Arduino:
    github.com/CodeMakesItGo/Chic...
    All parts used in this project:
    WiFi Smart Garage Door Controller (The one I used in this video)
    amzn.to/3uc8d74
    OR
    5V USB WiFi Smart Garage Door Controller (Most people use this one because it is 5V)
    amzn.to/3mnXkhl
    Alternative WiFi Garage Door Opener
    amzn.to/3xZLqO2
    Arduino Nano V3.0
    amzn.to/2Rd3inS
    DC 12v 5Amp Power Supply
    amzn.to/3eaKjTO
    DC 12v 2 channel relay module (The one I used in the video)
    amzn.to/3BqbzHx
    OR
    DC 5V 2 channel relay module (Most people use this one because it is 5V)
    amzn.to/3j30sNQ
    8" Linear Actuator (225lbs)
    amzn.to/3umVgr2
    DC 3v - 40v Voltage Regulator
    amzn.to/33pp6iW
    Project Box
    amzn.to/336t7J2
    Cable Glands
    amzn.to/3ea5W76
    18 AWG Power Cable
    amzn.to/2QDDQbp
    Ender 3 V2
    amzn.to/3eN2MoB
    Alternative power source:
    20W 12V Solar Panel Battery Charger Kit
    amzn.to/3FNBTx0
    12V battery 8AH
    amzn.to/3nN2jsr
    Automatic switch from AC to battery
    amzn.to/3g8NRWS
    Project Box that can hold a battery
    amzn.to/3FOO38S

Komentáře • 58

  • @roberthaslip
    @roberthaslip Před 3 lety +2

    Welcome back! How was your vacations? lol.

  • @F74D3N8r0T
    @F74D3N8r0T Před 2 lety +3

    Well done mate! I did my two doors with actuators, too, but simply with a LDR that opens and closes with the sun. Works great for the last year, just without cell phone.

    • @CodeMakesItGo
      @CodeMakesItGo  Před 2 lety

      Thank you! LDR is a popular option. Some people want feedback to know if and when their door actually opened or not. Peace of mind.

    • @eliaeligulashvili6539
      @eliaeligulashvili6539 Před 2 lety

      Hey man, i'm trying to do the exact same think but i can't get it to work, can you help me with that? Thank you 😁

    • @F74D3N8r0T
      @F74D3N8r0T Před 2 lety +1

      @@eliaeligulashvili6539
      Arduino is the keyword. Preferably Nano.

    • @AztecWarrior69
      @AztecWarrior69 Před 7 měsíci

      @@F74D3N8r0T If you are gonna use an arduino then use the UNO so you can use a motor shield. Makes everything much easier.

  • @AztecWarrior69
    @AztecWarrior69 Před 7 měsíci

    Instead of the garage door switch and Arduino, you could have just used an MHCOZY or SONOFF 4ch switch. Way better control over the door and way easier to replace if something goes wrong.

  • @derekmaks9522
    @derekmaks9522 Před 3 lety +1

    Cool video. Is there a way to install a local switch to control the system also. Thanks

    • @CodeMakesItGo
      @CodeMakesItGo  Před 3 lety

      Yes, add a momentary switch to D2 and GND. Pressing this button for 2 seconds will toggle the output to the linear actuator. Hope this helps. Thanks for watching and for the question. 👍

    • @derekmaks9522
      @derekmaks9522 Před 3 lety +1

      Awesome thank you.

  • @Nam_flies_drones
    @Nam_flies_drones Před rokem +1

    This worked very well for me, thank you! it was my first arduino project, super fun.

    • @CodeMakesItGo
      @CodeMakesItGo  Před rokem

      Awesome!! Thank you so much for watching and especially doing the project! Really happy to hear, great job!

  • @cardude2191984
    @cardude2191984 Před 2 lety +1

    I am considering building something similar to yours although I have a linear actuator from a lift chair that is 24 V with power supply. Do I need to change anything component wise

    • @CodeMakesItGo
      @CodeMakesItGo  Před 2 lety +1

      The dual relay board will handle 24v on the relay output side. But will still need to be powered by 5v or 12v depending on the relay board you get. So no, I don’t think anything component wise will change, just your wire diagram would be a little different.

    • @CodeMakesItGo
      @CodeMakesItGo  Před 2 lety

      Let me know if that wasn’t clear and I can help you out more. Don’t forget, I have a board that will make this build a lot easier for you. Saves people a lot of time. You can find more info here: www.instructables.com/Smart-Phone-Operated-Chicken-Coop-Door-/

    • @AztecWarrior69
      @AztecWarrior69 Před 9 měsíci

      Most of the 24V DC Linear Actuators found in chairs will still work with 12VDC just slower. That's all.

  • @ptsteln
    @ptsteln Před 10 měsíci

    One of the best chicken door projects I have seen using arduino and some ingenuity. I hate to copy other people's work, however this looks so good that I don't see any reason to change anything. This is my next project as I'm going away for a couple of days next month and don't have a chicken sitter :) Also in the UK the cost for an off the shelf solution is around £250!!!

    • @CodeMakesItGo
      @CodeMakesItGo  Před 10 měsíci

      Awesome! Thank you so much. Remember I have a board you can order that will make all the connections much easier. Up to you, diy projects are always fun too.

  • @TodaysTechInformer
    @TodaysTechInformer Před 3 lety +2

    I'm trying to recreate this, however can you explain more of how you wire the garage door opener to the arduino?I have everything working, with the exception of opening the door. I have to push the button on app 3 times to open the door, and only once to close it.

    • @CodeMakesItGo
      @CodeMakesItGo  Před 3 lety

      Yes! sounds like the sensor is not connected to the Arduino. So the Arduino does not know that the door is closed.
      The Arduino software will sync to the garage door sensor state every 30 seconds. So if the door closes and the sensor says it is still open, the software will switch back to thinking the doo is still open. That is why it will close first try, because it thinks the door is always open.
      All you need is the orange wire connected to D3 (picture in link below). The yellow can connect to ground if you'd like, or just not connect the yellow wire. To test if the sensor is working follow these steps:
      1. Open the door and make sure the sensor is not in contact with the magnet.
      2. Unplug or power off the Arduino.
      3. Power the Arduino back on, the door should start to close for 2 seconds then start to open back up.
      4. while the door is open
      5. Unplug or power off the Arduino.
      6. Connect the garage door sensor to the magnet
      7. Power the Arduino back on, the door should close all the way
      The idea is that the door will stay shut if you briefly lose power at night. And stay open during the day in the same scenario.
      I added a photo to the github that will help with this connection.
      github.com/CodeMakesItGo/ChickenCoopDoor/blob/main/P1030786.JPG
      Let me know if this helps. So cool you have made this, congratulations!! If by chance you do have this connection already and still have this issue, ensure that the door sensor is making close enough contact with the magnet. Should be no more than 1" away from it.

    • @CodeMakesItGo
      @CodeMakesItGo  Před 3 lety

      Did my last reply help? Everything working?

    • @TodaysTechInformer
      @TodaysTechInformer Před 3 lety +1

      @@CodeMakesItGo Bro, everything is working perfectly. Thank you so much!

    • @CodeMakesItGo
      @CodeMakesItGo  Před 3 lety

      Awesome! Good job making this 😁 hope it makes life a bit easier for you and the chickens 🐓

  • @HaslipCycleWorks
    @HaslipCycleWorks Před 3 lety

    HAHAHAHA Loved it!

  • @mattsmith5260
    @mattsmith5260 Před 3 lety

    Where is the code that makes it go? 🤔

  • @heatherpederson9403
    @heatherpederson9403 Před 2 lety +1

    How can you make this solar powered?

    • @CodeMakesItGo
      @CodeMakesItGo  Před 2 lety

      Yes absolutely. Some have already done this because their coop isn’t near a power outlet. This is the solar unit they purchased. You will need a 12v 7.5ah battery too. Link to solar charger: amzn.to/3lJk2Av
      And the battery: amzn.to/3AtE9Xz

  • @cocopunch
    @cocopunch Před 10 měsíci +1

    Will this setup work with solar power?

    • @CodeMakesItGo
      @CodeMakesItGo  Před 10 měsíci +1

      Yes it does, however I use solar power as a backup power source to the AC. If using only solar then you’d have to also use a battery as a constant power source and the solar would just charge the battery.

    • @cocopunch
      @cocopunch Před 10 měsíci

      Thank you

  • @yigito6900
    @yigito6900 Před 3 lety +1

    Greeting from Florida. I can not make this to work. Everything is hooked up like your pictures in github but when i click the garage opener it doesn’t do anything. Please help

    • @CodeMakesItGo
      @CodeMakesItGo  Před 3 lety +1

      Yes let’s talk. We will figure it out. Can you email me at Jason. Altice@codemakesitgo.com Send me a picture of the wire connections on the Arduino and the relay. We can start from there.

    • @yigito6900
      @yigito6900 Před 3 lety

      It says email wont exit

    • @CodeMakesItGo
      @CodeMakesItGo  Před 3 lety

      @@yigito6900 I haven't received it, looks like there was a space in the email in my previous message. iPhone trying to be smart. Address is "jason.altice@codemakesitgo.com"

    • @yigito6900
      @yigito6900 Před 3 lety +1

      @@CodeMakesItGo i am sorry miss the jason. Part lol

    • @CodeMakesItGo
      @CodeMakesItGo  Před 3 lety

      @@yigito6900 no problem, I got the email.

  • @jessewidboom2903
    @jessewidboom2903 Před 3 lety

    Can you send me a more detailed wire diagram? Between the two there different.

    • @jessewidboom2903
      @jessewidboom2903 Před 3 lety

      I’m so close just no motor movement

    • @jessewidboom2903
      @jessewidboom2903 Před 3 lety

      There’s a lot easier ways! This is for the computer nerds!

    • @CodeMakesItGo
      @CodeMakesItGo  Před 3 lety

      So sorry I missed your question from 4 days ago. I do have slightly better wire diagrams on the GitHub page. But, I’m very interested in the easier way too. Please let us know about it.

    • @CodeMakesItGo
      @CodeMakesItGo  Před 3 lety

      Sounds like you found a better solution already. But, I can help if you still need.

  • @carlamannon4974
    @carlamannon4974 Před 2 lety +1

    Do you know of something small and more simple? I have a cat friend that is stubborn and want to open the door via wifi. i will be able to see the cat on the outside as i have a camera that alerts me the cat is there. She lives in another apartment. I already have an arduino

    • @CodeMakesItGo
      @CodeMakesItGo  Před 2 lety

      Yes, this device will allow you to open and close the linear relay. It will replace the Arduino, voltage regulator, and garage door controller. So basically all you need is this, 12v power, and the linear actuator. I’ve actually never tried it, but looks like it should work. Only thing is it will not report if the door actually opened or closed. But, if you can see it then that isn’t a problem. amzn.to/3ALc91p
      Let me know if you have any questions. I’ll try to help as much as possible.

  • @blairsharpe2798
    @blairsharpe2798 Před 3 lety +2

    ahahahahahahah i DIED I'm here because of the pandemic. nice nice.

    • @CodeMakesItGo
      @CodeMakesItGo  Před 3 lety

      Thanks for watching and happy you enjoyed the video! Hopefully the pandemic is nearing the end.

  • @CodeMakesItGo
    @CodeMakesItGo  Před 2 lety

    There are more detailed instructions here and information on a board you can order that has all of this already done to make your life easier.
    www.instructables.com/Smart-Phone-Operated-Chicken-Coop-Door-/

  • @AztecWarrior69
    @AztecWarrior69 Před rokem +1

    Instead of the garage door switch and Arduino, you could have just used an MHCOZY or SONOFF 4ch switch. Way better control over the door and way easier to replace if something goes wrong.

    • @ptsteln
      @ptsteln Před 10 měsíci

      How does this solution provide better control over the door and how is it easier to replace if something goes wrong?

    • @AztecWarrior69
      @AztecWarrior69 Před 10 měsíci

      @ptsteln Yes the smart switches will give you way more and better control. And yes, if need be, replacing it can be much easier.

    • @AztecWarrior69
      @AztecWarrior69 Před 9 měsíci

      @@ptsteln Guess you really didn't wanna know. LOL