Simple basic question on converting 5V uC Output to 12V Input for high power part.

Discussion in 'Embedded Systems and Microcontrollers' started by maxpower097, Dec 29, 2010.

  1. maxpower097

    Thread Starter Well-Known Member

    Feb 20, 2009
    795
    388
    .......................................................
     
    Last edited: Jan 16, 2011
  2. blueroomelectronics

    AAC Fanatic!

    Jul 22, 2007
    1,758
    98
    Relay would be the most straight forward.
     
  3. edgetrigger

    Member

    Dec 19, 2010
    133
    19
    Yes your rightly said, 1000 ways to do it

    but i am limited to my knowledge:

    1. If it is a 12v DC pump then you could use just a simple BJT transistor. You have to check for the current drawn by the motor. If you are lucky you will find it on its tag. If not measure the resistance using multimeter and 12 divided by that R is the current. If current is around 1 A use TIP122 for higher current use 2n3055. or you could search for the right current rating in digi-key / mouser.

    2. If it is 12 volts ac. you could use either a relay or a triac.
     
  4. jpanhalt

    AAC Fanatic!

    Jan 18, 2008
    5,699
    907
    You also can use a logic-level mosfet with the gate driven by the uC. An N-channel mosfet connected between load and ground (i.e., low-side) would be the easiest configuration. You will need to give motor current for more specific suggestions.

    John
     
  5. Tahmid

    Active Member

    Jul 2, 2008
    344
    25
    Hi,
    Like you said, there are 1000 ways to do this.
    1. You could use a relay.
    2. You could use a solid-state relay.
    3. You could use a BJT driven by the micro.
    4. You could use a logic-level N-channel MOSFET driven directly by the micro in low-side configuration.
    5. You could use a power N-channel MOSFET (for high power requirements) driven by a circuit interfaced to the micro driven in low-side configuration.
    6. You could use Triac if AC.
    7. You could use SCRs if AC.
    8. You could use a P-channel MOSFET in high-side configuration.

    There are many ways to achieve it. The most reliable option can be chosen once we know the motor rating and how it is driven.

    Hope this helps.
    Tahmid.
     
  6. Tahmid

    Active Member

    Jul 2, 2008
    344
    25
    Here is a diagram showing some of the ways:
    [​IMG]

    Hope this helps.
    Tahmid.
     
  7. maxpower097

    Thread Starter Well-Known Member

    Feb 20, 2009
    795
    388
    .......................................................
     
    Last edited: Jan 16, 2011
  8. maxpower097

    Thread Starter Well-Known Member

    Feb 20, 2009
    795
    388
    That helps a lot! Thanks!
     
Loading...