I'm taking zero crossing input as INT to ATmega32 and based on zero crossing detection trying to fire Triac. Dimming is working very well for both resistive and inductive load.
But issue I'm facing in Output voltage between load. Getting almost 300v at 100% dimming, 270v at 85% dimming.
Below I have attached Triac connection I have used.