Using 3.3V to switch a 5V (or higher) load with transistors

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ม.ค. 2025

ความคิดเห็น • 10

  • @tyrian869
    @tyrian869 5 หลายเดือนก่อน

    Can we still control the voltage range like 0-5v on the output with 3.3v?

  • @tyrian869
    @tyrian869 5 หลายเดือนก่อน

    I have a question, if I were to wire two (NPN and PNP) like you, does the load that i'm needing to drive only get pulled from the PNP? as my PNP can handle more source current then my NPN can for the load I'm trying to control.

  • @phillipzan2005
    @phillipzan2005 ปีที่แล้ว

    I remember transistors and mosfets by how they are controlled. P=positive/voltage and N=negative/ground control. But your way works too. my question is why not use a PNP For the first transistor?

  • @Admin17971
    @Admin17971 ปีที่แล้ว

    love it

  • @tyrian869
    @tyrian869 5 หลายเดือนก่อน

    Dang it I should have realized this was not going to work for me, I can't sweep 0-5v with 3.3 the lowest I was able to to go was like 2.3v with a 1.5v analog voltage from MC I'm pulling my hair out now this is so stupid they make 3.3 and 5v versions I have all these dam components and no luck whatsoever

    • @yoshimaker-iot
      @yoshimaker-iot  5 หลายเดือนก่อน

      So you're trying to convert an analog 0-3.3 to an analog 0-5?

    • @tyrian869
      @tyrian869 5 หลายเดือนก่อน

      @@yoshimaker-iot Might as well, I don't see why it would make anymore sense to use a digital pin? I'm trying to ultimately fade a 12v led with pnp or npn transistor somthing that should be so simple. yet the new arduino nano esp32 only does 3.3 instead of 5v on its I.O which is do dumb! but that's just half of it, I'm trying to be able to fade the led allowing the Arduino to control 0-12v for fading effects, Understand the 12v is a separate power supply

    • @yoshimaker-iot
      @yoshimaker-iot  5 หลายเดือนก่อน

      @@tyrian869 Typically you'd fade an LED with a PWM and adjust the duty cycle, not the voltage. So use a PWM to switch the higher 12V and then set the duty cycle at say 50% to get 50% brightness.

    • @tyrian869
      @tyrian869 5 หลายเดือนก่อน

      @@yoshimaker-iot Oh maybe that's a misunderstanding on my behalf. So analog output can't be anything in between 0 and 3.3v which is ultimately saturating the Field on the mosfet? I am not opposed of using pwm but I still don't understand why I'd use one over the other

    • @tyrian869
      @tyrian869 5 หลายเดือนก่อน

      I ended up ordering a brushed motor controller which should also work as an LED driver that I can use in conjunction with a logic level shifter in case this driver which is advertised 3.3 to 5 volt logic doesn't support 3.3 volt logic because that's a misunderstanding in and of itself