


{"id":37004,"date":"2026-10-07T17:18:21","date_gmt":"2026-10-07T09:18:21","guid":{"rendered":"https:\/\/www.bestpcbs.com\/blog\/?p=37004"},"modified":"2026-10-07T17:18:24","modified_gmt":"2026-10-07T09:18:24","slug":"optocoupler-pinout","status":"publish","type":"post","link":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/","title":{"rendered":"Optocoupler Pinout Guide for Correct Wiring"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/#PC817_Optocoupler_Pinout\" >PC817 Optocoupler Pinout<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/#4N35_Optocoupler_Pinout\" >4N35 Optocoupler Pinout<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/#How_Does_the_6N137_Pinout_Differ_from_the_PC817\" >How Does the 6N137 Pinout Differ from the PC817?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/#How_Do_You_Identify_Pin_1_on_an_Optocoupler\" >How Do You Identify Pin 1 on an Optocoupler?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/#How_Do_You_Wire_a_PC817_Optocoupler\" >How Do You Wire a PC817 Optocoupler?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/#How_Do_You_Test_a_PC817_Optocoupler\" >How Do You Test a PC817 Optocoupler?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/#Are_Optocouplers_with_the_Same_Pinout_Interchangeable\" >Are Optocouplers with the Same Pinout Interchangeable?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/#FAQs_About_Optocoupler_Pinout\" >FAQs About Optocoupler Pinout<\/a><\/li><\/ul><\/nav><\/div>\n<div class=\"yzp-no-index\"><\/div><p>An <a href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/\">optocoupler pinout<\/a> identifies the input LED terminals and the output connections, but the pin numbers depend on the exact device. A PC817 has four pins, a 4N35 adds an accessible transistor base, and a 6N137 needs a powered output circuit. Finding the correct pin map first prevents reversed connections and helps you choose the right wiring arrangement.<\/p>\n<p>EBest Circuit (Best Technology) supports PCB fabrication, component sourcing, and PCB assembly for boards using optocouplers. DFM review and assembly inspection help address footprint fit, component orientation, and soldering before boards reach functional testing. For support with your PCB or PCBA project, contact <strong>sales@bestpcbs.com<\/strong>.<\/p>\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/optocoupler-pinout1.jpg\" alt=\"optocoupler pinout\" width=\"1200\" height=\"800\" class=\"wp-image-37001\" srcset=\"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/optocoupler-pinout1.jpg 1200w, https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/optocoupler-pinout1-300x200.jpg 300w, https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/optocoupler-pinout1-1024x683.jpg 1024w, https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/optocoupler-pinout1-768x512.jpg 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n<h2><span class=\"ez-toc-section\" id=\"PC817_Optocoupler_Pinout\"><\/span>PC817 Optocoupler Pinout<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>The PC817 uses pins 1 and 2 for its input LED, and pins 3 and 4 for its output phototransistor.<\/strong><\/p>\n<figure class=\"wp-block-table\">\n<table>\n<thead>\n<tr>\n<th>Pin<\/th>\n<th>Terminal<\/th>\n<th>Function<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>Anode<\/td>\n<td>LED input; receives forward current through a limiting resistor<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>Cathode<\/td>\n<td>LED return<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>Emitter<\/td>\n<td>Phototransistor return in a typical switching circuit<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>Collector<\/td>\n<td>Output node in a typical pull-up circuit<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>The LED transfers the signal optically to the transistor. There is no internal conductive connection between the input pair and the output pair.<\/p>\n<p><strong>Pin 4 is the collector, not the emitter.<\/strong> Swapping these terminals can produce misleading behavior rather than a reliable switch. Use the package drawing for the exact manufacturer and suffix when matching these numbers to physical leads.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"4N35_Optocoupler_Pinout\"><\/span>4N35 Optocoupler Pinout<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>The 4N35 has six pins, including one NC pin and a separate transistor base connection.<\/strong><\/p>\n<figure class=\"wp-block-table\">\n<table>\n<thead>\n<tr>\n<th>Pin<\/th>\n<th>Terminal<\/th>\n<th>Function<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>Anode<\/td>\n<td>Input LED anode<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>Cathode<\/td>\n<td>Input LED cathode<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>NC<\/td>\n<td>No internal connection<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>Emitter<\/td>\n<td>Output transistor emitter<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>Collector<\/td>\n<td>Output transistor collector<\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td>Base<\/td>\n<td>Access to the output transistor base<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>In a basic phototransistor switching circuit, the base can be left open. Some circuits add a base-emitter resistor to alter sensitivity and switching behavior; it is not a mandatory connection for every application.<\/p>\n<p><strong>Pins 3 and 6 serve different purposes.<\/strong> Pin 3 is unused internally, while pin 6 connects to the transistor. Grounding the base simply because it looks like an unused terminal can change how the device operates.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_Does_the_6N137_Pinout_Differ_from_the_PC817\"><\/span>How Does the 6N137 Pinout Differ from the PC817?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>The 6N137 has a powered logic output, so its extra pins include VCC, ground, and enable.<\/strong> It cannot use the PC817 wiring arrangement unchanged.<\/p>\n<figure class=\"wp-block-table\">\n<table>\n<thead>\n<tr>\n<th>Pin<\/th>\n<th>Terminal<\/th>\n<th>Function<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>NC<\/td>\n<td>No connection<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>Anode<\/td>\n<td>Input LED anode<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>Cathode<\/td>\n<td>Input LED cathode<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>NC<\/td>\n<td>No connection<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>GND<\/td>\n<td>Output-side ground<\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td>VO<\/td>\n<td>Signal output; requires a pull-up<\/td>\n<\/tr>\n<tr>\n<td>7<\/td>\n<td>VE<\/td>\n<td>Output enable control<\/td>\n<\/tr>\n<tr>\n<td>8<\/td>\n<td>VCC<\/td>\n<td>Output-side supply<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>For the Vishay 6N137, the recommended supply range is <strong>4.5\u20135.5 V<\/strong>. A <strong>0.1 \u00b5F bypass capacitor<\/strong> belongs close to pins 8 and 5. With enable high, LED current turns the output low; pulling enable low disables that response and lets the pull-up hold the output high.<\/p>\n<p>Pin 5 is the output circuit&#x27;s reference. It does not need to connect to the LED-side return for the signal to cross the isolation barrier.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_Do_You_Identify_Pin_1_on_an_Optocoupler\"><\/span>How Do You Identify Pin 1 on an Optocoupler?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>Locate the manufacturer&#x27;s pin-1 mark, then read the package drawing from its stated viewing direction.<\/strong> Printed text orientation alone is not a reliable pin-number reference.<\/p>\n<ol>\n<li><strong>Find the orientation mark.<\/strong> Depending on the package, this may be a dot, notch, or another feature identified in the mechanical drawing. A molding mark is not automatically a pin-1 indicator.<\/li>\n<li><strong>Establish the viewing side.<\/strong> A top view looks down onto the component body. A bottom view looks toward the leads from underneath and reverses the apparent left-right arrangement.<\/li>\n<li><strong>Follow the numbering around the package.<\/strong> For a conventional DIP viewed from above with its notch at the top, pin 1 is at the upper left. Numbers run down the left side and return up the right side.<\/li>\n<\/ol>\n<p>For example, a six-pin DIP in that orientation has <strong>1\u20132\u20133 down the left<\/strong> and <strong>6\u20135\u20134 down the right<\/strong>. This places the 4N35 collector, pin 5, midway down the right side.<\/p>\n<p>On a PCB, pad 1 must agree with the schematic pin number and assembly orientation. A correct circuit symbol still produces a wrong board if its footprint numbers are mirrored.<\/p>\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/optocoupler-pinout2.jpg\" alt=\"optocoupler pinout\" width=\"1200\" height=\"800\" class=\"wp-image-37002\" srcset=\"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/optocoupler-pinout2.jpg 1200w, https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/optocoupler-pinout2-300x200.jpg 300w, https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/optocoupler-pinout2-1024x683.jpg 1024w, https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/optocoupler-pinout2-768x512.jpg 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n<h2><span class=\"ez-toc-section\" id=\"How_Do_You_Wire_a_PC817_Optocoupler\"><\/span>How Do You Wire a PC817 Optocoupler?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>A simple PC817 interface uses a series resistor on the LED side and a pull-up resistor on the collector side.<\/strong> The example below is for a low-voltage, slow switching signal, such as an on\/off status input.<\/p>\n<p><strong>Input-side connections<\/strong><\/p>\n<ul>\n<li>Connect the 5 V input signal through a <strong>750 \u03a9 resistor<\/strong> to pin 1.<\/li>\n<li>Connect pin 2 to the input-side return.<\/li>\n<li>Use a signal source that can supply approximately <strong>5 mA<\/strong>.<\/li>\n<\/ul>\n<p>Using an assumed LED forward drop of 1.2 V, the estimated input current is <strong>(5 \u2212 1.2) \/ 750 \u2248 5.1 mA<\/strong>. This is an example calculation; actual current also depends on the source voltage and the LED&#x27;s forward voltage.<\/p>\n<p><strong>Output-side connections<\/strong><\/p>\n<ul>\n<li>Connect pin 3 to the receiving circuit&#x27;s ground.<\/li>\n<li>Connect pin 4 through a <strong>10 k\u03a9 pull-up resistor<\/strong> to the receiving circuit&#x27;s 3.3 V supply.<\/li>\n<li>Connect the receiving input to pin 4.<\/li>\n<\/ul>\n<p>The pull-up requires approximately <strong>0.33 mA<\/strong> when the output is near ground, excluding other load current. These values provide a light load for a bench demonstration. A production design must also meet the receiving input&#x27;s voltage thresholds across component variation and temperature.<\/p>\n<p><strong>The output is inverted.<\/strong> With the LED off, the pull-up holds pin 4 high. With adequate LED current, the transistor pulls pin 4 low. The transistor sinks current; it does not generate the output-side supply voltage.<\/p>\n<p>To retain galvanic isolation, keep the two returns separate and power the sides from appropriately isolated sources. A shared supply return or an instrument ground connection can join them externally.<\/p>\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/optocoupler-pinout3.jpg\" alt=\"optocoupler pinout\" width=\"1200\" height=\"800\" class=\"wp-image-37003\" srcset=\"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/optocoupler-pinout3.jpg 1200w, https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/optocoupler-pinout3-300x200.jpg 300w, https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/optocoupler-pinout3-1024x683.jpg 1024w, https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/optocoupler-pinout3-768x512.jpg 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n<h2><span class=\"ez-toc-section\" id=\"How_Do_You_Test_a_PC817_Optocoupler\"><\/span>How Do You Test a PC817 Optocoupler?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>Test the input LED first, then verify that input current changes the output voltage.<\/strong> A diode reading alone cannot prove that the complete optocoupler works.<\/p>\n<p><strong>1. Check the input LED with power removed<\/strong><\/p>\n<p>For a loose device, use the meter&#x27;s diode mode with the red probe on pin 1 and the black probe on pin 2. A working input normally shows a forward diode reading; reversing the probes normally shows an open indication. The displayed voltage depends on the meter&#x27;s test current.<\/p>\n<p>A near-zero reading in both directions suggests a short. An open indication both ways may mean an open LED, incorrect contact, or an unsuitable meter test range. In-circuit measurements can be affected by surrounding components.<\/p>\n<p><strong>2. Check optical switching with a low-voltage supply<\/strong><\/p>\n<p>Use the example circuit above. Keep the 3.3 V output supply connected and measure pin 4 relative to pin 3. Switch the LED input off and on.<\/p>\n<figure class=\"wp-block-table\">\n<table>\n<thead>\n<tr>\n<th>Observation<\/th>\n<th>Likely explanation or next measurement<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Output changes from near 3.3 V to a low voltage<\/td>\n<td>The device transfers an on\/off signal in this test circuit<\/td>\n<\/tr>\n<tr>\n<td>Output stays high<\/td>\n<td>Measure the voltage across the 750 \u03a9 resistor to establish whether LED current flows; also check collector\/emitter orientation<\/td>\n<\/tr>\n<tr>\n<td>Output stays low with the LED off<\/td>\n<td>Look for an output short, incorrect wiring, or another circuit pulling the node low<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p>Input current can be calculated from the measured resistor voltage using <strong>I = V \/ 750 \u03a9<\/strong>. This avoids guessing whether the LED is receiving current.<\/p>\n<p>Passing this test does not establish switching speed, guaranteed CTR, or insulation performance. Those need measurements appropriate to the actual application.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Are_Optocouplers_with_the_Same_Pinout_Interchangeable\"><\/span>Are Optocouplers with the Same Pinout Interchangeable?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>Matching pin numbers is necessary for a direct replacement, but it does not establish electrical or mechanical compatibility.<\/strong> A substitute can fit the board and still change the output signal.<\/p>\n<ul>\n<li><strong>CTR and drive current.<\/strong> In a phototransistor optocoupler, a lower current transfer ratio can leave too little collector current to pull the output low. Compare guaranteed values at relevant LED current and temperature, not just typical values.<\/li>\n<li><strong>Switching behavior.<\/strong> A device that passes a static on\/off test may distort short pulses. Load resistance and transistor saturation also affect the waveform.<\/li>\n<li><strong>Operating limits.<\/strong> Collector voltage, LED reverse voltage, current, and temperature ratings must suit the circuit. Absolute maximum ratings are not recommended operating points.<\/li>\n<li><strong>Package and isolation geometry.<\/strong> Lead pitch, lead form, body dimensions, and insulation specifications can differ even when the terminal names match. The PCB&#x27;s spacing must remain suitable as well.<\/li>\n<\/ul>\n<p>Output type is another distinction that a similar-looking package can hide. A phototransistor, a powered logic-output device, and a TRIAC-output optocoupler do different jobs.<\/p>\n<p>When approving <a href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/08\/alternative-electronic-components\/\">alternative electronic components<\/a> for an existing assembly, retain the full manufacturer part number and validate the substitute in the actual circuit. A matching footprint alone is not enough to call it a drop-in replacement.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"FAQs_About_Optocoupler_Pinout\"><\/span>FAQs About Optocoupler Pinout<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>Can an NC pin be used as a convenient PCB connection point?<\/strong><\/p>\n<p>Leave it unconnected unless the exact device documentation permits another use. An NC label is not an invitation to route unrelated signals through that pad; doing so may also affect spacing around the isolation barrier.<\/p>\n<p><strong>Do both sides of an optocoupler need a common ground?<\/strong><\/p>\n<p>No. Optical signal transfer works with separate input and output references. Connecting their grounds creates an external conductive path and removes galvanic separation between those references.<\/p>\n<p><strong>What happens if the input LED is connected backward?<\/strong><\/p>\n<p>It will not produce the intended optical signal. Excessive reverse voltage can damage it, so reverse connection is not a valid way to turn the device off.<\/p>\n<p><strong>Do optocoupler suffixes change the pinout?<\/strong><\/p>\n<p>Not necessarily. A suffix may identify a CTR grade, lead form, packaging option, or approval option. Its meaning is manufacturer-specific; the complete order code determines which package drawing and specifications apply.<\/p>\n<p><strong>Is an optocoupler module&#x27;s terminal layout the same as the bare device&#x27;s pinout?<\/strong><\/p>\n<p>Usually it is different. Modules can add resistors, indicators, connectors, and other circuitry. Follow the module&#x27;s terminal labels and schematic rather than assigning chip pin numbers to its screw terminals.<\/p>\n<p>Getting the <a href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/\">optocoupler pinout<\/a> right is the starting point for consistent board assembly. EBest Circuit supports PCB fabrication, sourcing, and PCBA for your approved circuit and component requirements. Discuss your next build with <strong>sales@bestpcbs.com<\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>An optocoupler pinout identifies the input LED terminals and the output connections, but the pin numbers depend on the exact device. A PC817 has four pins, a 4N35 adds an accessible transistor base, and a 6N137 needs a powered output circuit. Finding the correct pin map first prevents reversed connections and helps you choose the [&hellip;]<\/p>\n","protected":false},"author":33085,"featured_media":37001,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[7085],"tags":[8720,8722,8721],"class_list":["post-37004","post","type-post","status-publish","format-standard","hentry","category-electronic-components","tag-optocoupler-pinout","tag-optocoupler-wiring","tag-pc817-optocoupler"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Find the correct optocoupler pinout for PC817, 4N35, and 6N137, identify pin 1, and follow practical wiring and testing steps for reliable connections.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"zeng, liuyan\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"PCB &amp; MCPCB - EBest PCB - More Technical Details &amp; News on PCB, MCPCB &amp; Ceramic PCB from EBest PCB\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Optocoupler Pinout Guide for Correct Wiring\" \/>\n\t\t<meta property=\"og:description\" content=\"Find the correct optocoupler pinout for PC817, 4N35, and 6N137, identify pin 1, and follow practical wiring and testing steps for reliable connections.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/optocoupler-pinout1.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/optocoupler-pinout1.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t\t<meta property=\"og:image:height\" content=\"800\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-10-07T09:18:21+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-10-07T09:18:24+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Bestpcbs1\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@bestpcbs\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Optocoupler Pinout Guide for Correct Wiring\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Find the correct optocoupler pinout for PC817, 4N35, and 6N137, identify pin 1, and follow practical wiring and testing steps for reliable connections.\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@bestpcbs\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/optocoupler-pinout1.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/optocoupler-pinout\\\/#blogposting\",\"name\":\"Optocoupler Pinout Guide for Correct Wiring\",\"headline\":\"Optocoupler Pinout Guide for Correct Wiring\",\"author\":{\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/author\\\/zengliuyan\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/optocoupler-pinout1.jpg\",\"width\":1200,\"height\":800,\"caption\":\"optocoupler pinout\"},\"datePublished\":\"2026-10-07T17:18:21+08:00\",\"dateModified\":\"2026-10-07T17:18:24+08:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/optocoupler-pinout\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/optocoupler-pinout\\\/#webpage\"},\"articleSection\":\"Electronic Components, Optocoupler Pinout, Optocoupler Wiring, PC817 Optocoupler\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/optocoupler-pinout\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/category\\\/electronic-components\\\/#listItem\",\"name\":\"Electronic Components\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/category\\\/electronic-components\\\/#listItem\",\"position\":2,\"name\":\"Electronic Components\",\"item\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/category\\\/electronic-components\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/optocoupler-pinout\\\/#listItem\",\"name\":\"Optocoupler Pinout Guide for Correct Wiring\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/optocoupler-pinout\\\/#listItem\",\"position\":3,\"name\":\"Optocoupler Pinout Guide for Correct Wiring\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/category\\\/electronic-components\\\/#listItem\",\"name\":\"Electronic Components\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/#organization\",\"name\":\"PCB & MCPCB - Best Technology\",\"description\":\"More Technical Details & News on PCB, MCPCB & Ceramic PCB from EBest PCB\",\"url\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/\",\"telephone\":\"+8675529091601\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/logo.png\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/optocoupler-pinout\\\/#organizationLogo\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/optocoupler-pinout\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Bestpcbs1\",\"https:\\\/\\\/twitter.com\\\/bestpcbs\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCJsTR02i6mtLFnBBNC_i4bQ\\\/featured\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/best-pcb-technology\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/author\\\/zengliuyan\\\/#author\",\"url\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/author\\\/zengliuyan\\\/\",\"name\":\"zeng, liuyan\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/optocoupler-pinout\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/baa77efdfd38181910d27e307c24b31b?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"zeng, liuyan\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/optocoupler-pinout\\\/#webpage\",\"url\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/optocoupler-pinout\\\/\",\"name\":\"Optocoupler Pinout Guide for Correct Wiring\",\"description\":\"Find the correct optocoupler pinout for PC817, 4N35, and 6N137, identify pin 1, and follow practical wiring and testing steps for reliable connections.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/optocoupler-pinout\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/author\\\/zengliuyan\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/author\\\/zengliuyan\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/optocoupler-pinout1.jpg\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/optocoupler-pinout\\\/#mainImage\",\"width\":1200,\"height\":800,\"caption\":\"optocoupler pinout\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/2026\\\/10\\\/optocoupler-pinout\\\/#mainImage\"},\"datePublished\":\"2026-10-07T17:18:21+08:00\",\"dateModified\":\"2026-10-07T17:18:24+08:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/\",\"name\":\"PCB & MCPCB - Best Technology\",\"description\":\"More Technical Details & News on PCB, MCPCB & Ceramic PCB from EBest PCB\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bestpcbs.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Optocoupler Pinout Guide for Correct Wiring","description":"Find the correct optocoupler pinout for PC817, 4N35, and 6N137, identify pin 1, and follow practical wiring and testing steps for reliable connections.","canonical_url":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/#blogposting","name":"Optocoupler Pinout Guide for Correct Wiring","headline":"Optocoupler Pinout Guide for Correct Wiring","author":{"@id":"https:\/\/www.bestpcbs.com\/blog\/author\/zengliuyan\/#author"},"publisher":{"@id":"https:\/\/www.bestpcbs.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/optocoupler-pinout1.jpg","width":1200,"height":800,"caption":"optocoupler pinout"},"datePublished":"2026-10-07T17:18:21+08:00","dateModified":"2026-10-07T17:18:24+08:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/#webpage"},"isPartOf":{"@id":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/#webpage"},"articleSection":"Electronic Components, Optocoupler Pinout, Optocoupler Wiring, PC817 Optocoupler"},{"@type":"BreadcrumbList","@id":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.bestpcbs.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.bestpcbs.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.bestpcbs.com\/blog\/category\/electronic-components\/#listItem","name":"Electronic Components"}},{"@type":"ListItem","@id":"https:\/\/www.bestpcbs.com\/blog\/category\/electronic-components\/#listItem","position":2,"name":"Electronic Components","item":"https:\/\/www.bestpcbs.com\/blog\/category\/electronic-components\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/#listItem","name":"Optocoupler Pinout Guide for Correct Wiring"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.bestpcbs.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/#listItem","position":3,"name":"Optocoupler Pinout Guide for Correct Wiring","previousItem":{"@type":"ListItem","@id":"https:\/\/www.bestpcbs.com\/blog\/category\/electronic-components\/#listItem","name":"Electronic Components"}}]},{"@type":"Organization","@id":"https:\/\/www.bestpcbs.com\/blog\/#organization","name":"PCB & MCPCB - Best Technology","description":"More Technical Details & News on PCB, MCPCB & Ceramic PCB from EBest PCB","url":"https:\/\/www.bestpcbs.com\/blog\/","telephone":"+8675529091601","logo":{"@type":"ImageObject","url":"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2025\/08\/logo.png","@id":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/#organizationLogo"},"image":{"@id":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/#organizationLogo"},"sameAs":["https:\/\/www.facebook.com\/Bestpcbs1","https:\/\/twitter.com\/bestpcbs","https:\/\/www.youtube.com\/channel\/UCJsTR02i6mtLFnBBNC_i4bQ\/featured","https:\/\/www.linkedin.com\/company\/best-pcb-technology"]},{"@type":"Person","@id":"https:\/\/www.bestpcbs.com\/blog\/author\/zengliuyan\/#author","url":"https:\/\/www.bestpcbs.com\/blog\/author\/zengliuyan\/","name":"zeng, liuyan","image":{"@type":"ImageObject","@id":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/baa77efdfd38181910d27e307c24b31b?s=96&d=mm&r=g","width":96,"height":96,"caption":"zeng, liuyan"}},{"@type":"WebPage","@id":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/#webpage","url":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/","name":"Optocoupler Pinout Guide for Correct Wiring","description":"Find the correct optocoupler pinout for PC817, 4N35, and 6N137, identify pin 1, and follow practical wiring and testing steps for reliable connections.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.bestpcbs.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/#breadcrumblist"},"author":{"@id":"https:\/\/www.bestpcbs.com\/blog\/author\/zengliuyan\/#author"},"creator":{"@id":"https:\/\/www.bestpcbs.com\/blog\/author\/zengliuyan\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/optocoupler-pinout1.jpg","@id":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/#mainImage","width":1200,"height":800,"caption":"optocoupler pinout"},"primaryImageOfPage":{"@id":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/#mainImage"},"datePublished":"2026-10-07T17:18:21+08:00","dateModified":"2026-10-07T17:18:24+08:00"},{"@type":"WebSite","@id":"https:\/\/www.bestpcbs.com\/blog\/#website","url":"https:\/\/www.bestpcbs.com\/blog\/","name":"PCB & MCPCB - Best Technology","description":"More Technical Details & News on PCB, MCPCB & Ceramic PCB from EBest PCB","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.bestpcbs.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"PCB &amp; MCPCB - EBest PCB - More Technical Details &amp; News on PCB, MCPCB &amp; Ceramic PCB from EBest PCB","og:type":"article","og:title":"Optocoupler Pinout Guide for Correct Wiring","og:description":"Find the correct optocoupler pinout for PC817, 4N35, and 6N137, identify pin 1, and follow practical wiring and testing steps for reliable connections.","og:url":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/","og:image":"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/optocoupler-pinout1.jpg","og:image:secure_url":"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/optocoupler-pinout1.jpg","og:image:width":"1200","og:image:height":"800","article:published_time":"2026-10-07T09:18:21+00:00","article:modified_time":"2026-10-07T09:18:24+00:00","article:publisher":"https:\/\/www.facebook.com\/Bestpcbs1","twitter:card":"summary_large_image","twitter:site":"@bestpcbs","twitter:title":"Optocoupler Pinout Guide for Correct Wiring","twitter:description":"Find the correct optocoupler pinout for PC817, 4N35, and 6N137, identify pin 1, and follow practical wiring and testing steps for reliable connections.","twitter:creator":"@bestpcbs","twitter:image":"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/optocoupler-pinout1.jpg"},"aioseo_meta_data":{"post_id":"37004","title":"Optocoupler Pinout Guide for Correct Wiring","description":"Find the correct optocoupler pinout for PC817, 4N35, and 6N137, identify pin 1, and follow practical wiring and testing steps for reliable connections.","keywords":null,"keyphrases":{"focus":{"keyphrase":"optocoupler pinout","score":87,"analysis":{"keyphraseInTitle":{"score":9,"maxScore":9,"error":0},"keyphraseInDescription":{"score":9,"maxScore":9,"error":0},"keyphraseLength":{"score":9,"maxScore":9,"error":0,"length":2},"keyphraseInURL":{"score":5,"maxScore":5,"error":0},"keyphraseInIntroduction":{"score":9,"maxScore":9,"error":0},"keyphraseInSubHeadings":{"score":9,"maxScore":9,"error":0},"keyphraseInImageAlt":{"score":9,"maxScore":9,"error":0},"keywordDensity":{"score":0,"type":"low","maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"content","og_image_url":"https:\/\/www.bestpcbs.com\/blog\/wp-content\/uploads\/2026\/10\/optocoupler-pinout1.jpg","og_image_width":"1200","og_image_height":"800","og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":true,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2026-10-07 08:56:56","updated":"2026-10-07 10:24:31","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.bestpcbs.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.bestpcbs.com\/blog\/category\/electronic-components\/\" title=\"Electronic Components\">Electronic Components<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tOptocoupler Pinout Guide for Correct Wiring\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.bestpcbs.com\/blog"},{"label":"Electronic Components","link":"https:\/\/www.bestpcbs.com\/blog\/category\/electronic-components\/"},{"label":"Optocoupler Pinout Guide for Correct Wiring","link":"https:\/\/www.bestpcbs.com\/blog\/2026\/10\/optocoupler-pinout\/"}],"_links":{"self":[{"href":"https:\/\/www.bestpcbs.com\/blog\/wp-json\/wp\/v2\/posts\/37004","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bestpcbs.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bestpcbs.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bestpcbs.com\/blog\/wp-json\/wp\/v2\/users\/33085"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bestpcbs.com\/blog\/wp-json\/wp\/v2\/comments?post=37004"}],"version-history":[{"count":1,"href":"https:\/\/www.bestpcbs.com\/blog\/wp-json\/wp\/v2\/posts\/37004\/revisions"}],"predecessor-version":[{"id":37005,"href":"https:\/\/www.bestpcbs.com\/blog\/wp-json\/wp\/v2\/posts\/37004\/revisions\/37005"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bestpcbs.com\/blog\/wp-json\/wp\/v2\/media\/37001"}],"wp:attachment":[{"href":"https:\/\/www.bestpcbs.com\/blog\/wp-json\/wp\/v2\/media?parent=37004"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bestpcbs.com\/blog\/wp-json\/wp\/v2\/categories?post=37004"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bestpcbs.com\/blog\/wp-json\/wp\/v2\/tags?post=37004"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}