Squirrel Detector Rejector

This project is an attempt to deter a squirrel from building a nest under my deck. While I know that you really can’t win against the squirrels, you can score some points. I figure if I build a contraption that makes a noise every time the squirrel moves, then it might choose another location to raise its babies. Like in a tree.