Turn on Fan when I enter the room!

I wanted to make a simple circuit with a DC motor causing something to move. So the idea of auto-control of lights when people enter a room fascinated me. I tried to emulate this here, with the fan control when an object passes a sensor. The sensor here is a photo-resistor, an analog input to…