Bird Repellent using arduino / ultrasonic

I m a newbie in arduino, I don't know anything yet. The frequency needed is 15KHz - 29KHz

I think it will work if we use using PIR sensor to detect the bird