harmoncia
Newbie level 2

Hello,
I'm trying to build a power consumption meter using ADE7753. I've designed a circuit (see the picture), made PCB and put it all together. First of all, I tried to run the circuit from external 9 V battery, to see if ADE is ok. It was, so I've programmed driver for it for my ATmega. Then I've wanted to try some measuring. Measuring circuit was still powered by external 9 V battery and ATmega circuit was in bread board powered by it's external PSU. ADE7753's energy register was shown on LCD connected to ATmega. Everything was set to start measure. So I've connected 230 V input mains (phase and neutral) and no load was connected and some shortage happened in my circuit. Resistors R1 and R2 are burned and ATmega is probably dead. Do you have any ideas how could this happened? Power circuit was not closed (no load). Any ideas? Thanks for answers.
Circuit image
I'm trying to build a power consumption meter using ADE7753. I've designed a circuit (see the picture), made PCB and put it all together. First of all, I tried to run the circuit from external 9 V battery, to see if ADE is ok. It was, so I've programmed driver for it for my ATmega. Then I've wanted to try some measuring. Measuring circuit was still powered by external 9 V battery and ATmega circuit was in bread board powered by it's external PSU. ADE7753's energy register was shown on LCD connected to ATmega. Everything was set to start measure. So I've connected 230 V input mains (phase and neutral) and no load was connected and some shortage happened in my circuit. Resistors R1 and R2 are burned and ATmega is probably dead. Do you have any ideas how could this happened? Power circuit was not closed (no load). Any ideas? Thanks for answers.
Circuit image