Arduino SMPS power supply with ZCD

I am working on a project and i am planning to use arduino as a standalone, i have designed a SMPS power supply(5v-1.5a) circuit along with Zero crossing detector as shown in following image.

i haven't decided the component values yet. I need your suggestion weather the circuit is fine or do i need to change anything?

Thank you!