element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Using triac and optocouplers instead of relays?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 11 replies
  • Subscribers 405 subscribers
  • Views 1648 views
  • Users 0 members are here
  • high_current
  • high_voltage
  • triac
  • optocoupler
  • arduino
Related

Using triac and optocouplers instead of relays?

Former Member
Former Member over 13 years ago

  Hi there,

 

 

First post, short presentation.

I am mechanical engineer but I have been always interested in electronic. I have been building myself a couple of device, most of the time because I had needs for stuff not yet available or affordable (fast charge nimh, DC-DC Car to 5V 3A, vaccuum regulation...). I have (nearly) never been twaeaking a microcontroler so far, I mean my temperature regulator has been built by a friend!

I think Arduino stuff is brillant and I am looking forward doing some simple stuff to start. It will be mainly to help produce my kite boards (Temperature and vaccuum regulation, but why not a CNC or a laser too?). If I am doing great I also have an old project: build a multy channel accumalator capicator (plotting V over time doing a constant discharge), to check their real capacity, internal resistance pair them and trash the bad ones!

 

 

I am looking for using an Arduino to pilot high voltage device. For exemple a fridge pump (=vaccuum) which draws about 100W or so at 230V. My application would require a lot of shutdown/poweron so I would prefer not to use relays.

I have seen the following online http://powerswitchtail.com/PSTIIU.aspx

Except from learning is there any reason for me to build something similar or should I go directly with that? I mean shipping+ adding the plug I will be under $60 for two switch. Do you any kit with 2 or 4 triac output that could do the same? I do not fancy to much playing with high voltage, so I am asking first.

 

 

I also have another project with high current needed. I will pilot with a classical +5V, and I need high wattage on 12V. I will use 12V car light bulbs to produce... heat (between 200 and 300W), which will be safer I think than using 230V light bulbs or heat wire at the same voltage. I am wondering if turning On/Off a computer power supply is OK? I was thinking of using a refresh rate around 0.2 ou 0.3Hz (3s or 5s).

 

 

Thanks for you support.

  • Sign in to reply
  • Cancel
  • ntewinkel
    ntewinkel over 13 years ago

    You can buy relay boards on eBay fairly cheaply.

    Search for something like "Arduino relay" and you get a fair number of choices. A board with a single relay for buy-it-now is less than 3 bucks, you then add the cord yourself to get what looks similar to the powerSwitchTail that you linked to.

     

    So as long as you're comfortable (and safe) working with the higher voltages, that's an inexpensive solution.

     

    This is something I intend to do for my greenhouse, to power a water pump. I bought a 2-relay board recently, I think it was about $4.

     

    You can go totally inexpensive by using just the relay, but buying the board saves you a LOT of trouble for the extra couple of dollars.

     

    Cheers,

    -Nico

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to ntewinkel

    Right now I am using directly a vacuostat switch. It combines the best of a relay and a vaccuum control but also the worse, it is expensive, tricky to set and it wont last a lot.

    Going with arduino + vaccuum sensor + relay is more expensive but nearly as expensive as arduino + vaccuum sensor + triac, the latest is not suppose to stick at un unknown time. My use is between 8hours to one day and depending on the vaccuum bag quality I will go between around 100 (very good) on/off to 10000 activations. Changing the relay each time would be an option but still I dont like it.

    So my question for the high_voltage was more on what king of triac do you recommend...

     

    For the high current well it would be too much current for relays... minimum 55W by output.

     

    Edit: Doing more research, it looks like Solid State Relay (SSR) are packaged triac like a relay. I may try that first...

    http://www.mpja.com/3A-480VAC-Solid-State-Relay/productinfo/18194+RL/

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • ntewinkel
    ntewinkel over 13 years ago in reply to Former Member

    Hi loopingz,

     

    I was just about to ask you if the solid state relays are similar/same/different to the triacs, then I read your edit image

    From what I've read they switch faster and last longer. Boards with solid state relays all set up neatly are also available relatively inexpensively on eBay (hmm, I may have an eBay addiction image).

    Unfortunately I don't know much about triacs, and most of the stuff I do is hobby related, so I can't give a proper real-life-based recommendation, sorry.

     

    Cheers,

    -Nico

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • nermash
    nermash over 13 years ago in reply to Former Member

    I would probably go with the SSR you linked, as it includes optoisolation in the package. Second option would be to use optocoupler and triac, and relays I really would not consider due to poor perfomance in switching time, lifetime and RF noise from sparking contacts...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago

    There are plenty of good opto couplers with a triac output, which can be used to drive a high current triac, I can post a few examples here if you wish. Just be careful with the mains side!!!

     

    Solid state relays are another way to go as they combine opto isolation and high current drive, also developement time will be slightly shortened as you can usually just hard wire them instead of needing a PCB, as they have screw terminals (at least the ones I have used did!). But a lot more expensive....

     

    Best of luck and keep us up to date with your venture.

     

    regards

     

    Andy

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • terryking
    terryking over 13 years ago in reply to Former Member

    There are nice one-piece optically isolated SSR's like this, too:

     

    http://arduino-direct.com/sunshop/index.php?l=product_detail&p=216

     

    DISCLAIMER: Mentioned stuff from my own shop...!!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • SGarciaV
    SGarciaV over 13 years ago

    If you are looking to use triacs and optoisolators instead of relays then this site might help you:

     

    http://doityourselfchristmas.com/wiki/index.php?title=Electronics_Hardware

     

    The Do It Yourself Christmas Web site offers lots of ideas of how to control lights using a processor, but the benefit of the technical knowledge there goes beyond just "Chrstmas lights". You might have to explore the above noted link, but you'll find plenty of prebuilt hardware that can easily be controlled by an Arduino. Good luck with your project! Salvador

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • ntewinkel
    ntewinkel over 13 years ago in reply to terryking

    Hi Terry,

     

    I really like your website! I was actually looking at it yesterday when a search for coding information for the nrf24l01 wireless boards led me there.

    I'm also pleasantly surprised by your excellent pricing, so I've bookmarked it image

     

    Thanks for all the great information you provide there, it's very much appreciated!

     

    Cheers,

    -Nico

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • yvanttt
    yvanttt over 13 years ago

    Hello,

     

    Actualy you may prefer solid state relay's as opposed to opto coupler and triac.

     

    Opto couplers & triac will switch on the power as soon as it receives the signal, which may not be desirable if the line voltage is at it'peek as this will create some heavy surge current through the load, triac and wiring.

     

    On the other hand solid state relays has build in cuircuitry thet detect the load voltage and wait till it cross the zero threshold. thus avoiding a current surge.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • yvanttt
    yvanttt over 13 years ago

    here is one cheap version on ebay

     

    http://www.ebay.ca/itm/3-32V-DC-Input-24-380-AC-Output-Solid-State-Relay-25A-/260981274891?pt=LH_DefaultDomain_0&hash=item3cc3b2390b

     

    it will accept any input from 3v to 32v to activate and loads up to 380 volts ac , heat sink included

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube