construction and analysis of a digital ac/dc voltmeter using pic16f877a micro controller