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

1. 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

•

2. 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.

3. Re: Converting 0 - 240AC voltage to 0 - 5 Dc voltage

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

•

4. Re: Converting 0 - 240AC voltage to 0 - 5 Dc voltage

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

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

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

6. 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 :

•

7. Re: Converting 0 - 240AC voltage to 0 - 5 Dc voltage

Originally Posted by armghan11
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
here's one obvious and simplistic method.

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

--[[ ]]--