Senior project motion detection


#1

i want an idea about a motion detection… I m making a robot that need to detect something that is moving in front of it
the robot doesn’t move, he can only turn in 360 degree…follow the motion and shoot it with a nerf .
And if u can help in the arduino coding (i m using a arduino due