1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

moc3051 vs PC817 opto-isolaters

Discussion in 'Circuit Simulation & PCB Design' started by killivolt, Dec 9, 2016.

  1. killivolt

    killivolt Well-Known Member

    Joined:
    Mar 12, 2008
    Messages:
    3,211
    Likes:
    121
    Location:
    U.S.
    I need a moc3051 but, I can only find a PC817 or related in LTspice, I need a non-zero cross.

    My question is can I drive a Triac in my simulation with the Transistor I'm using 2n222 to drive moc3051.

    Thanks,

    kv
     
  2. ericgibbs

    ericgibbs Well-Known Member Most Helpful Member

    Joined:
    Jan 4, 2007
    Messages:
    20,887
    Likes:
    628
    Location:
    Ex Yorks' Hants UK
    hi kv,
    This zip has the 4N27 and 4N35 opto coupler data for LTSpice, also a example asc file.
    The 4N35 is close enough to stand in for a MOC3051.
    The 4N35h ,hierarchical is included, so you can modify that to Sim a MOC3051 if required.

    E
     

    Attached Files:

    • Informative Informative x 1
  3. ericgibbs

    ericgibbs Well-Known Member Most Helpful Member

    Joined:
    Jan 4, 2007
    Messages:
    20,887
    Likes:
    628
    Location:
    Ex Yorks' Hants UK
    Deleted Duplicated!

    The Site is having another nervous breakdown.:troll:
     
    Last edited: Dec 10, 2016
    • Funny Funny x 1
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. killivolt

    killivolt Well-Known Member

    Joined:
    Mar 12, 2008
    Messages:
    3,211
    Likes:
    121
    Location:
    U.S.

    I think I can Modify the 4n35h, I had a circuit designed about 30 years ago, it could detect water and run a Triac to power motors, buzzers, light etc. But while it was designed to do that it also had resistor circuits that would run IR detector that would sense when a device needed cleaning, lint etc. In this case I would like to put a Photo detector circuit in to turn on and off the 2n222 and run the Triac.


    Thanks for the help @erigibbs, your alway's a big help.

    kv:)

    Edit: Oh, yeah. BTW I started a Thread "Smoker Circuit Design" on AAC but am thinking of doing one hear as I go along. I need the Photodetectors on the Vent Stack.
     
    Last edited: Dec 11, 2016
  6. killivolt

    killivolt Well-Known Member

    Joined:
    Mar 12, 2008
    Messages:
    3,211
    Likes:
    121
    Location:
    U.S.
    Found this one the in the forum that would closely match what I'm doing, maybe I can modify this one.

    kv
     

    Attached Files:

    Last edited: Dec 10, 2016
  7. ericgibbs

    ericgibbs Well-Known Member Most Helpful Member

    Joined:
    Jan 4, 2007
    Messages:
    20,887
    Likes:
    628
    Location:
    Ex Yorks' Hants UK
    hi kv,
    I guess you have the *.lib files for the snubber, triac and lamp models.?
    I do no not have those models.

    E
     
  8. killivolt

    killivolt Well-Known Member

    Joined:
    Mar 12, 2008
    Messages:
    3,211
    Likes:
    121
    Location:
    U.S.
    I'm not sure if they are in here, but you helped someone in another Thread sometime ago and he put a few files in this zipped folder. I'm still learning LTspice, and not sure what you need.

    Thanks for the help.

    kv
     

    Attached Files:

  9. ericgibbs

    ericgibbs Well-Known Member Most Helpful Member

    Joined:
    Jan 4, 2007
    Messages:
    20,887
    Likes:
    628
    Location:
    Ex Yorks' Hants UK
    hi kv,
    I downloaded your zip and extracted the files you need to RUN dimmer6.asc [ also in the zip]

    For now keep all the unzipped files in the same folder

    E
     

    Attached Files:

    • kv2.zip
      File size:
      7.8 KB
      Views:
      16
    • A01.gif
      A01.gif
      File size:
      31.2 KB
      Views:
      28
    • Like Like x 1

Share This Page