Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Control Out of a Triac with PIC

Status
Not open for further replies.

ertan2002

Newbie level 5
Joined
Nov 27, 2011
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,360
Hi everyone, I am new here..

Well... I have a project which I need to control a machine with pic. And I am so confused for it. I really dont know what I can do ..

10719_triac_1.jpg


or

**broken link removed**

or

**broken link removed**



Well I will control an AC system and I think relays are not enough because of high current.. Then as my lecturer said, I need to use a triac but I need some kind of pulse? But I will trigger triac with DC .. and I dont have many information about it then realyl i am so confused..
is possible to tirgger a triac with DC and control AC ? and which picture looks better (above) ?

Thank you
 
Last edited:

All the above circuits will work fine.

Read the datasheets of the components you are going to use.

What kind of load you are going to use? Resistive or Inductive..
 

thank you for reply..

loads are inductive. some loads are pressing machines and boilers which starts machines..

and i am curious that I need to use pic RA2 .. It will be special one or just logic 1 or logic 0?.. I mean that special is like pwm or interrupt ...
 

To control an Ac system. u'll need first to detect the zero crossing of the 50HZ and then start to modulate the signal with the desired o/p.
many pic uc got built in clamp circuits . so you can connect the 220v directly through high oh-mic resistance maybe 3Mohm, or more (calculate it V=IR, ) to an interrupt pin to determine when the zero crossing occurs. and then start ur pulse width modulation and i recommend to do so through a dedicated pwm pin because such pins are work in the background. which means that you can enable it and do whatever you want in the code.

Here is an application note for the zerocrossing

h**p://ww1.microchip.com/downloads/en/appnotes/00521c.pdf
 

thanx for reply, but I will trigger geyt with DC .. But I will control AC load.. Then the zero crossing is not necessary for me ! ? Can I use moc?
 

AC load control many times require the control in the half cycle range based .....the starting of the half cycle will be zero-crossing position so it will be good that your micro-controller will should know the zero-crossing postion of AC wave form....

Good Luck
 
  • Like
Reactions: nxt_

    nxt_

    Points: 2
    Helpful Answer Positive Rating
thank you for reply..

loads are inductive. some loads are pressing machines and boilers which starts machines..

and i am curious that I need to use pic RA2 .. It will be special one or just logic 1 or logic 0?.. I mean that special is like pwm or interrupt ...

For Inductive loads the first circuit is best suited.
 

thanx friends, We decided that to use solid state relays :)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top