| Author |
Message |
danielx25
Joined: 19 Jul 2009 Posts: 2
|
19 Jul 2009 23:49 ade7753 |
|
|
|
|
| I'm from Argentina so apologize me because of my poor english. I could communicate with the ADE7753 but in the datasheet said the when the IC detect a zero crossing a zero appear in the STATUS register and after a read the RSTSTATUS a 1 apear and the IRQ changes to 1. I'm using a a AT89S8253 and i'm programing in ASM, my program set the interrupt vector of the ADE for the zero crossing and the program wait, when the MCU detect the 0 the I read the RSTTATUS but i have a 1 if I read again i have a 0 (this is the Zero crossing flag) , so the question is if the ADE when detect a cero crossing sets a 1 or 0 in the flag?. (the Datasheet said a 0, but i'm detecting a 1)
|
|
| Back to top |
|
 |
bobcat1
Joined: 10 Jul 2002 Posts: 1118 Helped: 48
|
25 Jul 2009 12:20 zero crosing |
|
|
|
|
HI
Use the zero crossing hardware IO pin from the ADE7753 and connect it via opto cupler to your controller interrupt input and generate an interrupt every zerocross
all the best
Bobi
|
|
| Back to top |
|
 |
danielx25
Joined: 19 Jul 2009 Posts: 2
|
28 Jul 2009 0:33 ade7753 reset problem |
|
|
|
|
Thanks, I coud solve the problem. the 1 that appear was because when the ADE starts waits til its ready and then sets the reset bit.
Added after 3 minutes:
Now i have a problem whith the irms current, because i dont have a zero value when i put zero volts; I tried to compesate whith the IRMS Offset register but i can't make hat the reading became zero (its about 255)
|
|
| Back to top |
|
 |
Google AdSense

|
28 Jul 2009 0:33 Ads |
|
|
|
|
|
|
| Back to top |
|
 |
bobcat1
Joined: 10 Jul 2002 Posts: 1118 Helped: 48
|
01 Aug 2009 7:22 ade 7753 |
|
|
|
|
Hi
In order to do that you will need to match the current sensing element to the ADE7753
In Analog site there are several application note show how to do that
All the best
Bobi
|
|
| Back to top |
|
 |