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.

AC voltmeter required

Status
Not open for further replies.

mudasser_90

Newbie level 2
Newbie level 2
Joined
Jan 9, 2013
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,296
hey everyone :)

i am working on my fyp. i need an AC voltmeter(0-250 volts) to measure voltage of motor. if anybody have PIC or microcontroller based AC voltmeter circuit/simulation/coding(C language) , please share .

thnxxx
 

u have to reduce the voltage by using some optocouplers and send the voltage to ADC of mcu the output of optocoupler will be the working voltage of MCU take that as scaled voltage


If your 0-5 volts at mcu pin is scaled and the actual range = 0-20v then 5 = 20

so 1v scaled = actual 4v

Your adc will produce 1023 raw value for 5v i.e., 20v actual value.

5v scaled = 20v actual = 1023 raw adc value

you can write like 1023 * x = 5

x = 5 / 1023 = 0.0048875855327468

raw_adc_value * 0.0048875855327468 = scaled voltage

if raw_adc_value = 819 then 819 * 0.0048875855327468 = 4.002932551319629 = 4v scaled value

raw_adc_value * 0.0048875855327468 * 4 (in this case) = actual voltage

If that 4v scaled value is multiplied by 4 it becomes 16.01173020527852 = 16v because 20/5 = 4. So you multiply by 4.

eg: if raw_adc_value = 819 then 819 * 0.0048875855327468 * 4 = 16.01173020527852 actual voltage
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top