logo elektroda
logo elektroda
X
logo elektroda

MOSFET-P Channel Control with Arduino - Selecting 1A P-Type Transistor for Direct 5V Drive

JokoPS 9255 17
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 16491596
    JokoPS
    Level 15  
    Hello,

    I need to drive a MOSFET with P type channel using arduino. The transistor should only work in two states (key). I would not like to add NPN, which will control Mosfeta, I would like to do it directly with arduino (0-5V).

    I would like to ask for help which MOSFET to use for this purpose (MOSFET for about 1A current).

    best regards
    Do you have a problem with Arduino? Ask question. Visit our forum Arduino.
  • ADVERTISEMENT
  • Helpful post
    #2 16491652
    Xantix
    Level 41  
    If you want to use the control directly from the uC port, you must use MOSFET Logic Level, i.e. one that fully opens at 5 V.
    You have a lot of it in the tme catalog.
  • Helpful post
    #3 16491659
    Slawek K.
    Level 35  
    Logic-level mosfets with P channel are not very popular, but there are you need SMD or THT?

    pozdr
  • ADVERTISEMENT
  • #4 16491683
    JokoPS
    Level 15  
    rs6000 wrote:
    do you need SMD or THT?

    I need Mosfeta THT
  • ADVERTISEMENT
  • #6 16491751
    Anonymous
    Level 1  
  • #7 16491803
    JokoPS
    Level 15  
    trymer01 wrote:
    Using SMD is not difficult, even instead of THT.

    I can use SMD without any problems - I will only design the board.

    Generally, I need PMos to turn off the computer fan (12V 4pin) using Arduino (must be disconnected +). The fan is controlled by PWM but the electronics in the fan protect it against switching off at 0% filling.
  • Helpful post
    #8 16491991
    landy13
    Level 31  
    JokoPS wrote:
    I need PMos to turn off the computer fan (12V 4pin) using Arduino (must be disconnected +).
    You won't turn off the 12V line with PMOS at five volts on the gate. You must give an additional transistor.
  • Helpful post
    #9 16492007
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #10 16493677
    JokoPS
    Level 15  
    All in all right, I did not think that it will not drive ... In this case, I will use, for example, BC547 to control Mosfeta.
  • #11 16493799
    landy13
    Level 31  
    JokoPS wrote:
    I didn't think it wouldn't drive ...
    If you use the word "controls" in the commonly known meaning ("= = turns on"), the opposite is true. The mosfet will be controlled all the time, it cannot be used turn off .
  • #12 16493894
    JokoPS
    Level 15  
    landy13 wrote:
    The mosfet will be controlled all the time, it cannot be turned off.

    Well, PMos will be on all the time and turns off when voltage is applied to the gate.

    I made a simple layout: BC547 base through a 5k resistor for Arduino, ground emitter, collector for IRF9540 gate, source up to + 12V, drain for + fan. In addition, a 10k resistor between the gate and the source.
    After testing, it seems that everything works as it should.

    Is there such an advantage of using PMos instead of PNP in such a simple system?
  • Helpful post
    #13 16493911
    Slawek K.
    Level 35  
    MOSFET-P Channel Control with Arduino - Selecting 1A P-Type Transistor for Direct 5V Drive

    pozdr
  • Helpful post
    #14 16493919
    Anonymous
    Level 1  
  • #15 16497233
    JokoPS
    Level 15  
    trymer01 wrote:
    MOS instead of BJT as a key - the advantages are always two:

    Great, thanks a lot, everything works as it should, I still have a quick question whether in this case the application of Mosfeta will give something or leave BJT better?

    MOSFET-P Channel Control with Arduino - Selecting 1A P-Type Transistor for Direct 5V Drive

    I have only modified the RC filter to 22uF and 5k ohm

    (controlled by PWM signal from arduino, supply voltage 12V, system needed to control voltage depending on filling)
  • Helpful post
    #16 16497332
    Anonymous
    Level 1  
  • #17 16497881
    JokoPS
    Level 15  
    trymer01 wrote:
    Why load in the emitter?

    I thought that in this case (emitter repeater) the load must be in the emitter. Is it possible to give a load in the collector in such a system?

    The only thing that comes to my mind that there is no voltage reduced by Ube at the output is the use of PNP and then the load in the collector.

    trymer01 wrote:
    The system will not work well, because the filtered PWM signal will give an almost constant value of the control voltage WO regardless of filling, because the WO consumes a negligible current Ibias.


    I tested this circuit and the output voltage is regulated in the range of 3.5-11V.

    I would like to ask for suggestions on what to recommend in such a case that everything would work ok and the regulation would take place from 2-12V.
  • #18 16540196
    JokoPS
    Level 15  
    In a nearby electronics I have PMOS smd available (this mosfet will be switched on by NPN BC547. Supply voltage 12V)
    AP9567GH
    NTD20P06L
    BSP171P
    IRLML9301
    IRF7342

    Is there a difference which of the above will apply or take the cheapest? (at the moment, the housing doesn't matter because I'm at the PCB design stage)

Topic summary

The discussion revolves around selecting a P-channel MOSFET for direct control using an Arduino, specifically for driving a 12V computer fan. The user seeks a logic-level MOSFET that can handle approximately 1A current without the need for an NPN transistor. Responses highlight the rarity of logic-level P-channel MOSFETs, with suggestions for both through-hole (THT) and surface-mount (SMD) options. The IRLU9343 and DMP2100U-7 are recommended for their low on-resistance and efficiency. The user ultimately decides to use a BC547 NPN transistor to control the P-channel MOSFET, as it is necessary to switch off the 12V line effectively. The advantages of using MOSFETs over BJTs are discussed, including lower voltage drop and easier control. The conversation concludes with the user inquiring about various available P-channel MOSFET models and their suitability for the application.
Summary generated by the language model.
ADVERTISEMENT