I am building my first robot and all the parts work well seperately. I have used many of the ideas from the tutorials- thanks. I have a steering servo, a driving dc motor and an optical wheel encoder. I have two batteries. Some sensors (not plugged in yet). All is controlled by a PIC 18F6420 microcontroller.
The steering servo shares the dc motor battery (a 5V regulator is used for the servo). The dc motor is controlled through pwm (using pwm output from micro) as is the servo (simulated using 2 timers for better reolution).
Now I have noticed a strange problem - When the servo motor is plugged in, the dc motor runs faster than when the servo is not plugged in.
Is this caused by noise from the servo? I do not have an oscilloscope so this is quite baffling