What is sourcing and sinking in a circuit?

Поділитися
Вставка
  • Опубліковано 13 гру 2024

КОМЕНТАРІ • 12

  • @jefrancisconcepcion4661
    @jefrancisconcepcion4661 Рік тому +2

    This is so helpful for new engineers! Kudos!

  • @moneshrathod
    @moneshrathod 7 місяців тому +2

    great video and explanation

  • @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!

  • @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.

  • @castlecodersltd
    @castlecodersltd Рік тому +1

    Thank you for this explanation, it really helped ☺

  • @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.

  • @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?

  • @khomo12
    @khomo12 Місяць тому

    👍👍👍