I came across this on a web site, which sounds similar to what you describe. Note it suggest the use of a seperate supply to the motor

http://www.tigoe.net/pcomp/code/arch...4/000294.shtml