An automated pet feeding machine has a very simple system for measuring and distributing food quantities using the combination of an electric motor that moves a rod linearly and slidable panels to control the flow of food pellets into a bowl. The downward tilt motion of the food tray blocks any food from flowing out of the hopper during this step. A reverse rotation of the electric motor returns the food tray to its first position where the hopper's exit is liberated and a portion is once again poured into the food tray, ready for the next feed cycle.