Step by step electronics comparator circuit to turn LED on off using LM393N LM393 DIP 8 IC

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ส.ค. 2024
  • Comparator I bought for use with a lower voltage direct current single supply power source. Looks like it is intended to control the low voltage side of the circuit (ground) and the opposite side of the load being controlled needs to ome from the positive side of the power supply.
    www.ti.com/lit/ds/symlink/lm39... is one of the datasheets I use to learn about the LM393N LM393 component.
    I do a step by step build of a comparator circuit to turn an LED on or off based on adjusting the trimpot voltage at the noninverting pin and comparing that to a fixed voltage at the inverting pin, to determin the output voltage of either high or low.
    / electronzap
    / electronzap
    / electronzap
    / electronzap
    / electronzapdotcom
    / electronicsstudy
    / electronzap
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @OOOAAAIII
    @OOOAAAIII 5 ปีที่แล้ว +2

    Very clear video, great for beginners like me. Hard to find on TH-cam, thank you!

    • @Electronzap
      @Electronzap  5 ปีที่แล้ว

      Glad to hear! Thanks for watching!

  • @robertthompson5908
    @robertthompson5908 ปีที่แล้ว +2

    “For some reason”. It’s an open collector output. That means the output is fed through an internal NPN transistor, with the collector tied to the output pin and the emitter tied to ground. Without a pull-up resistor the output is either ground or floating.

  • @jackcornwall3270
    @jackcornwall3270 3 ปีที่แล้ว +1

    I had a different comparator but still worked. Thank you.

    • @Electronzap
      @Electronzap  3 ปีที่แล้ว

      Glad to hear, thanks for watching!

  • @eguru7887
    @eguru7887 4 ปีที่แล้ว +4

    The LM393's output is an open collector. That is why the output doesn't become +5V. It will be floating or else pulled to ground.If you want it to take +5V then you have to use a pull up resistor at the output.The datasheet recommends the use of a 10kOhm resistor.

    • @basilhsgr5018
      @basilhsgr5018 7 หลายเดือนก่อน

      Oh mate thanks for the explanation!!! You saved me!!!

  • @blackturtleshow
    @blackturtleshow 6 ปีที่แล้ว

    Interesting demo!

    • @Electronzap
      @Electronzap  6 ปีที่แล้ว

      Thanks for watching!

  • @blockeduser5769
    @blockeduser5769 5 ปีที่แล้ว +5

    LM393N outputs are only able to [SINK] a load to ground.
    No provisions within the chipset to [SOURCE] a + Positive output.
    *There are comparator IC chipsets that wil [SOURCE] a +Positive output.
    [Inverting] [Non-Inverting] can be summed up by the following logic expression
    [IF] 1V- > 1V+
    [THEN] 1-OUT SINKS TO GROUND
    *No other condition causes
    the output to [SINK] ground
    * only requires ~ 60 milivolt potential difference between [V-] and [V+] to fully saturate the output

    • @Enigma758
      @Enigma758 4 ปีที่แล้ว

      The underlying reason is that the output stage of the LM393 is open collector. it is common to use a pullup resistor on the output. In a later video, electronzap does exactly that. th-cam.com/video/QFuUKB4R_OU/w-d-xo.html

  • @sabalah.sataleh
    @sabalah.sataleh ปีที่แล้ว +1

    Great Video

  • @celtichongy
    @celtichongy 5 ปีที่แล้ว

    Thx for sharing.

  • @glennkrieger
    @glennkrieger 3 ปีที่แล้ว

    Great explanation. A circuit diagram is always helpful. I'm guessing the trim pot is a 1K Ohm?

  • @arijeetroy8747
    @arijeetroy8747 4 ปีที่แล้ว

    hi, I am comparing two signals one of the triangle wave and sin wave, but my circuit is not working, can you help about that.

  • @keithcitizen4855
    @keithcitizen4855 3 ปีที่แล้ว

    Glad my DIY computer safety standby hack circuit with this device worked out fine -
    in my case PC motherboard re purposed control red and white wire only deviated by ,,, .07 of a volt.

  • @GmanBB
    @GmanBB 4 ปีที่แล้ว +1

    You are getting digital output. Is only 0 or 1. High or low. It’s designed to use with digital back end.

  • @artr5027
    @artr5027 5 ปีที่แล้ว

    Thank you for explaining this to me.
    I was pulling my hair out trying to figure this out.
    Along with your second video I got it, output is negative, in+ needs to be less than in- to activate.

    • @Electronzap
      @Electronzap  5 ปีที่แล้ว

      Glad to help, thanks for watching!

  • @henrybader2380
    @henrybader2380 5 ปีที่แล้ว

    So current is flowing into the output?

    • @blockeduser5769
      @blockeduser5769 5 ปีที่แล้ว

      Henry Bader Pin "OUT" grounds whatever you want it to ground [IF] V- is greater than V+. Yes the holes are flowing from neg to pos

  • @mrtom64
    @mrtom64 6 ปีที่แล้ว +1

    The LM358 is also a low power, dual op-amp which not only sinks current but can also source around 40mA too...
    Datasheet:
    goo.gl/lDW3Z
    It's pin for pin compatible with the LM393 and is also dirt cheap. It may be a more versatile alternative for you?
    Thanks for sharing the videos, appreciated.

    • @Electronzap
      @Electronzap  6 ปีที่แล้ว

      Thanks for the tips! I do have at least 1 LM358 that I used in a couple videos. Ran into some problems which is why I got these. I plan to do more testing in the future.

    • @mrtom64
      @mrtom64 6 ปีที่แล้ว

      Oooops, so you did. Sorry. I'll have to watch those vids again.

    • @Electronzap
      @Electronzap  6 ปีที่แล้ว

      It's all good, I forget about most of the videos I've made lol. Thanks for watching!

  • @user-su5sq5ib3i
    @user-su5sq5ib3i 5 ปีที่แล้ว

    Thanks! Are you Canadian? You sound like it lol

    • @Electronzap
      @Electronzap  5 ปีที่แล้ว

      Thanks for watching! I'm Minnesotan. I grew up with my grandpa who was born in Canada.

    • @user-su5sq5ib3i
      @user-su5sq5ib3i 5 ปีที่แล้ว

      @@Electronzap ok thats why you sound like a Canadian lol. Im from Nova Scotia. Going electronics tech college next Sept so these videos are great for getting familiar with components and testing

    • @user-su5sq5ib3i
      @user-su5sq5ib3i 5 ปีที่แล้ว

      @@Electronzap ok thats why you sound like a Canadian lol. Im from Nova Scotia. Going electronics tech college next Sept so these videos are great for getting familiar with components and testing

    • @Electronzap
      @Electronzap  5 ปีที่แล้ว +1

      Good times! :D I'm just a hobbyist, but hopefully I come up with stuff that helps formal students as well.

    • @jimedgar6789
      @jimedgar6789 9 หลายเดือนก่อน

      Truth. I was waiting for an "eh" or a "you hoser"