Ultrasonic HC-SR04 dog anti-poop sketch/project

teens that eat the complete fridge at night ?
a gas sniffer that detects if the dogs have answered natures call somewhere (a poo radar :wink: