Shop OBEX P1 Docs P2 Docs Learn Events
Problem with electronic insolation — Parallax Forums

Problem with electronic insolation

JoeJoe Posts: 184
edited 2010-07-02 02:18 in BASIC Stamp
Hi,

I tried to open and close 110 volts valves using
a BS2-IC and mechanical relay but it was imposible.

After that I replaced the mechanical relay by the solid
state relay an I solved the problem.

But, I would like to know where was the problem.

Do you have some experience using a optocoplers chips
like the picture and / or problems with mechan. relays?

Thanks, Joe
520 x 158 - 38K

Comments

  • FranklinFranklin Posts: 4,747
    edited 2010-06-30 02:57
    Is that the circuit you were using?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • JonathanJonathan Posts: 1,023
    edited 2010-06-30 14:19
    You shouldn't need to use an optoisolator to make it work. Did you have a back EMF diode? Did you use a transisitor to switch the coil on the relay? What exact problem did you encounter?

    Jonathan

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
  • sumdawgysumdawgy Posts: 167
    edited 2010-06-30 16:31
    Joe said...
    Hi,

    I tried to open and close 110 volts valves using
    a BS2-IC and mechanical relay but it was imposible.

    After that I replaced the mechanical relay by the solid
    state relay an I solved the problem.

    But, I would like to know where was the problem.

    Thanks, Joe
    I addressed this issue a little while ago in..· Older newbe designs yacht race start countdown horn blaster, and needs Basic Stamp 1 pro help bad!···This is a power surge issue, it affects both I & II stamps.

    Believe it or not, you almost·found the reason.· Broken down simply, mechanical relays can confuse the stamps when de-energizing.· The coil & plunger work together to generate a small (But annyoing) energy pulse that is dumped into your circuit.· The link's discussion will help you elimintate it.

    Since the solid state relays don't generate the energy pulse, you found another way to......·"fix" the problem.




    ·

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Before you criticize someone, walk a mile in his shoes. That way if he gets angry, he'll be a mile away and barefoot. - unknown

    Post Edited (sumdawgy) : 6/30/2010 4:46:35 PM GMT
  • sumdawgysumdawgy Posts: 167
    edited 2010-06-30 16:42
    Looking at the schematic, there's a diode attached to the left of the relay 1n414b? (can't read the fuzzy numbers. didn't google the guess either.) But, that diode should kill the waste energy.

    Am I correct in assuming that this image is for the unit you ended up using to make it work?· If not, then I would suspect that diode of being faulty.·

    The optocoupler was an overkill for the circuit...AND.... Without the diode, the optocoupler won't protect the stamp if the relay shares a ground with the stamp. They would have to be COMPLETELY electrically seperate.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Before you criticize someone, walk a mile in his shoes. That way if he gets angry, he'll be a mile away and barefoot. - unknown

    Post Edited (sumdawgy) : 6/30/2010 4:49:34 PM GMT
  • JoeJoe Posts: 184
    edited 2010-07-01 20:36
    Thanks for helping:


    The diode attached to the left of the relay is the 1N4148

    Each time the Stamp read a HIGH
    the Basic Stamp-2 has a reset . As I told you , I don't have problems
    with solid state relays.

    I would like to build a good circuit (I am not
    an expert)

    Do you know where can I find a better solution ?

    A diagram could help a lot.

    Thanks, Joe
  • sumdawgysumdawgy Posts: 167
    edited 2010-07-02 02:18
    Joe said...
    Thanks for helping:
    .........
    I would like to build a good circuit (I am not an expert)

    Do you know where can I find a better solution ?
    A diagram could help a lot.

    Thanks, Joe
    Since I just·helped out with·this issue a little while ago in..·[noparse]/noparse] [url=http://forums.parallax.com/showthread.php?p=914765]Older newbe designs yacht race start countdown horn blaster, and needs Basic Stamp 1 pro help bad![color=white]··[/color][/url··Rather than repost the examples in this discussion.....

    Just follow the link!

    [noparse]/noparse] [url=http://forums.parallax.com/showthread.php?p=914765]Older newbe designs yacht race start countdown horn blaster, and needs Basic Stamp 1 pro help bad![color=white]··[/color][/url

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Before you criticize someone, walk a mile in his shoes. That way if he gets angry, he'll be a mile away and barefoot. - unknown

    Post Edited (sumdawgy) : 7/2/2010 2:23:05 AM GMT
Sign In or Register to comment.