For chickens and ducks there are bird feeders available with lids that open when the birds step on a foot lever type thing. Maybe ask in an farm animal shop or have a look on internet. They are quite nifty and the birds learn quickly how they work. :-)