+ Post New Thread

Results 1 to 7 of 7

- 9th January 2013, 16:46 #1

- Join Date
- Oct 2012
- Posts
- 41
- Helped
- 0 / 0
- Points
- 594
- Level
- 5

## Converting 0 - 240AC voltage to 0 - 5 Dc voltage

Hey everyone i want to measure current and voltage using Pic16f877a for my final year project 'Non intrusive load monitoring system'. I want a simple circuit to convert ac voltage range from 0 - 240 to dc voltage 0 - 5v.... if anyone have proteus simulation and code please share :) Thanks

- 9th January 2013, 16:46

- 9th January 2013, 16:50 #2

- Join Date
- Sep 2010
- Location
- Pancevo, Serbia
- Posts
- 6,427
- Helped
- 1730 / 1730
- Points
- 33,187
- Level
- 44

## Re: Converting 0 - 240AC voltage to 0 - 5 Dc voltage

Its possible on several ways, such as voltage divider, hall sensor for voltage, prim/sec transformer.

But is there is purpose of measuring 0-240V? Usually voltage oscillations are monitored let say between 160V - 270V.“Let the future tell the truth, and evaluate each one according to his work and accomplishments. The present is theirs; the future, for which I have really worked, is mine.” Nikola Tesla

- 9th January 2013, 16:50

- 9th January 2013, 16:56 #3

- Join Date
- Oct 2012
- Posts
- 41
- Helped
- 0 / 0
- Points
- 594
- Level
- 5

## Re: Converting 0 - 240AC voltage to 0 - 5 Dc voltage

well measuring fluctuation between 160v to 270v would be ok too ...

- 9th January 2013, 16:56

- 9th January 2013, 16:57 #4

- Join Date
- Sep 2010
- Location
- Pancevo, Serbia
- Posts
- 6,427
- Helped
- 1730 / 1730
- Points
- 33,187
- Level
- 44

## Re: Converting 0 - 240AC voltage to 0 - 5 Dc voltage

For current you can use CT Current Transformer, and also Hall sensors.

“Let the future tell the truth, and evaluate each one according to his work and accomplishments. The present is theirs; the future, for which I have really worked, is mine.” Nikola Tesla

- 9th January 2013, 16:59 #5

- Join Date
- Oct 2012
- Posts
- 41
- Helped
- 0 / 0
- Points
- 594
- Level
- 5

## Re: Converting 0 - 240AC voltage to 0 - 5 Dc voltage

main idea is to measure a current from main power supply of buidling...

- 9th January 2013, 17:04 #6

- Join Date
- Sep 2010
- Location
- Pancevo, Serbia
- Posts
- 6,427
- Helped
- 1730 / 1730
- Points
- 33,187
- Level
- 44

## Re: Converting 0 - 240AC voltage to 0 - 5 Dc voltage

What current range ?

You can see ACS712 hall sensor. Can measure current of both AC and DC.

There is three variants for 5A 20A and 30A, all three can measure negative and positive voltages.

Output from IC is prepared for uC ADC.

Example for ACS712-20 (20A) :

0,5V is -20A

2,5V is 0V

4,5V is +20A

ACS712 is very cheap, but current must flow through it.

But my opinion for safety that is better to use current transformer for this, or hall sensor without direct interruption of wires.

Hall sensor without wire interruption:

Current Transformer also without wire interruption :

Last edited by tpetar; 9th January 2013 at 17:14.

“Let the future tell the truth, and evaluate each one according to his work and accomplishments. The present is theirs; the future, for which I have really worked, is mine.” Nikola Tesla

- 9th January 2013, 17:04

- 9th January 2013, 17:13 #7

- Join Date
- Dec 2012
- Location
- New Delhi
- Posts
- 878
- Helped
- 153 / 153
- Points
- 4,578
- Level
- 16

## Re: Converting 0 - 240AC voltage to 0 - 5 Dc voltage

here's one obvious and simplistic method.

http://www.falstad.com/circuit/#%24+...573E-4+0+-1%0A

extremely linear, extremely accurate, extremely cheap, extremely simple to implement. Why bother with anything else ?

+ Post New Thread

Please login