It consists of two parts: The sentry gun itself and a sonar detection tower which can tell if you’ve successfully knocked down the pigs or not. He’s using an Arduino Mega at the heart of the ...