2016-11-12 06:57 AM
I would like to drive 4ch dimmer triac with input sync zero crossing.
I want to use the timer device of stm32. How I do initialize the timer for drive 4 ch triac with input trigger sync zero crossing?2016-12-01 02:36 AM
Hello Michele,
Could you please detail your question: - what is ch4 dimmer ? - You mean 4 Triacs with a load for each, triggered by a single STM32 signal (and then a single timer) ? - Confirm that you want to use the zero crossing to drive the Triac in phase-shift ?In a first approach, I can suggest you to take few minutes on the 2 following demoboard firmware that perform phase-shift controls of Triacs. This is for STM8 MCU, but syntaxe will be close. You will find these firmware in ST.com for free.STEVAL-IHM029V2 => for Vaccum cleanerSTEVAL-ILD004V2 => for light dimmer.Hope it can help,Thank youBest RegardsBenoit