How can I test a TLP582 optocoupler?

How can I test a TLP582 optocoupler?

Ask QuestionAsked 4 days agoActive todayViewed 100 times1

Have few of these components (TLP582) and I need to design a test circuit to test its functionality.

Datasheet of TLP582

I have no idea how to make a circuit for this.

What should I be testing in an optocoupler?power-electronicsopto-isolatoroptoelectronicsshareedit  follow  flagedited Jan 6 at 12:24JRE44.2k88 gold badges7373 silver badges122122 bronze badgesasked Jan 6 at 9:11Axel Blaze1333 bronze badges

  • 1″Testing its functionality” is a rather broad range, and so the testing circuitry could be very simple or rather elaborate. The simplest circuit that I can think of would be a voltage supply, resistor and switch activating the input side, and (together with the voltage supply) a resistor and LED on the output side. Closing the switch would, if things are set up properly, activate the LED on the output side. If that is all you are interested in, I could give you a circuit diagram. But perhaps you want more? – Math Keeps Me Busy Jan 6 at 9:17
  • 3There are two test circuits in the data sheet. – Andy aka Jan 6 at 9:17
  • #Axel Blaze, @Math Keeps Me Busy’s LED test is good for newbie projects. For ninja projects like mine, I usually test with an application in mind, eg (1) Logic level = 3V3/5V0, (2) operating frequency = 10Hz (Note 1), (3) Operating current If = 5mA (Note 2) , (4) Arduino, Rpi, or NE555 oscillator. I usually start with NE555, set frequency = 1Hz/10Hz/100Hz and see if LED blinks. Note 1 – For simple relay circuits, 1 to 10 Hz is goo enough, because toy relays cannot toggle faster that 10Hz. Note 2 – you need to to decide the If from typical 5mA to max 20 mA. Higher frequencies need a scope. – tlfong01 Jan 6 at 10:11   
  • 1#Math Keeps Me Busy thank you for the info just having another doubt generally to determine a optocoupler is good/faulty what parameter must be determined or checked based on that can you suggest a circuit. – Axel Blaze Jan 6 at 16:22
  • 1@tlfong01 Thank you for the procedure can you show me a circuit diagram for it so i can understand it better please – Axel Blaze Jan 6 at 16:23
  • #Axel Blaze, Ah, let me see if I can suggest something. You might like to try to read some examples first (Note 1), then I can try to search my junk box for (1) TLP582 optocoupler, (2) bare bone relay switches (not modules), (3) NE555 timer/oscillators. Please let me know a little more of your electronics background, eg. do you know (a) how to use a multi-meter to measure voltage, current, and resistance, (b) how to use Arduino C++ or Rp python to blink a LED, … Chheers. – tlfong01 Jan 7 at 6:47   
  • Note 1 – My answer to the following relay question: How can I increase the output current to make it sufficient for relay module? electronics.stackexchange.com/questions/527190/… shows how to design an optocoupler for a relay circuit, with detailed calculation on the current and voltage. There is also a reference where you can find more relay circuit examples, and spec/datasheets of bare bone relays, and optocouplers. / to continue, … – tlfong01 Jan 7 at 6:57    
  • I am not using TLP582, perhaps I need to read the datasheet and see my examples using EL817C is also useful for TL582. Please feel free to make newbie comments or counter suggestions. – tlfong01 Jan 7 at 6:59   
  • 1@tlfong01 Yes I can use a multimeter and have worked on few simple arduino projects I did go through electronics.stackexchange.com/questions/527190/ but will it work on TLP582 ? – Axel Blaze Jan 7 at 7:35 
  • @Axel Blaze, You knowledge and skills is perfect for my potential answer, which I assume readers to my answer have only a little bit of experience in using optocouplers and relays. – tlfong01 Jan 7 at 7:42   
  • Now I am going away to search my junk box the real components to do our optocoupler experiment. I will also start reading the TLP582 datasheet. Ah, lock down afternoon tea time. See you later. Cheers. – tlfong01 Jan 7 at 7:46   
  • @Axel Blaze, Just some quick updates. (1) I skimmed the TLP582 datasheet and found its input side is simple and similar to the popular optocoupler EL817C. (2) However TLP582’s output is Totem Pole, while EL817C is open collector. Each kind of output has pros and cons. (3) There is 90% chance that the circuits from the two answers I mentioned for EL817C can easily be modified for TLP582. (4) I found the following in my junk box: (a) EL817C, (b) TLP5214, whch is similar to TLP582 with totem pole output. Unfortunately I did not find any TLP582. / to continue, … – tlfong01 Jan 7 at 12:32   
  • (c) A couple of bare bone relay switches. You might like to skimmed through the datasheets of TLP582, TLP5214, and EL817C, and let me know which of the three you prefer. Cheers. – tlfong01 Jan 7 at 12:32   
  • 1@tlfong01 Yes I went through the datasheets of TLP5214, EL817C and TLP582. TLP5214 is the next similar one in the list so that would be my choice. – Axel Blaze Jan 8 at 5:43
  • @Axel Blaze, Thank you for your reply. So I would suggest to start with your first choice – TLP5214. Actually when I asked you to make the choice, I was expecting you to choose TLP582 or TLP5214. I guessed you might tell me that you have many TLP582s in your place where TLP582 is the standard, or your project supervisor specifies TLP582. Or you have a tight deadline, then I would agree with TLP582. Now if you don’t have any particular reason to insist on TLP582, then TLP5214 seems to be the first/best choice, for the following reasons. / to continue, … – tlfong01 2 days ago   
  • (1) If you have no problem getting a TLP5214 through hole chip, or SMD module (I found both lying in my junk box, collecting dust for a couple of years!), then we can do pairing experiment/learning in two differents parts of the world, perhaps in different time zones. (2) If we have completed learning TLP512, you might like to repeated our joint TLP5214 experiemtn using TP582, working on your own, which I think is the best way to learn by problem solving and case studies. / to continue, … – tlfong01 2 days ago   
  • I forgot to mention that there is yet one more optocoupler we can consider, that it EL354, mentioned in my other post: How to properly use a relay module with JD-VCC from Arduino/Raspberry? – RpiSE, 2020jun13, 3k times electronics.stackexchange.com/questions/505318/…. EL354 is not that popular, and I don’t have it in hand, so not a good choice. Anyway, you might like to tell me other brainstorming ideas such as your preferred deadline, before I start reading the TLP5214 datasheet. Tea time, see you later. – tlfong01 2 days ago    
  • 1@tlfong01 Corrections TLP582 is better to start apologies for mentioning TLP5214. I got more 5 days as the deadline. Too much going on and in a baffled state , I would love to try TLP5214 next in the list. – Axel Blaze 2 days ago
  • No problem. Perhaps I can try TLP582 first. Please let me know if you have a through hole chip or a assembled module. It would be nice to give me a link or a photo. Cheers. – tlfong01 2 days ago   
  • 1@tlfong01 Yes here is the link datasheetspdf.com/pdf-file/517550/Toshiba/TLP582/1 2. Regarding image it looks the same as the one in datasheet. google.com/… – Axel Blaze 2 days ago
  • @Axel Blaze, The datasheet is good. Now one more thing – What do you mean to “test” the optocoupler? Do you just need to show (a) if you can blink a LED, by hand, using a jumper to connect the optocoupler’s input to a 1.5V battery? Or (b) Use NE555 oscillator as input instead of a battery or jumper wire? Or (c) Trigger a relay. Or (d) Must use Arduino code? – tlfong01 2 days ago    

