PDA

View Full Version : 1-wire Relay


Xavier
14-05-2005, 04:49 AM
I'm having a hard time trying to control a eletromagnetic relay with
the 1-wire. I have controlled SSR with no problems whatsoever. With the
eletromagnetic relay. I use a ds2405, pnp transistor 1k resistor and a
10k resister and a diode. Everything works until I hook plug in 120v.
Then I get an error "Failure to change ds2405 latch state". And
sometimes Cannot Communicate with device. These errors wouldnt bother
me because the device does turn on. But it causes other relays to turn
off breifly when I switch on a relay with 120v going to the relay..
Note that the relays work flawlessly without any errors. Until I hook
up the 120v. Even if there is no load. Just plugging in the 120v makes
it receive this breif error. Anyone have any ideas??

Xavier

Dave
15-05-2005, 04:48 AM
Do you have the 120V just connected to the relay contacts and is it
isolated from the coil and coil circuit? Maybe a defective relay
where there is leakage current from the contacts to the coil.
I have had problems with 1-wire if the loop picks stray signals so you
may have to to try to shield the loop and curcuit from the 120V wires.
Dave

Ian Shef
18-05-2005, 06:06 AM
"Xavier" <xavier33@mail.com> wrote in news:1116009068.589021.255730
@f14g2000cwb.googlegroups.com:

> I'm having a hard time trying to control a eletromagnetic relay with
> the 1-wire. I have controlled SSR with no problems whatsoever. With the
> eletromagnetic relay. I use a ds2405, pnp transistor 1k resistor and a
> 10k resister and a diode. Everything works until I hook plug in 120v.
> Then I get an error "Failure to change ds2405 latch state". And
> sometimes Cannot Communicate with device. These errors wouldnt bother
> me because the device does turn on. But it causes other relays to turn
> off breifly when I switch on a relay with 120v going to the relay..
> Note that the relays work flawlessly without any errors. Until I hook
> up the 120v. Even if there is no load. Just plugging in the 120v makes
> it receive this breif error. Anyone have any ideas??
>
> Xavier
>
A schematic of your circuit would help.
Did you provide any decoupling capacitors? How much capacity does your power
supply for the relays have? How clean is the layout of your wiring (e.g. did
you keep 120 VAC wiring away from 1-wire and relay control signals?)?


--
Ian Shef 805/F6 * These are my personal opinions
Raytheon Company * and not those of my employer.
PO Box 11337 *
Tucson, AZ 85734-1337 *