OK, if you like local words that can be done but I think you will not understand in that case what I'm talking about
You now say:
I never would rather give direct ac supply like that to micro-controller
But my comment was on what you said here:
current transformer ...it can handle any amount of current & can be easily measured by micro-controller & even no need to add additional circuitry
No additional circuitry is in my opinion connecting the transformer direct to you microprocessor.
But you are not very clear, you do not answer questions and do not read the answer.
I and Mithun tell you how to calculate the resistor (power and resistance) and after that you ask about the power needed.
I asked, how are you gonna measure the current, your answer: yes I;, gonna measure it (???)
This way we get nowhere.
You need to think about :
- the minimum and maximum current (that is not the same as power) you want to measure. 1 mA to 10A will need a very good many bita ADC
- the maximum possible voltdrop over the resistor
- the powerrating of the resistor
- the range you microprocessor needs for good resolution
- how you make a galvanic isolation between uP and mains
- how you are going to rectify the AC to DC ?, a diode, fine, but then you lose 0.35 to 1V depending on the Diode, so better a opamp precision rectifier circuit if you need resolution.
If you want a current transformer most of the above questions have to be answered too.
The advantage is you have isolation, no voltdrop in the mains line.
Anwer these questions and use the formulas and tips given in this topic and you are done.