Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. My Project
  3. Internet of Poultry - Fully automated chicken shed

Internet of Poultry - Fully automated chicken shed

Scheduled Pinned Locked Moved My Project
50 Posts 20 Posters 20.7k Views 22 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • scalzS Offline
    scalzS Offline
    scalz
    Hardware Contributor
    wrote on last edited by
    #4

    excellent :thumbsup: what a luxury poultry :)

    1 Reply Last reply
    0
    • stefaanvS stefaanv

      The goal of this project is to automate our chicken shed to such a level that the chickens can survive our summer vacation without outside help.

      0_1469173555598_IoP cover.JPG
      The project is based on Domoticz(rPi) and MySensors (Sparkfun Redboard)
      Sensors in the shed :

      • Temperature + humidity
      • Ambient light sensor
      • Current/voltage on the solar panels and on the motor
      • PIR sensor
      • End-of-run switches
      • Two buttons for local activation of the door

      Actuators :

      • DC motor for opening/closing the door
      • Relais for switching the inside light
      • Relais for switching the webcam

      The board arduino shield for connecting all the wiring
      0_1469174937923_Shield.jpg

      The complete installation
      From left to right : (temporary) router for remote USB connection for uploading sketches, Arduino with shields, DC motor, Solar charging controller.
      ,
      0_1469174994808_Complete installation.jpg

      The shed in the making
      0_1469175138149_Shed in the making.jpg

      The door mechanism & one of the end-of-run sensors
      0_1469175532912_Door machanism.jpg

      Overview photo with solar panels
      0_1469175609860_Overview.jpg

      AWIA Offline
      AWIA Offline
      AWI
      Hero Member
      wrote on last edited by
      #5

      @stefaanv Pretty neat! although I would still ask somebody to keep an eye on your feathered friends... :eyes:

      1 Reply Last reply
      0
      • KoreshK Offline
        KoreshK Offline
        Koresh
        Contest Winner
        wrote on last edited by
        #6

        Awesome :star: Thumbs up from me :+1:

        1 Reply Last reply
        0
        • MarikM Offline
          MarikM Offline
          Marik
          wrote on last edited by
          #7

          You beat me to it, this is totally on my longer term list to accomplish for quail.

          MySensors 2.1.1 - UNO R3 & W5100 Shield
          Domoticz v3.7686 - Ubuntu 16.04.1 on Hyper-V

          1 Reply Last reply
          0
          • scalzS Offline
            scalzS Offline
            scalz
            Hardware Contributor
            wrote on last edited by scalz
            #8

            Cococoricooo
            hmm sorry, it was too hard to resist...I'm french :sweat_smile:

            1 Reply Last reply
            1
            • tbowmoT Offline
              tbowmoT Offline
              tbowmo
              Admin
              wrote on last edited by
              #9

              Cool project..

              Two parts are missing though, what about food and water?

              Is it a wifi enabled Webcam?

              1 Reply Last reply
              0
              • stefaanvS Offline
                stefaanvS Offline
                stefaanv
                wrote on last edited by
                #10

                @tbowmo Both food and water are "gravitationally supplied". There is a 15liter food and 1l water supply indoor and 12l water supply outdoor. These last for weeks.
                0_1469257021106_Food_water.jpg

                Wifi webcam is connected to Synology NAS camera app for recording. The aim is to enable the camera 5min before and after the closing of the door. Outdoor camera is on the wish list. Camera's can be enabled both automatically and remotely (like the door). Good news is that the chickens are smart enough to move out of harms way when the door closes. I noticed that the chickens go indoor very punctually on the internet provided sun-down, so the lux sensors may not be needed after all.

                Remaining isuues are collecting of eggs and droppings. Both are less urgent and much more difficult to accomplish.

                1 Reply Last reply
                4
                • K Offline
                  K Offline
                  koen01
                  wrote on last edited by
                  #11

                  I've had a similar setup run for over a year. Last week my ln298 broke so the door doesn't open and close anymore. Waiting on spare parts. I have guillotine style door with reed switches on top and bottom.

                  breimannB 1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    TommySharp
                    wrote on last edited by
                    #12

                    Is it important to know that all the chickens are in the coup before you close the door or are we just assuming they are all inside at a certain time?

                    K bjacobseB stefaanvS 3 Replies Last reply
                    0
                    • T TommySharp

                      Is it important to know that all the chickens are in the coup before you close the door or are we just assuming they are all inside at a certain time?

                      K Offline
                      K Offline
                      koen01
                      wrote on last edited by
                      #13

                      @TommySharp said:

                      Is it important to know that all the chickens are in the coup before you close the door or are we just assuming they are all inside at a certain time?

                      I use a light sensor and close the door at <5 lux. They are allways in by then.

                      1 Reply Last reply
                      0
                      • T TommySharp

                        Is it important to know that all the chickens are in the coup before you close the door or are we just assuming they are all inside at a certain time?

                        bjacobseB Offline
                        bjacobseB Offline
                        bjacobse
                        wrote on last edited by
                        #14

                        @TommySharp
                        Maybe all the chickens needs to be wearing a RFID tag, and then clsoe door when all counted RFID tags are inside (RFID reader could maybe be close to water/food supply)

                        1 Reply Last reply
                        0
                        • T TommySharp

                          Is it important to know that all the chickens are in the coup before you close the door or are we just assuming they are all inside at a certain time?

                          stefaanvS Offline
                          stefaanvS Offline
                          stefaanv
                          wrote on last edited by
                          #15

                          @TommySharp, after some observation I set the light limit to 18 [something], I don't trust the light sensor to output Lux accurately. Till now they've always been inside when the door closes. They're social animal by the way, if one goes indoor at dawn, the other one follows within minutes.

                          YveauxY 1 Reply Last reply
                          0
                          • stefaanvS stefaanv

                            @TommySharp, after some observation I set the light limit to 18 [something], I don't trust the light sensor to output Lux accurately. Till now they've always been inside when the door closes. They're social animal by the way, if one goes indoor at dawn, the other one follows within minutes.

                            YveauxY Offline
                            YveauxY Offline
                            Yveaux
                            Mod
                            wrote on last edited by
                            #16

                            @stefaanv said:

                            when the door closes

                            Possible stupid question from someone with zero chicken knowledge : why do you have to close the door at night?

                            http://yveaux.blogspot.nl

                            1 Reply Last reply
                            0
                            • F Offline
                              F Offline
                              Fabien
                              wrote on last edited by
                              #17

                              Fox ! He like chicken for diner !

                              YveauxY 1 Reply Last reply
                              0
                              • F Fabien

                                Fox ! He like chicken for diner !

                                YveauxY Offline
                                YveauxY Offline
                                Yveaux
                                Mod
                                wrote on last edited by
                                #18

                                @Fabien looks to be 1.5m fence around it, which could also keep the foxes out. But again, what do I know :laughing:

                                http://yveaux.blogspot.nl

                                F 1 Reply Last reply
                                0
                                • YveauxY Yveaux

                                  @Fabien looks to be 1.5m fence around it, which could also keep the foxes out. But again, what do I know :laughing:

                                  F Offline
                                  F Offline
                                  Fabien
                                  wrote on last edited by
                                  #19

                                  @Yveaux said:

                                  @Fabien looks to be 1.5m fence around it, which could also keep the foxes out. But again, what do I know :laughing:

                                  I have fence too ... and fox ... But no more chicken ! 3 eaten in April !

                                  1 Reply Last reply
                                  0
                                  • stefaanvS Offline
                                    stefaanvS Offline
                                    stefaanv
                                    wrote on last edited by
                                    #20

                                    Yes, we have foxes (and rats) in the neighbourhood. Chicks get eaten if not locked up at night. The fence is only 1m high, but won't keep a fox away from the chickens.
                                    I thought about RfId, but question is if one reader will detect tags anywhere in the shed.
                                    Voice recognition is another option to account for all chickens. Maybe when I find the time. Pool automation must be taken care of first :-)
                                    Anyway, it works as it is. Just need to set the light level in between chicken bed time and fox lunch time.

                                    I 1 Reply Last reply
                                    2
                                    • stefaanvS stefaanv

                                      Yes, we have foxes (and rats) in the neighbourhood. Chicks get eaten if not locked up at night. The fence is only 1m high, but won't keep a fox away from the chickens.
                                      I thought about RfId, but question is if one reader will detect tags anywhere in the shed.
                                      Voice recognition is another option to account for all chickens. Maybe when I find the time. Pool automation must be taken care of first :-)
                                      Anyway, it works as it is. Just need to set the light level in between chicken bed time and fox lunch time.

                                      I Offline
                                      I Offline
                                      Ironbar
                                      wrote on last edited by
                                      #21

                                      @stefaanv

                                      First off, excellent design. Great job!

                                      I have had one of these running for a while. I did not want mine to react to light levels because I did not want it to close during a thunderstorm, etc. and lock the chickens out. That being said, I have mine close 20 minutes after sunset and open 20 minutes after sunrise. The first couple of nights some of the chickens were locked out because they came home to late. I had to manually let them in. After a couple of days they learned quickly (despite not being very smart creatures) and they head to the house early before the door closes. After that, my camera alerts me to any movement in the house. I have only had one false alarm in a couple of months.

                                      I have a pretty strong outdoor pen and I have still had multiple black snakes, one raccoon, and one possum get in. The raccoon ate a chicken and one snake bit one. After installing the door I have not had one injured chicken.

                                      Mine is pretty low tech. I used a single push button and mysensored a relay board that turns a dc motor with a 3d printed gear that raises/lowers the door. I have had zero problems with it since installed. Thanks Hek!

                                      The one big thing I learned, Transient Voltage Suppressor. I used a larger dc motor due to the weight of my door and every time the door opened it scrambled the Arduino with electric interference. Took me forever to figure out what the problem was and how to fix it.

                                      Now if I can just figure out how to mysensor it to let me know when a chicken lays an egg.....

                                      sinczeS 1 Reply Last reply
                                      2
                                      • I Ironbar

                                        @stefaanv

                                        First off, excellent design. Great job!

                                        I have had one of these running for a while. I did not want mine to react to light levels because I did not want it to close during a thunderstorm, etc. and lock the chickens out. That being said, I have mine close 20 minutes after sunset and open 20 minutes after sunrise. The first couple of nights some of the chickens were locked out because they came home to late. I had to manually let them in. After a couple of days they learned quickly (despite not being very smart creatures) and they head to the house early before the door closes. After that, my camera alerts me to any movement in the house. I have only had one false alarm in a couple of months.

                                        I have a pretty strong outdoor pen and I have still had multiple black snakes, one raccoon, and one possum get in. The raccoon ate a chicken and one snake bit one. After installing the door I have not had one injured chicken.

                                        Mine is pretty low tech. I used a single push button and mysensored a relay board that turns a dc motor with a 3d printed gear that raises/lowers the door. I have had zero problems with it since installed. Thanks Hek!

                                        The one big thing I learned, Transient Voltage Suppressor. I used a larger dc motor due to the weight of my door and every time the door opened it scrambled the Arduino with electric interference. Took me forever to figure out what the problem was and how to fix it.

                                        Now if I can just figure out how to mysensor it to let me know when a chicken lays an egg.....

                                        sinczeS Offline
                                        sinczeS Offline
                                        sincze
                                        MySensors Evangelist
                                        wrote on last edited by
                                        #22

                                        @stefaanv I had to view the pictures again :smiley: it still is a very nice project. And the router was a nice idea for my experiment to remotely upload sketches in the garden instead of picking the whole device up back into the house.. I'll have to look into that a little bit further to figure out how I can use it..

                                        stefaanvS 1 Reply Last reply
                                        0
                                        • sinczeS sincze

                                          @stefaanv I had to view the pictures again :smiley: it still is a very nice project. And the router was a nice idea for my experiment to remotely upload sketches in the garden instead of picking the whole device up back into the house.. I'll have to look into that a little bit further to figure out how I can use it..

                                          stefaanvS Offline
                                          stefaanvS Offline
                                          stefaanv
                                          wrote on last edited by
                                          #23

                                          @sincze beware, the router solution isn't perfect. Sometimes the connection drop out for no apparent reason. The advantage is that you get full debug info over the serial port. I'm going to have a look at OTA updates for future projects.

                                          DrJeffD 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          30

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          Posts


                                          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular