I am using PIC16f877a and i want to convert the 0 to 100v AC to some proportional DC of 0 to 5V range. Can anybody help me in this conversion circuit. ????
Google for "transformerless power supply" or "transformerless power supply 12V". You will get a lot of circuits. Use a voltage divider to drop the 12V DC to 5V DC.