destroying my last pic? driving a miniature motor


Closed Thread
Results 1 to 21 of 21

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Is there a difference in connecting the load between emitter and ground, or between collector and vdd (besides resistance increasing base to ground when the load is on the emitter side)?
    With transitors, the current you get out is dependant on the current from the base to emitter. If the voltage on the emitter changes, then the base to emitter current will be reduced. So if the load is between the emitter and power, ... as the transistor starts to conduct, the emitter voltage changes and counteracts the base current that's trying to turn it on. While it seems to kinda sorta work a little bit, you always end up with a lower current output.

    So basically, you want the emitter to be at a constant voltage, either GND or V+.

    But the difference is ... if you want to "source" current to the load from V+ (like in the first schem.) you would use a PNP transistor. Then output HIGH from the PIC is OFF, and LOW is ON.

    And as I read this back, it doesn't even make sense to me. (I'm a software guy).

    Alain!!! Help!!!! Anybody!!!
    DT

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Good explanation

    Thanks Darrel,
    I have seen it in print that the transistors should go one way but not the other, but never an explanation as to why.
    Thanks!
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  3. #3
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default Simple rules ...

    Quote Originally Posted by Darrel Taylor View Post
    And as I read this back, it doesn't even make sense to me. (I'm a software guy).

    Alain!!! Help!!!! Anybody!!!
    Hi, Darrel

    For simplicity :

    1) Motor ( or load ) has one terminal connected to GROUND

    - use a PNP Transistor w/Emitter to POwer ( or P- Mosfet W/ Source to Power ). the "ON" state will be with a LOW state from the PIC.

    2) Motor has one terminal Connected to POWER

    - use a NPN Transistor W/Emitter to GRound ( or N Mosfet w/ Source to GRound ). the "ON" state will be with a HIGH state from the Pic.


    That's all !!!

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Similar Threads

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