hi Acetronics,

thanks for the reply, i will try your suggestion later on as i was playing around with the schematics last night and managed to get it to work. I incorporated a voltage regulator to regulate the power supply to the pic and the motor and guess what it worked. But i never thought of your way Acetronics and will try it later. Thanks again...