add a commentstart a bounty

1 Answer



How can I test a TLP582 optocoupler?


Part A – Short Answer

TLP582 is similar to the popular ELP817C, except the following:

  1. TLP582 has Totem Pole output, so can either source or sink current. ELP817C other other hand, can only sink current.
  2. TLP582 has Schmitt trigger inverter in the input, while EL817C has none (not very sure) TLP 582 can be biased similar to EL817C, as described in References 1 and 2 below.

Procedures to testing TLP582

  1. To blink a LED(a) Connect one end of 1kΩ resistor to 5V(b) Connect the other end of resistor to TLP582 Input LED Pin 1(c) Connect Ground to TLP582 Pin 2 to Ground(d) Connect one end of another 1kΩ resistor to TLP582 Output (Pin 4)(e) Connect …

Note 1

I would suggest the OP to complete my circuit design, and also draw a schematic, showing the current calculations, as what is done in the EL817C in AppendixB. 🙂

Note 2

All the test procedures and calculations have not been proofread.


I am just a friendly hobbyist. No guarantee no nothing won’t melt down or blow up.

  1. To switch a relay

Appendix B show how an EL817C optocoupler is used to switch a relay. TLp582 can be use the same circuit to switch a relay. However, there is one complication: EL817C output is open collector, so it can only be used to sink current, or Low level triggered at the front end. On the other hand, TLP582’s output is is Totem Pole (Push Pull) output, so can be used to do either High or Low level triggering.

Part B – Long Answer

  1. / to continue, …


(1) How can I increase the output current to make it sufficient for relay module?

(2) How to properly use a relay module with JD-VCC from Arduino/Raspberry?

(3) Push–pull (Totem Pole) Output – Wikipedia

(4) Schmitt Trigger – Wikipedia


Appendix A – TLP582 Datsheet Summary

tlp582 summary 1
tlp582 summary 2
tlp582 summary 3

Appendix B – EL817C and EL354 Datasheet Summary

EL817c el354 summary

Appendix C -TLP521-4 Datasheet Summary

tlp521-4 summary 1
tlp521-4 summary 2

Appendix D – Switching a relay using EL817C

el817c example

Appendix E – TLP582 Test Suggestion

TLP582 Test Suggestion

shareeditdeleteflagedited just nowanswered 2 days agotlfong011,30411 gold badge55 silver badges99 bronze badgesadd a comment

Categories: Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.