I so glad for many people come here
First of all, Thanks everyone
be80be:
Pwm doesn't work well it's like a hit and miss kind of thing without reading the zero cross that's not to say it can't be done but to work well you need to not fire the triac till it shifts from zero so you still need to no where zero is and delay the firing.
Grumpy_Mike:
Well I would say you can't do it with PWM because it is not synchronised with the zero crossing.
did you watch the video? Is it PWM? right?
As far I know PWM can't trigger directly, thats why we use MOC optocoupler, and ya I know. I need manage delay so then TRIAC's gate pulse sync with the main voltage phase & frequency.
my plan is using osciloscope, read signal, generate delay and sync manually. ya too conventional, and too hard too. Do you have better idea? Thanks 
Grumpy_Mike:
Also in that blurred out part you have a direct connection to one side of the mains!
That could be fatal, don't do it.
Actually blurred area are my another experiment(previous), lets say it LCD to display time/div or volt/div... and reading pulse In to arduino, but still in use. I want focus to control firing TRIAC, so thats why
Is it still fatal ?
MrAl:
Hello there,
First off it looks like you dont have the triac connected properly. The triac two main terminals need to be connected in SERIES with the load, and i dont even see a load anywhere in that schematic. I see a snubber, but no load. The way the triac is connected in the schematic is such that when it turns on it shorts out the mains supply, which is not good and not the way it should be connected because after all you want to control the power in the LOAD, not short out the mains supply.
Also, that 10k resistor for R2 may be too high depending on what triac you are using.
So start by connecting a load in series with the triac, as that would be what you are turning on and off anyway. It looks like you have some sort of sync, but make sure it is in the right place in time relative to the sine wave.
SHARP !!!
I just replace 10k with 150. then I connect lamp series next to TRIAC. and look like I cut all positive cycle. Just negative half wave come out, I tried to vary the delay, but still not work. need to sync it !!!
Satbeginner:
Hi,
I have build a Arduino based and controllable dimmer.
And yes, you do need a (Opto isolated) trigger at zero-crossing into the Arduino, and again opto-isolated, a duration changed firing pulse to the Triac.
Attached you find my code and schematic's. (Arduino IDE and TinyCad format)
I control the amount of power going into our water-heater to avoid feeding our surplus Solar energy back into the grid.
In short: We have a Wattson (They are out of business now) wireless solar power-meter.
This unit show by means of a green LED if there is surplus or not.
So, the Wattson is connected with my 'transmitter'.
And the 'receiver' is also the dimmer controller.
I did put a lot of comments in the code, so maybe it is helpfull.
Un saludo,
Satbeginner
WOW, Thanks You 
I will look and learn for that, Salute 
Thanks, that so kind
Thanks Sir. I will read it carefully 