Dear friend,Thanks for reply,
my requirement is;
1. speed control of a ceiling fan used in home operate on AC220 Volts 150w maximum and can be control by Triac BT136 by reducing the voltage ,no need to isolate ,no need to regulate
2. it can be used IR RC5 coding protocol,
3. I have compiler and programmer
and one more thing , i have a schematic diagram with asm file and hex file to control 8 switches with same as required but it has on/off switches, i want to add 2xBT136 Triac in place of some switches to control ceiling fan voltage (ie: AC40v to Ac220v app.)
i upload the file attachment of files here,you can check;