whatnick / ATM90E26_Arduino

Demo Arduino code to test the ATM90E26 breakout
MIT License
57 stars 34 forks source link

Calibration Problem #17

Open muratgortekin opened 5 years ago

muratgortekin commented 5 years ago

Hello there,

I have a problem with calibration. I have used the following link in the .ino and excel calibration file. https://github.com/muratgortekin/atm90e26_esp8266 I'm reading the values by zero. I'm using a current transformer. I can't change what I did. What's wrong with that?

whatnick commented 5 years ago

Have you changed the checksum value to match your new calibration parameters? One of easiest approaches is to apply a multiplier in your Arduino firmware.

On Wed, Apr 24, 2019 at 9:22 AM Murat Görtekin notifications@github.com wrote:

Hello there,

I have a problem with calibration. I have used the following link in the .ino and excel calibration file. https://github.com/muratgortekin/atm90e26_esp8266 I'm reading the values by zero. I'm using a current transformer. I can't change what I did. What's wrong with that?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/whatnick/ATM90E26_Arduino/issues/17, or mute the thread https://github.com/notifications/unsubscribe-auth/AADX7BB3UUA2UUTU7Q7CAUDPR74CFANCNFSM4HIAWNHQ .

muratgortekin commented 5 years ago

How do I read Checksum? Can I see directly from the serial monitor? Checksum2 is giving an error. Do I have to write the value? Does this ATM90E26 chip calculate itself? Can you tell me the steps, please?

whatnick commented 5 years ago

Please look at the other issues here and the code. Yes the ATM90E26 calculates it, if you read the docs please implement the same in Arduino code ..

On Wed, Apr 24, 2019 at 1:21 PM Murat Görtekin notifications@github.com wrote:

How do I read Checksum? Can I see directly from the serial monitor? Checksum2 is giving an error. Do I have to write the value? Does this ATM90E26 chip calculate myself? Can you tell me the steps, please?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/whatnick/ATM90E26_Arduino/issues/17#issuecomment-486164607, or mute the thread https://github.com/notifications/unsubscribe-auth/AADX7BD54M2NLOZVLIBJQ53PSAYCNANCNFSM4HIAWNHQ .

muratgortekin commented 5 years ago

Thank you for your help. I think the calibration job looks okay for the voltage. But I can't read the current value. It always sends the value 0.

muratgortekin commented 5 years ago

Are the MMD0-MMD1 pins connected to GND or connected to VDD? Is it the problem? I have implemented the GND for MMD0 and the VDD for MMD1.

XingyumLee commented 5 years ago

do you know how to work out the Lgain,what do the two frequency mean?