destroying my last pic? driving a miniature motor


Results 1 to 21 of 21

Threaded View

  1. #1

    Unhappy destroying my last pic? driving a miniature motor

    Hi everyone,
    Please help me if you can....I don't want to destroy my last pic....

    I'll get right on topic:
    I had partial success driving a 4mm motor directly from the 4 pwms of my 16f690. I was using pulse steering to output hpwm signal on 4 pins. Testing this, I realized that this would not allow me enough current on the motor i am using.

    Here's what I did initially:
    I chose 250 ohm resistors for each pwm output because 5v/250ohm is 20 mA the max a pic can source or sink. After the resistor these lines converged going to the positive terminal of the motor. Because I gave moter 4 pwm signals, the resistance to 5v(supplied by PWM) was actually 250/4=62.5ohm.
    My motor has 9.6ohm internal resistance
    62.5ohm divider: 9.6/9.6+62.5ohm x 5V==>motor was only getting .666v….
    Current through the motor 5v/72.1ohm = 69.3mA
    This was not enough to get it spinning nicely...


    Here's where I destroyed 2 pics:
    I quickly tried hooking up one of the 4 pwm signals through a 2n2222 to
    boost the current. Although i thought i had enough protection using diodes when I ran the program, not much happened... Also some sensors on i2c and power lines didn't blink as they normally do at startup. Only removing the pic 16f690 got those sensors blinking again. After adding some more diodes, safer resistor values I tried again with another pic....Same result... Unfortunately I can not reproduce the exact schematics as it was 5am and I was tired a little impatient and yes...drinking...
    I think I may have left the other pwm pins floating, or possibly switched the collector and emitter. All I know is that I didn't even get to see smoke...


    Can anyone advise me on a lowest partnumber/smallest parts solution that would do the beforementioned. HERE IS WHAT I HAVE IN MIND...
    Attached Images Attached Images  
    Last edited by Michael Wakileh; - 5th August 2007 at 13:34. Reason: added schematic

Similar Threads

  1. Controlling stepper motor with PIC
    By The Master in forum Off Topic
    Replies: 3
    Last Post: - 1st July 2008, 10:21
  2. Driving Stepper Motor with PBL3717
    By crhomberg in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 8th November 2007, 20:59
  3. Replies: 5
    Last Post: - 12th September 2007, 15:59
  4. Driving a DC motor /w 16f84a
    By Lilmanmgf in forum mel PIC BASIC Pro
    Replies: 18
    Last Post: - 15th May 2007, 12:39
  5. Motor Control PLC with a PIC
    By sougata in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 2nd November 2006, 07:59

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts