BS2 hang due to 220VAC relay
Bronson
Posts: 44
Hi,
My name is Bronson. This is my first post.
I am desperately need help on my current project.
In my project, I connect OUT6 upto OUT10 to ULN2803. The output pins of ULN go to 12VDC relays, then the contacts of 12VDC relays goto 220VAC relays' input coil.
The problem is my BS2 occasionally HANGS, sometimes my BS2 resets by itself.
I found that everytime I connect 12VDC relay to 220VAC relay, the problem occured. If I used 220VAC lamp, it worked fine.
I have used 15volt or 30volt diode zener to ULN's common line.
Pls help me, and sorry for my English.
Thanks,
Bronson Alex
My name is Bronson. This is my first post.
I am desperately need help on my current project.
In my project, I connect OUT6 upto OUT10 to ULN2803. The output pins of ULN go to 12VDC relays, then the contacts of 12VDC relays goto 220VAC relays' input coil.
The problem is my BS2 occasionally HANGS, sometimes my BS2 resets by itself.
I found that everytime I connect 12VDC relay to 220VAC relay, the problem occured. If I used 220VAC lamp, it worked fine.
I have used 15volt or 30volt diode zener to ULN's common line.
Pls help me, and sorry for my English.
Thanks,
Bronson Alex
Comments
·· Is the same power supply powering the Relays and the BS2?· Consider using SSRs to control the 220 relays.· You can eliminate the ULN and the 12V Relays.· You can probably eliminate the 220 Relays...What are they connected to?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
·· It really sounds like you're getting some kind of noise and/or interference from the Relays/Solenoids.· We have seen this recently in a project similar to yours, and I believe the person actually ended up having to shield his Stamp Module.· Are you running long wires to the Relays and/or Solenoids?· Long runs of wire can act like an antenna and pick up and/or generate a lot of EM noise.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
You say you are using two seperate power supplies for the actuater coil of the relay and the Stamp. Are the grounds tied together? They should be. If so, Chris may well be correct that you need better shielding.
Jonathan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
I will provide better shielding.
But for your information, yesterday I put 1 nanoFarad caps at 12VDC relay's input coil, it works !! My BS2 doesn't hang til this morning.
Thanks alot, guys. This forum is great.
·· Yep, sounds like noise!· ·· The caps are helping clean it up· a bit, but it will probably still be a problem.· I've never seen it fix that easily.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com