use Arduino like optotriac driver