How Optocouplers Work and How to Use Them - DC To Daylight

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 มิ.ย. 2024
  • In this episode, we look at the optocoupler, or optoisolator, as it's also known. This little device is great at isolating voltage and noise from one circuit to another, and it can even be used to translate voltage levels.
    We'll dive into how to go about biasing both the input and output of an optocoupler. Then we'll breadboard a demonstration circuit, including the use of a Schmitt trigger to give our circuit a snappier response time. We'll also look at the results on an oscilloscope. So let's explore optocouplers!
    Discuss this episode and ask questions on the element14 community: bit.ly/3xCejS1
    Shop for optocouplers and optoisolators on your local store website: bit.ly/3BRgiUY
    Engage with the element14 presents team on the element14 Community - suggest builds, find project files and behind the scenes video: bit.ly/3tmdewv
    Visit the element14 Community for more great activities and free hardware: bit.ly/3q6YMpu
    Tech Spotlights: bit.ly/3qPrDhM
    RoadTest and Reviews: bit.ly/3pV5Bux
    Project14: bit.ly/31wbnJY
    #0:00 Welcome to DC to Daylight
    #0:51 Optocoupler
    #2:00 Breaking It Down
    #8:10 Breadboard
    #10:05 Give Your Feedback
    #optocoupler #breadboard #optoisolator
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @7alfatech860
    @7alfatech860 ปีที่แล้ว +11

    Hi Derek, thank you for not oversimplifying the topic! I really appreciate how you show the derivation of the values from the data sheet, etc. In addition, it is great to hear some industry level concerns too, like longevity, which most presenters simply gloss over.

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

      Thanks 7Alfa. Yes, it always kind of bugs me that the long-term reliability stuff is left out in the text, but then again we don't usually consider designing stuff to work the same 40 years out. -Derek

  • @justovision
    @justovision ปีที่แล้ว +13

    Another use: Optocouplers are part of the MIDI standard to prevent ground loops between devices.

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

      I hadn't considered that, but I would like to play with MIDI someday. My wife has an old keyboard with a MIDI output, now to think of an interesting project! -Derek

  • @t1d100
    @t1d100 ปีที่แล้ว +7

    I enjoy Derek's teaching style.

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

      Thank you very much! -Derek

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

    I like your show. though it is still way above my head it gives me incentives to understand the subject for the day.. and is one of the best things I have found to help me learn.. The old sink or swim routine.. it has always worked for my though at 70 it is getting a bit harder but I still find it fun.. I thrive on a bit of challenge.. thanks guys.. you really have helped in my quest to learn electronics (at least the basics) carry on!

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

      Hey tinkmarshino - This is great feedback, and it's cool to hear that these topics are helpful to someone learning on their own. Please keep coming back... I've got tons of back to basics stuff in the works. -Derek

  • @fixitalex
    @fixitalex ปีที่แล้ว +7

    Back in the days we were making it the hard way with led and photo-transistor.

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

      I once tried making an automatic dog feeder. I needed a way to determine if there was food in the dish, and ended up using an led to illuminate it, and a phototransistor to detect reflected light. It worked great... in the dark. That's when I learned about modulating the signal in order to work in daylight - back to the drawing board kid. :) -Derek

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

    Yes, useful as you can easily get inversion, even if you do not want isolation, or to interface to different voltage levels as well. Plus the simple way to do high side drive, though the on state voltage drop can make it bad with bipolar, but the mosfet driver versions are great for making N channel switches that are easy to interface although they are also going to be slew rate limited.

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

      Hi SeanBZA. Interesting application as a high side driver. I hadn't considered that for the demonstration, but this may make a good future topic when I start poking around with FETs. Thanks for the feedback. -Derek

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

    Nice equipment collection in the back ground !

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

    Super useful. Thank you!

  • @loverboykimi
    @loverboykimi 8 หลายเดือนก่อน

    Good Stuff! Thnks.

  • @richardcletus6026
    @richardcletus6026 4 หลายเดือนก่อน

    Ive been trying to firgure out how and where to jam some PC817s into a guitar or pedal. Had no idea how they worked or how I could apply them, but I have a hunch now. Vague hunch, but I have a big pack of components and a breadboard. Time to get pragmatic.

  •  ปีที่แล้ว

    Optocouplers are often used in the retroaction loop of switching power supplies, where they are probably biased. Does that mean that the regulation will get off as time goes? That might explain faults on old mains connected boards and PSUs?

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

    Cool 👌

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

    For some reason, I'm having issues with pwm when connecting the LED side to an Arduino, and the transistor side to a guitar signal in a PC817 optocoupler. Any attempt to adjust the brightness of the internal LED introduces noise into the signal unless the LED is all the way off or all the way on. Wonder why?

  • @greatscott36
    @greatscott36 3 หลายเดือนก่อน

    I'm confused, I see he uses the resister on the positive side but I look up circuits and it shows the other side, dose it matter witch side or...?

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

    What about high volatges? like 240V AC to micro controller.. I want to get signal from AC voltage to micro controller.. How can I calculate the RIN value.. acc to your formula it's 47K resistor.. will it work?

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

    can i use schmitt trigger optocouplers instead of NAND gate for switching ?

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

    Another use is dealing with noisy mechanical switches like a micro switch on the end of a long cable especially if that cable
    is conducting power or other signals.

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

    I made a DIY Vactrol VTL5C4 for my Audio limiter circuit.

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

      Awesome. That sounds like a fun project. -Derek

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

    how about doing this for linear/analog?
    its strange, that with arduino etc being so popular, that interfacing and isolating an analog signal seems so overlooked...
    been waiting a month for hcnr200, got sick of it, been playing around with pc817s in a cross coupled feedback loop with some promising results... input drives the isolated output, thats fed back to the output LED to drive an isolated feedback loop in the input...
    im not actually concerned about precision, as long as its pretty close and its isolated... it all seems fairly linear so far...

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

    Galvianic?

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

    Good subject matter. Good narration. Good engineering design work. The overall video presentation is annoying because you keep switching the video back to showing you.

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

    if your video had just come out a week earlier it would have saved an arduino....oh well

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

      Oh no! Sorry to hear about your loss Clem. I hope you had a backup. -Derek