Arduino candy dispenser

"Infrared sensor"? You've trained your dog to bark when he sees something you can't see?