1. aecali

    Thread Starter New Member

    Feb 24, 2006
    1
    0
    i am facing a problem with pwm controller using pic. the pic gets hanged when interfaced to motor, otherwise the pwm pulses are generated and other peripherals work fine. can any one help to resolve this problem.
     
  2. bertus

    Administrator

    Apr 5, 2008
    15,638
    2,344
    Hello,

    Do you have decoupling capacitors accross the powersupply lines of the chips?
    Each chip should have a capacitor of 0.1 uF accross the +Vcc and GND connections as close as possible to those connections.
    Do you have a diode accross the motor to suppress the inductive kickback?
    This diode should have the kathode to the + powersupply.

    Greetings,
    Bertus
     
    Last edited: Apr 13, 2009
  3. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    Provide a schematic of your circuit so that we can see what other areas present in your circuit that may be sensitive to the electrical interference that is being generated by the motor.

    hgmjr
     
  4. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    Funny, I said the same thing in the first post.
     
  5. thatoneguy

    AAC Fanatic!

    Feb 19, 2009
    6,357
    718
    Need more information, as others stated.

    How long are the leads to the motor? Is the motor/driver on a separate power supply than the uC?
     
Loading...