The Pigeon Repellent device reproduces the sound of the hawk, a natural enemy of pigeons. Pressing the button activates the hawk’s call. When this button is held open, the hawk’s call will repeat every 10 seconds.
The hawk’s call was obtained from audio files published online and recorded in a 24c256 EEprom, 8-bit, 17530 Hz, mono format. The PIC12F675 microcontroller ensures the sound is played for a specific duration. An old 12-volt siren, commonly used in home or car alarms, was used to produce the loud sound.
The Pigeon Repellent device can be improved. For example, the previous “Bird, Rodent Repellent Device” operated only during the day thanks to an LDR sensor. An LDR-controlled system can be added to the power or output stage. Additionally, a MOSFET transistor is used to drive the siren.
Pigeon Repellent Circuit Diagram

The source CCS code (CCS PCM-C Compiler Version 3.200) and hawk sound eeprom files for the Electronic Pigeon Repeller device are available.
Source: picsource.com.br/archives/10683/