For a little project I'd like to measure the fill level of a regular garbage bin (e.g. a bin such as this http://wgem.images.worldnow.com/images/7248037_G.jpg). I have a bit of experience with sensors in general, but not enough to know how to approach this project.
My first (and only) thought so far was to either use an infrared or ultrasound distance sensor, to measure the distance from the lid (where the sensor can be placed) to the top of the waste, and then through a simple formula calculate how full the bin is. An obvious issue with this is that garbage may not nicely stack inside the bin (e.g. on one side, waste will be closer to the lid than the other side), probably leading to some inaccurate readings.
Is there any kind of sensor I could use for this situation? For example, something that can take a few readings at an angle so the distance can be averaged out?
Any help is much appreciated.