The Ultimate Chicken House

A project to automate a chicken house.

Ultimate Chicken House - Phase II - software design - clock and alarms

Having an 18 pin PIC in my possession I decided to limit myself to this microchip and to build the entire project around no more than 18 pins. Initial experiments with the internal PIC oscillator were unsuccessful as it loses or gains too many seconds each day in an unpredictable way. With 2 pins used up for an external oscillator, 2 for power and 5 for the hbridge that left 9 pins for sensors and display. I wanted to use a 7 segment LED for cost, space and simplicity and so ended up with 7 pins for the LED, 1 pin for the feeder door sensor and 1 pin for an input button. I wondered if I might charlieplex the display somehow to get more display from the same number of pins but this seemed beyond me.

Ultimate Chicken House - Phase II - electronic circuit design


replace image

When I set out with this project I bought a selection of PIC microcontrollers to play with. Mostly costing £1-£2 they are remarkable little devices. The original plan was just to operate the timer for the door with a small and simple device and so I chose the little 8 pin pic12f683 and used the internal oscillator to keep time. Unfortunately from experiments this lost or gained an unacceptable amount of seconds each day and despite fine tuning I realised I would have to use an external crystal oscillator for the desired accuracy. I also decided to use more pins to increase the project functionality. I managed to destroy a couple of pic16f648a and ended up with a pic16f88 which the project is based on. Just about any 18 pin pic would do (the pic16fxx would be a cheaper option) and converting the software to work on different pics is relatively easy.

Ultimate Chicken House - Phase II - building the hopper and feeding mechanism

This was perhaps going to be the trickiest part of the project. It seemed to make sense to use gravity to assist the dispensing mechanism and reduce the power consumption of the feeder. I thought of a number of different designs e.g. vertical screw, rotating drum (like a waterwheel), slider under a funnel, horizontal rotating chambers (I prototyped this with a Pringles can and yoghurt pots and it fell apart!) but all had problems. Essential to the design was minimal power use i.e. quick, low power motor or solenoid.

Ultimate Chicken House - Phase II - the final product

With all the individual components assembled it was time to start using the project.

It works but I am open to any suggestions on improvement.

As I have explained, this is a project designed and constructed without any specialist knowledge of electronics or mechanics/robotics. Information has been gathered from the internet and some books. The design has many inadequecies which I would be pleased for people to point out. I hope to incorporate any suggestions for improvement in to a future version.

Ultimate Chicken House - Phase II - introduction

insert pic here

I am pleased to announce the completion of phase II of the ultimate chicken house project. This comprises a digital timer to delay opening the chicken house door, an automatic feed dispenser to deliver grain/pellet feed at specified times and some indoor lights to make it easier to see if the chickens are in the house at night. It is based around a PIC microcontoller...

Ultimate Chicken House - Phase I - light sensitive automatic door

A little while after we got the chickens, the evenings were starting to draw in and we realised we'd soon be back from work in the dark. We were keen to allow the chickens a free range in the garden as they don't like being 'in the cage' all day. A technological solution was required...

Surely there would be plans for a project like this on make? Unfortunately not. If time had allowed it would have been great to build a system from scratch but the evenings were drawing in too fast. We therefore opted for a commerical model from the rather limited range available. Phase I of the ultimate chicken house is a simple description of the installation of the light sensitive automatic door and a review of its operation.

Projects

projects


::Software::

squash ladder PHP
An open source game ladder written in PHP.
status - active

dive log converter

Automatic door opener

We decided to get an automatic door opener for the chicken house as we realised it won't be long before we get back from work in the dark. It installed quite well and is so far functioning without a hitch. I shall write up the details on my projects page and I can see this developing in to an "ultimate chicken house" project!