The pet feeder composed of a shell, a fodder pot set on one side of the shell and a fodder vessel set inside the shell; a feed inlet is set on the top of the fodder vessel and the first outlet is set on the bottom thereof; a mounting base is also set inside the shell, a driving mechanism, a driving medium and a micro switch are set on the mounting base, the driving mechanism drives the driving medium to rotate, and the driving medium triggers the micro switch once after rotating at a certain angle; the driving medium is provided with the rotation shaft connected with and driven itself, and many even-distributed vanes are set on the rotation shaft; bolt-jointed blanking pot is set on the bottom of fodder vessel, the rotation shaft passes through the blanking pot, and many vanes divide the blanking pot into many blanking grooves.