Desplan lab defines the circuit for motion detection