When our garden was behind the barn, there was no way for us to keep the deer, raccoons, etc., away except this way:
My DH set up a post with a motion detector pointed in two directions. He next hooked up a bright light and a radio in a plastic bag. When the critters showed up, they got the stuffin's scared out of them!