Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[PIC] How to measure unknown voltage using MCU's ADC??

Status
Not open for further replies.

Deexith Hasan

Advanced Member level 4
Joined
Oct 24, 2014
Messages
111
Helped
4
Reputation
8
Reaction score
3
Trophy points
18
Activity points
740
I want to make a voltage stabilizer using pic18f to detect the incoming AC voltage i used AC-DC 220-12v transformer and a rectifier and capacitor filter circuit...The input voltage may be anything from 175v to 275v AC.....how to measure it with MCU's ADC ?
 

The transformer gives proportional voltage at secondary with respect to primary. You again convert it to DC using bridge rectifier. If secondary voltage is 12 V then 1.4V drop across bridge and you get 10.6V DC. You use a voltage divider and divide the voltage into two parts like 6.6 and 4V. The 4V is fed to ADC. If AC mains is 220V and secondary voltage is 12V then ADC input will be 4V. If mains voltage vary between 180V and 300V then ADC input also varies. So, for 4V value is 220V. Using this you can easily calculate the other values.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top