Page 1 of 1

ADE7758 Energy Metering

Posted: Tue Apr 25, 2017 7:37 pm
by electron67
Hello to all,

Changed the energy meter in my house; And increased the receipt of energy charge, I have connected the same before and after, as a result of this I began to become interested in a power meter, and investigated and found an Analog Devices in Energy Metering a variety of chips for this function; look for information in the forum, but I did not find anything; someone had experience using the ADE7758 chip with Flowcode ?
An advantage is that you can read data using a Rogowski Coil and would simplify reading without taking risks.

Thanks for reading and if anyone can help me. :idea:
Enrique

Re: ADE7758 Energy Metering

Posted: Wed May 10, 2017 5:05 pm
by electron67
Hello everyone,

This chip is complicated, does anyone know of an easier to program equivalent that gives the same data? :(

Thanks
Enrique

Re: ADE7758 Energy Metering

Posted: Wed May 10, 2017 5:50 pm
by Steve001

Re: ADE7758 Energy Metering

Posted: Wed May 10, 2017 5:55 pm
by electron67
Thanks Steve

I'm going to check the datasheet of the 2 chip

Enrique

Re: ADE7758 Energy Metering

Posted: Thu May 11, 2017 5:57 am
by QMESAR
Hi
Just to add a bit to Steve the Microchip way is the better way I think, as you have reference designs and reference code from which you can build your own meter
here are the main meter page
http://www.microchip.com/design-centers ... -solutions :D

Re: ADE7758 Energy Metering

Posted: Thu May 11, 2017 3:58 pm
by electron67
Hi Steve and Peter

I appreciate your help, the energy modules are interesting too, I will study these modules to see how to connect them and to program them with Flow6

Best Regard
Enrique

Re: ADE7758 Energy Metering

Posted: Tue Jun 06, 2017 5:09 pm
by electron67
Hello everyone,

Buy the ADE7758 chip, but the SPI programming of this chip is very complicated for me; Choose to use a current transformer, read the readout (GetVoltage) of the ADC input (0) and calibrate the PIC16F887 and read the current being consumed; I am starting the project, the voltage 220 ac I applied directly to the PIC using a resistance of 10 MOhm (Microchip AN521), I tested before alolating the 2 signals to the PIC and the voltages are within the 5 vdc that should be applied to the ADC (0) And ADC (1). The problem I'm having is that the ADC (0) GetVoltage input stays very unstable, even if you connect it to ground (0.0000, 0.1524, 0.2456, 0.4123, 0.1563, etc.) Also connect it in AN (5) and it is just as unstable reading

Thanks
Enrique

Re: ADE7758 Energy Metering

Posted: Tue Jun 06, 2017 7:21 pm
by electron67
Hi

I did the same flowchart in Flowcode5 and PIC16F887 and the reading shown on the display is much more stable, mostly kept at zero with a few variations. . .That could be wrong :?:

Enrique

Re: ADE7758 Energy Metering

Posted: Thu Jul 27, 2017 6:41 pm
by electron67
Hi, good morning,

I have continued to seek information on this subject, but I have not found anything that I can work on it; But finally I found a library of arduino and with some components; a current transformers (SCT-013-000), a voltage transformer of 127 vac to 12 vac and a few resistors and capacitors, manage to make the reader of electrical measurements, Very economical and is very close to a measurement made with a multimeter; Also the communication can be made using the UART of a PIC connected to the TX and Arduino RX (ATMEGA328P); The readings delivered:
- Vrms
                      - Irms
                      - Real Power
                      - Apparent Power
                      - Power Factor
This PCB is prepared for 3 phases of 220 Vac (PCB lector)

Re: ADE7758 Energy Metering

Posted: Thu Jul 27, 2017 7:00 pm
by electron67
Now what I want to do is send a PIC information using FLOW7, by the UART port (RS232).
I made this small flowchart diagram, but it gives me the same 5 data in a row, as I can separate each data and with this I can make comparisons with the pic, send data by sms or do power supply cut.
Any help to guide me ?
I have tried some options, but read the first reading at first

Enrique

Re: ADE7758 Energy Metering

Posted: Thu Jul 27, 2017 11:25 pm
by electron67
Hello

With this flowchart diagram we separate the reading taken from Irms and compare it with a normal consumption constant.

But I can not specifically separate that value

Thanks
Enrique