Bird Repellent using arduino / ultrasonic

Are you going to sense a bird or anything that triggers the PIR sensor will be considered a bird?

If you are going to detect a bird, you may want to consider Machine Learning as a way to detect a bird.