bunrockter
Newbie level 6
Using an optioisolated triac with an MCU
I am designing a project that switches ac loads using a micro controller. I have never used triacs before, but i decided the best route to go was to use one that is optically isolated. The device I am currently considering using is a VO2223A https://www.vishay.com/docs/81924/vo2223a.pdf.
It says in the document that the trigger current is 10mA. and that the hold current is 25 mA. Never having used a triac before, I am assuming that it takes 10mA of current to the LED to turn the gate on and 25 mA of current to keep the triac switched on. Is this correct?
I saw the 10mA and I was excited because I was hoping to directly drive this with a digital output from my MCU. but if the holding current needs to be 25mA and I make it 30 for good measure, then I am not sure if it is a good idea to source the LED current from my MCU.
Unfortunately my MCU datasheet doesn't actually tell me how much current it can source, it only tells me what the short circuit current is and that appears to be 86.5 mA. I don't know how to divine from that if it is a good idea to try and get my MCU to source the current into the triac.
In general is it a bad idea to directly drive LEDs and such with MCU pins?
Thanks,
Bunrockter
I am designing a project that switches ac loads using a micro controller. I have never used triacs before, but i decided the best route to go was to use one that is optically isolated. The device I am currently considering using is a VO2223A https://www.vishay.com/docs/81924/vo2223a.pdf.
It says in the document that the trigger current is 10mA. and that the hold current is 25 mA. Never having used a triac before, I am assuming that it takes 10mA of current to the LED to turn the gate on and 25 mA of current to keep the triac switched on. Is this correct?
I saw the 10mA and I was excited because I was hoping to directly drive this with a digital output from my MCU. but if the holding current needs to be 25mA and I make it 30 for good measure, then I am not sure if it is a good idea to source the LED current from my MCU.
Unfortunately my MCU datasheet doesn't actually tell me how much current it can source, it only tells me what the short circuit current is and that appears to be 86.5 mA. I don't know how to divine from that if it is a good idea to try and get my MCU to source the current into the triac.
In general is it a bad idea to directly drive LEDs and such with MCU pins?
Thanks,
Bunrockter
Last edited: