This year the woodpeckers are very persistent. In addition to waking everyone up, they are damaging the house which is shingled in a kind of wood that the birds really love to hit on.
So with that in mind, I'd like build something to safely and humanely scare the birds off.
I think that a simple Arduino-type device controlling a loud buzzer or other noise making device should be sufficient. The idea is to make it battery powered, and simply attach it to the outside of the house/storage sheds. I will need to make about four or five such devices, two for each side of the house and then three more for storage buildings, sheds.
I suppose there are four parts to this project as I see it.
A buzzer board with it's own battery and probably some sort of mosfet circuit to connect it to the arduino sensing and triggering output to sound said buzzer. This thread (http://forum.arduino.cc/index.php?topic=146635.0) has some pretty good recommendations for buzzers which are loud enough. Maybe this board at 85 db would fit the bill and be easy enough/cheap enough to work with?
An arduino type microcontroller for the sounding of the buzzer.
An enclosure that is somewhat water / weather proof for all the above.
Writing the software for all of the above. This tutorial seems easy enough to follow: https://www.arduino.cc/en/Tutorial/KnockSensor
...and this tutorial for the sampling of the woodpecker's knocking: https://programmingelectronics.com/how-to-make-a-secret-knock-detector-to-trigger-anything-with-only-an-arduino-and-a-few-cheap-components/
I think the adafruit datalogger board (https://www.adafruit.com/products/2796) is probably the easiest and most convenient board to work. I've not had much luck with the cheap data/SD card logger shields you get off Amazon for the standard Uno, but I do have plenty of Uno's lying around.
Q1: I'm thinking that I could use a datalogger type board to sample the pecking of the woodpeckers and then use the waveform to act as a trigger so when the woodpeckers start pecking the controller would sense that and fire the buzzer for a period.
Q2: Sensor question: What kind of sensor would most reliably work in that capacity? A piezo sensor or a microphone?
Would something like this be more sensitive and/or specific to detect the woodpecker knock? I imagine it would be easy enough to slip in between the wooden slates of the siding?
Thanks for your thoughts and input!