Hey guys, so pretty simple project this - but I'm a newbie to this so could do with some help. I'm trying to create a latch for my chook coop which will open a spring loaded door at the same time each morning. My current thought is to have a motor which engages a sliding latch - not sure where I'll get this from, but I'll worry about that later. Can anyone give me some pointers for hooking up & programming my Arduino circuit so that it runs a motor for say 10 seconds at the same time every day (I said it was simple).
Hey guys - thanks for the responses. As this is my first Arduino project, I'm aiming pretty low - and maybe I'll add some features such as a light sensor and solar panel at a later stage. For now, I'm happy with the door opening at the same time every morning and I'll reset it at night.
I though about a solenoid, but the ones I saw at the local shop seemed pretty naff - no spring and the inner shaft isn't held in at all so would be liable to just fall out. I guess a solenoid would be a good latch if I could find the right one - does anyone know where to get a good solenoid for this purpose?
I would have thought that the simplest and easiest (to build and operate) solution would be to use an ordinary household mains timer to define when the door should be open and closed. You can use that to switch a relay which toggles the door to either go up until it hits a limit switch, or goes down until it hits a limit switch. The hardest part would be assembling the mechanism to move the door, and that's a non-Arduino problem which will be equally hard whichever solution you choose. (A cheap and easy option would be to get an electric window lifter from a car breakers and set it up to pull a cord which raises the door; gravity would lower the door for you, so no worries about crushing anything.)