Picture of Chicken Light Timer
The wife is into raising chickens and now that the daylight savings is getting near she wanted a way to keep the egg laying production in high gear.  According to the material that she reads, chickens will maintain their egg laying production if they get 12 – 15 hours of daylight.

I thought to myself, what a great opportunity for me to put together a DIY electronics project that would also be green.  I wanted a quick and inexpensive solution so I decided to go with the Arduino as the MCU and build everything from scratch.
This document will document my project from beginning to end.

I had picked up a battery powered LED light that would be great for this project.

I have a bunch of ATMega chips lying around as well as a few Arduino clone boards, so I was well on to my way of building this project with material and parts that are in my parts bins in my shop.

I started to think about what kind of design I wanted and decided to go simple, lean and mean.
I have done some work with latching relays in the past and really like the idea of using the MCU to latch the relay on and off without having to keep constant power on the ATMega ports all of the time. 

The chicken coop is located in an area where there is no easy access to AC power and I wanted a battery solution that I could, at a later date, add solar panel access for charging.
First off I had to determine the volts and amp requirements of the LED light.

I took the LED light apart and soldered some wires to the existing switch circuit so I could trigger the light with the relay.
The LED light consumed 6 volts at around 500 milliamps.

D-cell batteries originally powered the LED light.  I did not want two different battery sources and I did not want to change batteries all of the time.  So I decided on a single battery source to power the MCU and LED light.

Below is image of LED light mounted in Chicken coop, two wires for switch and two wires for power:
Remove these adsRemove these ads by Signing Up
diy_bloke2 years ago
Great project. With regard to the 5 and 6 volt PSU, ofcourse it is all not expensive, but you could also decide to just run the LED's off of 5 V, or make a 6 V supply and feed the Arduino through a diode.

I do not know the exact specs of the Diavolino, but many Arduino boards have their own 5V stabilisre and will accept > 5 volt.

Nevertheless, as said, adding another voltage to yr PSU will be peanuts in terms of cost
jpitz31 (author)  diy_bloke2 years ago
Thanks diy_bloke for the tips on the PSU. I have been thinking of switching to a switching psu, but in the cold weather I guess the extra heat will keep the battery case warm.

randofo3 years ago
Nice project. How long have you had this installed and have you noticed any results yet?
jpitz31 (author)  randofo3 years ago
Hello randofo,

We just put the light in the coop. I have not noticed any difference as of yet.
But I did go down to the coop early yesterday morning when it was dark and the rooster was crowing.


Phil B3 years ago
This is very impressive. I have been interested in reading about electronic circuits for a long time, but never got into anything like this. I am doing well if I can understand a transistor amplifier. Did you learn some of this in your training as a software developer or elsewhere?
jpitz31 (author)  Phil B3 years ago
Hello Phil,

I actually started playing around with electronics as a means to improve my software development skills. I enjoy working on projects where software communicates with hardware.

I just started reading some electronics web sites and books. Earlier this year I finished reading The Make Electronics book.

Great fun.

Thanks for the positive comments.