What kind of sensor should I use?

Sorry for not having specified, I will do an automatic dog feeder and I need to know the level of feed for replenishment after a certain amount dumped by the machine. :slight_smile: I am a student of robotics in my college and I am learning ...