This is a multi-part message in MIME format. ------=_NextPart_000_001A_01C01402.B5303760 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hallo again to all PicList members, I have difficulties switching a forward and reverse 220V AC bi directional motor with a pic, triacand optocoupler combination! The motor is a typical electric sliding gate opener motor - three wires - neutral, live(forward) and live(reverse) with a starting cap between forward and reverse. The obvious way is to use two relays. The one relay control the direction and the other one switch the current... I want to do it without relays!!!! I have connect two MOC3011 optocouplers and two IT416 triac's to a pic to control this motor, but this configuration damage the two IT's...... I can connect either forward or reverse, but not both!! (It seems like the back EMF from the oposite direction switch the motor on in the opposite direction as well and the motor just vibrates - not sure) Attached is a unscrambled version of the layout... Can someone help? Kindest regards Francois Robbertze fr10@mweb.co.za ------=_NextPart_000_001A_01C01402.B5303760 Content-Type: text/plain; name="TRIAC.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="TRIAC.txt" =20 MotorReverse---+-----/\/\/--------+ 220V AC | 100R | =20 + | | =20 | | | =20 | | | ______ | | /-------------|--------4-| |-3=20 | | / | | | / / | ------ | | MOC | |\=20 | Triac \ /\ | 5-| 3011 |-2------| = |------->GND | IT416 \/ \ | |OptoC | |/ =20 | ------ | | | | | = +--------6-|______|-1------/\/\/-----To PIC(RB0) | | 100R --- | CAP +--------+ =20 --- | =20 | | =20 + | =20 MotorForward----+--------|---/\/\/------+ 220V AC | | 100R | =20 | | | =20 | | | =20 | | | ______ =20 | /---|--------------|----4-| |-3=20 | / | | | | / / ------ | | | MOC | |\=20 Triac \ /\ | | 5-| 3011 |-2------| = |------->GND IT416 \/ \ | | |OptoC | |/ = ------ | | | |=20 | | = +----6-|______|-1------/\/\/-----To PIC(RB1) | | 100R | | +--------+ =20 | Neutral---------+ =20 220V AC ------=_NextPart_000_001A_01C01402.B5303760-- -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.