Our 'boarding' cats have a biscuit feeder with an opening top.
When a cat approaches, it opens.
Keeps the biscuits fresher, reduces smell, keeps bugs out. Good idea.
But it use 4 C cells. Expensive.
AA size inside, C size outside.
Used Li-Ion 1.5v AA's from Amazon.
Cheap alternative.

