DC motors changing servo frequency

Discussion in 'Embedded Systems and Microcontrollers' started by emzdanow, Apr 30, 2011.

  1. emzdanow

    Thread Starter New Member

    Jun 14, 2010
    23
    0
    Hello all,

    I have an ultrasonic range finding robot that I recently added a Hi-Tech servo motor to (allows scanning with range finder). The robot is driven by two DC motors. I noticed that when the motors are connected, the update frequency (50Hz) to my servo changes resulting in the servo drifting around (verified with scope). When I disconnected motors, servo frequency was constant (also verified with scope). I am mech eng so my knowledge on elect circuits is limited, but it seems as though motors are changing something in the circuit. Is there a way to isolate the effects of the DC motors drawing current from the rest of my circuit or another possible solution? I am using PIC 16F690 in c.

    Thanks
     
    Last edited: Apr 30, 2011
  2. emzdanow

    Thread Starter New Member

    Jun 14, 2010
    23
    0
    Nevermind, problem has been solved. I placed a 0.1μF cap between the terminals of each motor. I guess the motors where drawing current sharply and screwing up the PIC.
     
Loading...