Try using a buildcraft cobble structure pipe with a "Gate" on it. When placed next to any object it will automatically detect if it has an inventory. You can then specify if you want it to send a redstone signal when the container has an item, when it is half full, or when it is full.
With this...