Motor & Hall effect working