No current through AC optocoupler

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I am just testing this component MOC3021 opto-isolator, it's datasheet can be found here.



This is my circuit in proteus :
opto-isolator circuit



Please forgive me for my ignorance of electronics, I have my background in computer science .



I tried the whole day yesterday trying to make out what's written about it in the datasheet, the point of connections were easy to understand, rest I don't know much. However, I did learn a lot and welcome to accept more.



However as you can see the LED didn't glow, now for one thing I know it's an AC opto-isolator but shouldn't current flow from one of the diodes of the DIAC ?



Thanks a lot :)



Sizu









share







New contributor




Sizu Taylorventuresllc is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.























    up vote
    1
    down vote

    favorite












    I am just testing this component MOC3021 opto-isolator, it's datasheet can be found here.



    This is my circuit in proteus :
    opto-isolator circuit



    Please forgive me for my ignorance of electronics, I have my background in computer science .



    I tried the whole day yesterday trying to make out what's written about it in the datasheet, the point of connections were easy to understand, rest I don't know much. However, I did learn a lot and welcome to accept more.



    However as you can see the LED didn't glow, now for one thing I know it's an AC opto-isolator but shouldn't current flow from one of the diodes of the DIAC ?



    Thanks a lot :)



    Sizu









    share







    New contributor




    Sizu Taylorventuresllc is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I am just testing this component MOC3021 opto-isolator, it's datasheet can be found here.



      This is my circuit in proteus :
      opto-isolator circuit



      Please forgive me for my ignorance of electronics, I have my background in computer science .



      I tried the whole day yesterday trying to make out what's written about it in the datasheet, the point of connections were easy to understand, rest I don't know much. However, I did learn a lot and welcome to accept more.



      However as you can see the LED didn't glow, now for one thing I know it's an AC opto-isolator but shouldn't current flow from one of the diodes of the DIAC ?



      Thanks a lot :)



      Sizu









      share







      New contributor




      Sizu Taylorventuresllc is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I am just testing this component MOC3021 opto-isolator, it's datasheet can be found here.



      This is my circuit in proteus :
      opto-isolator circuit



      Please forgive me for my ignorance of electronics, I have my background in computer science .



      I tried the whole day yesterday trying to make out what's written about it in the datasheet, the point of connections were easy to understand, rest I don't know much. However, I did learn a lot and welcome to accept more.



      However as you can see the LED didn't glow, now for one thing I know it's an AC opto-isolator but shouldn't current flow from one of the diodes of the DIAC ?



      Thanks a lot :)



      Sizu







      ac opto-isolator





      share







      New contributor




      Sizu Taylorventuresllc is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      Sizu Taylorventuresllc is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      Sizu Taylorventuresllc is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 2 hours ago









      Sizu Taylorventuresllc

      61




      61




      New contributor




      Sizu Taylorventuresllc is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Sizu Taylorventuresllc is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Sizu Taylorventuresllc is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















          3 Answers
          3






          active

          oldest

          votes

















          up vote
          2
          down vote













          You have two small problems:



          No resistor in series with the opto led. So the current is not limited, and will burn the opto if you try in real life



          A voltage source too low to light a blue LED. Such LED typically require about 3 to 3.5V. You have 1.5V on this side which is far from sufficient. With a 100 ohm resistor, something like 4.5V would give something like 10-15mA.






          share|improve this answer



























            up vote
            1
            down vote













            You've got three problems.



            1: no current limit on the MOC3021 LED, with 5V there the LED inside the MOC3021 will not last long, add 220 ohms in series with the input.



            2: not enough voltage on the output. The output is is phototriac which has a forwards voltage drop of 1 to 1.5V -
            to light the blue LED you want 3V or so and a resistor to limit current, 9V with a 470 ohm resistor in series would be a good starting point



            3: the output is a triac, once triggered on it will continue to conduct until something else stops the current - using an AC supply to power the output side circuit would help here.






            share|improve this answer






















            • You're right, I didn't even realize it was a triac output.
              – dim
              49 mins ago

















            up vote
            0
            down vote













            In addition to what dim commented, Your voltage source BAT2 has the wrong polarity.
            The LED D2 is now in reverse bias by the voltage source BAT2. You could change polarity of either BAT2 of LED D2 in order to let current flow throug the LED when MOC3021 is enabled by the primary side.






            share|improve this answer








            New contributor




            Sparkgap is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.

















              Your Answer





              StackExchange.ifUsing("editor", function ()
              return StackExchange.using("mathjaxEditing", function ()
              StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
              StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["\$", "\$"]]);
              );
              );
              , "mathjax-editing");

              StackExchange.ifUsing("editor", function ()
              return StackExchange.using("schematics", function ()
              StackExchange.schematics.init();
              );
              , "cicuitlab");

              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "135"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );






              Sizu Taylorventuresllc is a new contributor. Be nice, and check out our Code of Conduct.









               

              draft saved


              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f404617%2fno-current-through-ac-optocoupler%23new-answer', 'question_page');

              );

              Post as a guest






























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              2
              down vote













              You have two small problems:



              No resistor in series with the opto led. So the current is not limited, and will burn the opto if you try in real life



              A voltage source too low to light a blue LED. Such LED typically require about 3 to 3.5V. You have 1.5V on this side which is far from sufficient. With a 100 ohm resistor, something like 4.5V would give something like 10-15mA.






              share|improve this answer
























                up vote
                2
                down vote













                You have two small problems:



                No resistor in series with the opto led. So the current is not limited, and will burn the opto if you try in real life



                A voltage source too low to light a blue LED. Such LED typically require about 3 to 3.5V. You have 1.5V on this side which is far from sufficient. With a 100 ohm resistor, something like 4.5V would give something like 10-15mA.






                share|improve this answer






















                  up vote
                  2
                  down vote










                  up vote
                  2
                  down vote









                  You have two small problems:



                  No resistor in series with the opto led. So the current is not limited, and will burn the opto if you try in real life



                  A voltage source too low to light a blue LED. Such LED typically require about 3 to 3.5V. You have 1.5V on this side which is far from sufficient. With a 100 ohm resistor, something like 4.5V would give something like 10-15mA.






                  share|improve this answer












                  You have two small problems:



                  No resistor in series with the opto led. So the current is not limited, and will burn the opto if you try in real life



                  A voltage source too low to light a blue LED. Such LED typically require about 3 to 3.5V. You have 1.5V on this side which is far from sufficient. With a 100 ohm resistor, something like 4.5V would give something like 10-15mA.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 2 hours ago









                  dim

                  12.7k22365




                  12.7k22365






















                      up vote
                      1
                      down vote













                      You've got three problems.



                      1: no current limit on the MOC3021 LED, with 5V there the LED inside the MOC3021 will not last long, add 220 ohms in series with the input.



                      2: not enough voltage on the output. The output is is phototriac which has a forwards voltage drop of 1 to 1.5V -
                      to light the blue LED you want 3V or so and a resistor to limit current, 9V with a 470 ohm resistor in series would be a good starting point



                      3: the output is a triac, once triggered on it will continue to conduct until something else stops the current - using an AC supply to power the output side circuit would help here.






                      share|improve this answer






















                      • You're right, I didn't even realize it was a triac output.
                        – dim
                        49 mins ago














                      up vote
                      1
                      down vote













                      You've got three problems.



                      1: no current limit on the MOC3021 LED, with 5V there the LED inside the MOC3021 will not last long, add 220 ohms in series with the input.



                      2: not enough voltage on the output. The output is is phototriac which has a forwards voltage drop of 1 to 1.5V -
                      to light the blue LED you want 3V or so and a resistor to limit current, 9V with a 470 ohm resistor in series would be a good starting point



                      3: the output is a triac, once triggered on it will continue to conduct until something else stops the current - using an AC supply to power the output side circuit would help here.






                      share|improve this answer






















                      • You're right, I didn't even realize it was a triac output.
                        – dim
                        49 mins ago












                      up vote
                      1
                      down vote










                      up vote
                      1
                      down vote









                      You've got three problems.



                      1: no current limit on the MOC3021 LED, with 5V there the LED inside the MOC3021 will not last long, add 220 ohms in series with the input.



                      2: not enough voltage on the output. The output is is phototriac which has a forwards voltage drop of 1 to 1.5V -
                      to light the blue LED you want 3V or so and a resistor to limit current, 9V with a 470 ohm resistor in series would be a good starting point



                      3: the output is a triac, once triggered on it will continue to conduct until something else stops the current - using an AC supply to power the output side circuit would help here.






                      share|improve this answer














                      You've got three problems.



                      1: no current limit on the MOC3021 LED, with 5V there the LED inside the MOC3021 will not last long, add 220 ohms in series with the input.



                      2: not enough voltage on the output. The output is is phototriac which has a forwards voltage drop of 1 to 1.5V -
                      to light the blue LED you want 3V or so and a resistor to limit current, 9V with a 470 ohm resistor in series would be a good starting point



                      3: the output is a triac, once triggered on it will continue to conduct until something else stops the current - using an AC supply to power the output side circuit would help here.







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited 47 mins ago

























                      answered 1 hour ago









                      Jasen

                      8,7671327




                      8,7671327











                      • You're right, I didn't even realize it was a triac output.
                        – dim
                        49 mins ago
















                      • You're right, I didn't even realize it was a triac output.
                        – dim
                        49 mins ago















                      You're right, I didn't even realize it was a triac output.
                      – dim
                      49 mins ago




                      You're right, I didn't even realize it was a triac output.
                      – dim
                      49 mins ago










                      up vote
                      0
                      down vote













                      In addition to what dim commented, Your voltage source BAT2 has the wrong polarity.
                      The LED D2 is now in reverse bias by the voltage source BAT2. You could change polarity of either BAT2 of LED D2 in order to let current flow throug the LED when MOC3021 is enabled by the primary side.






                      share|improve this answer








                      New contributor




                      Sparkgap is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                      Check out our Code of Conduct.





















                        up vote
                        0
                        down vote













                        In addition to what dim commented, Your voltage source BAT2 has the wrong polarity.
                        The LED D2 is now in reverse bias by the voltage source BAT2. You could change polarity of either BAT2 of LED D2 in order to let current flow throug the LED when MOC3021 is enabled by the primary side.






                        share|improve this answer








                        New contributor




                        Sparkgap is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.



















                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          In addition to what dim commented, Your voltage source BAT2 has the wrong polarity.
                          The LED D2 is now in reverse bias by the voltage source BAT2. You could change polarity of either BAT2 of LED D2 in order to let current flow throug the LED when MOC3021 is enabled by the primary side.






                          share|improve this answer








                          New contributor




                          Sparkgap is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          In addition to what dim commented, Your voltage source BAT2 has the wrong polarity.
                          The LED D2 is now in reverse bias by the voltage source BAT2. You could change polarity of either BAT2 of LED D2 in order to let current flow throug the LED when MOC3021 is enabled by the primary side.







                          share|improve this answer








                          New contributor




                          Sparkgap is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          share|improve this answer



                          share|improve this answer






                          New contributor




                          Sparkgap is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          answered 1 hour ago









                          Sparkgap

                          11




                          11




                          New contributor




                          Sparkgap is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.





                          New contributor





                          Sparkgap is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






                          Sparkgap is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.




















                              Sizu Taylorventuresllc is a new contributor. Be nice, and check out our Code of Conduct.









                               

                              draft saved


                              draft discarded


















                              Sizu Taylorventuresllc is a new contributor. Be nice, and check out our Code of Conduct.












                              Sizu Taylorventuresllc is a new contributor. Be nice, and check out our Code of Conduct.











                              Sizu Taylorventuresllc is a new contributor. Be nice, and check out our Code of Conduct.













                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f404617%2fno-current-through-ac-optocoupler%23new-answer', 'question_page');

                              );

                              Post as a guest













































































                              Comments

                              Popular posts from this blog

                              Long meetings (6-7 hours a day): Being “babysat” by supervisor

                              What does second last employer means? [closed]

                              One-line joke