What is sourcing and sinking in a circuit?

Поделиться
HTML-код
  • Опубликовано: 22 май 2024
  • When creating a real-life circuit, particularly with a microcontroller or PLC, it is important to decide whether your device should be sourcing or sinking in your circuit. While, from an ideal perspective, the end result is the same, in actuality, there are significant performance differences between the two. The concept of what sourcing and sinking in a circuit is will be reviewed in this video, along with a few overall suggestions of when one may be appropriate over the other.
    0:00 Introduction
    0:13 High-level overview of sourcing and sinking
    0:53 Sourcing and sinking with microcontrollers
    1:52 Is sourcing or sinking better?
    2:56 Real-life usage of sourcing and sinking
    3:36 What else is there on CircuitBread.com?
    For electronics tools, tutorials, equations and more check out our site: www.circuitbread.com
    And check out our Friends of CircuitBread, who offer special discounts, product samples, resources and more to our users: www.circuitbread.com/friends
    CircuitBread is joining the fight to help people more easily learn about and use electronics. With an ever-growing array of equations, tools, and tutorials, we're striving for the best ways to make electronics and electrical engineering topics more accessible to everyone.
    Connect with CircuitBread:
    Discord ➤ / discord
    Instagram ➤ / circuitbread
    Facebook ➤ / circuitbread
    Twitter ➤ / circuitbread
  • НаукаНаука

Комментарии • 11

  • @moneshrathod
    @moneshrathod 9 дней назад +1

    great video and explanation

  • @jefrancisconcepcion4661
    @jefrancisconcepcion4661 11 месяцев назад +1

    This is so helpful for new engineers! Kudos!

  • @cauhxmilloy7670
    @cauhxmilloy7670 Год назад +3

    Interesting video, though I do think it would benefit in discussing the intuition that it shouldn't matter (ideal vs real world circuits).
    At ~1:30, you show sourcing vs sinking with a microcontroller. Intuition (in ideal circuits) would suggest that there should be no difference, as current is still passing through the same path regardless of where the load happens to be placed. It would be nice to show the non-ideal / real world factors and characteristics that cause VCC drop.
    Perhaps a simple demo with an oscilloscope would be nice. It doesn't have to be long; just show the basic circuit, show how it triggers a rush of current, and show the oscilloscope. You're already doing that, sorta, with the animation, but maybe glossed over a little quick (at least imo).
    Thanks for the vids!

  • @castlecodersltd
    @castlecodersltd Год назад +1

    Thank you for this explanation, it really helped ☺

  • @shanh54
    @shanh54 Год назад

    Very interesting to hear the new terminology.

  • @shanh54
    @shanh54 Год назад

    I got my Associates in EET last year and have been struggling to find a job. Are there any resources for either side projects or self employment ideas at this level?

  • @GeoffryGifari
    @GeoffryGifari Год назад +1

    hmmm at first the idea confuses me because in all cases, current flows through both the load and the microcontroller.
    what if i say that whether or not the IC is sinking or sourcing depends on the relative position (in the circuit) of the IC and load with respect to VCC and ground?
    VCC -> load -> IC -> ground : IC is sinking
    VCC -> IC -> load -> ground : IC is sourcing
    and lets say we want to use the microcontroller to drive a DC motor through a transistor (to amplify the signal). Is the microcontroller sinking or sourcing in this case?

    • @CircuitBread
      @CircuitBread  Год назад +1

      That is correct, it does depend on the relative position of the load and the IC. I think your breakdown is correct and a good way to think of it. And in regards to the microcontroller driving a transistor to drive a DC motor, it is *sourcing* in this case, because it is providing the current to the transistor. Even if it's a MOSFET (which ideally won't use current but will in reality because of gate capacitances), it is still the MCU sourcing.

  • @zetaconvex1987
    @zetaconvex1987 Год назад +1

    I'm a little bit confused. Are you saying that it is better to put an LED between VCC and the pin, inverting the logic, rather than the usuall way of connecting the LED between pin and ground?

    • @CircuitBread
      @CircuitBread  Год назад +1

      Yep, exactly! I didn't like this idea at first - it hurt my "high is on, low is off" way of thinking, but then I started noticing that it's pretty common to put the LED between VCC and the GPIO. Finally, I learned why. In many cases, it won't make that big of a difference (or any at all) but, from all I've read and learned, it is best practice to use the MCU as a sink for an LED, not a source.

    • @zetaconvex1987
      @zetaconvex1987 Год назад

      @@CircuitBread Ah, OK. Thanks for the clarification.