Loading...
Pages: [1]   Go Down
Author Topic: tiracs on output  (Read 359 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

im looking to control some 120v ac circuits with my arduino and i was looking in to the ssr and triacs,  from my understanding a ssr is a opto isolator and a triac in one package right?   is the opto isolator nessesary or  can the arduino drive a triac directly.   this will be just for on/off, no dimming
Logged

Grand Blanc, MI, USA
Offline Offline
Edison Member
*
Karma: 43
Posts: 2491
"We're a proud service of the Lost Electricity Reclamation Agency"
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I'd absolutely use opto-isolation, either as a discrete component or as part of an SSR. Many SSRs are opto-isolated, but not all. SSRs come in AC and DC versions, the latter often employing MOSFETs. If I went with an SSR, I'd be paying close attention to the datasheets. An isolator similar to something from the MOC30xx family and a discrete TRIAC is also perfectly reasonable.
Logged

Get the infamous "One Million Ohms" board at tINDIE.com: http://tinyurl.com/BuyMohms

United Kingdom
Online Online
Faraday Member
**
Karma: 131
Posts: 4654
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Get an SSR specified for controlling AC, with a current rating high enough for the job. If the load is inductive (e.g. a motor), make sure the SSR is specified as suitable for inductive loads. Coupling an opto isolator to a triac yourself isn't easy because you need a power supply for the triac gate drive.

You absolutely must use isolation between the Arduino and a triac, otherwise there is the danger that the Arduino will become live.
« Last Edit: December 31, 2011, 05:16:36 am by dc42 » Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. http://www.eschertech.com

Grand Blanc, MI, USA
Offline Offline
Edison Member
*
Karma: 43
Posts: 2491
"We're a proud service of the Lost Electricity Reclamation Agency"
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Coupling an opto isolator to a triac yourself isn't easy because you need a power supply for the triac gate drive.

???

Logged

Get the infamous "One Million Ohms" board at tINDIE.com: http://tinyurl.com/BuyMohms

United Kingdom
Online Online
Faraday Member
**
Karma: 131
Posts: 4654
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

OK, I was thinking about ordinary opto isolators, I didn't realise that opto triacs were inexpensive and readily available. Thanks!
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. http://www.eschertech.com

Grand Blanc, MI, USA
Offline Offline
Edison Member
*
Karma: 43
Posts: 2491
"We're a proud service of the Lost Electricity Reclamation Agency"
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yep, they're handy critters. That particular datasheet is for the random-phase variety, there are also types with zero-crossing detectors built in.
Logged

Get the infamous "One Million Ohms" board at tINDIE.com: http://tinyurl.com/BuyMohms

Offline Offline
God Member
*****
Karma: 0
Posts: 503
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There are many ways to skin a cat, morover loads of cats to be skinned....
If you scrap box only has SCR's insert a bridge rectifier in the load circuit with AC terminals emulating MT1 and MT2 of the triac example, and place the SCR across the DC side Anode to Bridge + and Cathode to Bridge -. A diac used for the gate trigger can be fashioned out od 2 transistors, a 2N3904 and a 2N3906
Logged

Offline Offline
God Member
*****
Karma: 0
Posts: 503
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

And before anyone gets the urge to say the transistors are in backwards, they are not! The circuit is using the VRBEB which is typically 7 VDC to emulate a diac. The transistors have a hfe of around 5 when using the E-B junction to serve as C-B junction. A 2N3904 or 2N3906 makes a good 1/4 watt zener in a pinch when you can accomodate for a variation in zener voltage.
Logged

Pages: [1]   Go Up
Print
 
Jump to: