ATM90E36_Arduino icon indicating copy to clipboard operation
ATM90E36_Arduino copied to clipboard

Values are missing while reading

Open Mshanti113 opened this issue 4 years ago • 6 comments

Hii Dhar,

I am working on interfacing of ATM90E36 with ESP32. As per the your library, interfacing was successfully carried out. However, while reading the data (only three phase voltage and frequency), some of data getting missed and showed zero. Data as follows: 21:02:44.123 -> VA:249.04V 21:02:44.123 -> VB:249.60V 21:02:44.123 -> VC:249.36V 21:02:44.123 -> IA:0.00A 21:02:44.123 -> IB:26.41A 21:02:44.123 -> IC:0.00A 21:02:44.157 -> f49.90Hz 21:02:45.142 -> S0:0x0 21:02:45.142 -> S1:0x0 21:02:45.176 -> E0:0x3466 21:02:45.176 -> E1:0x0 21:02:45.176 -> VA:249.16V 21:02:45.176 -> VB:249.72V 21:02:45.176 -> VC:249.48V 21:02:45.176 -> IA:0.00A 21:02:45.176 -> IB:0.00A 21:02:45.176 -> IC:0.00A 21:02:45.210 -> f49.90Hz 21:02:48.334 -> S0:0x0 21:02:48.334 -> S1:0x0 21:02:48.368 -> E0:0x0 21:02:48.368 -> E1:0x0 21:02:48.368 -> VA:249.26V 21:02:48.368 -> VB:249.82V 21:02:48.368 -> VC:249.58V 21:02:48.368 -> IA:0.00A 21:02:48.368 -> IB:0.00A 21:02:48.368 -> IC:0.00A 21:02:48.402 -> f49.90Hz 21:02:49.389 -> S0:0x0 21:02:49.423 -> S1:0x0 21:02:49.423 -> E0:0x0 21:02:49.423 -> E1:0x0 21:02:49.423 -> VA:249.28V 21:02:49.423 -> VB:249.85V 21:02:49.423 -> VC:249.61V 21:02:49.423 -> IA:0.00A 21:02:49.457 -> IB:0.00A 21:02:49.457 -> IC:0.00A 21:02:49.457 -> f49.91Hz 21:02:50.475 -> S0:0x0 21:02:50.475 -> S1:0x0 21:02:50.475 -> E0:0x0 21:02:50.475 -> E1:0x0 21:02:50.475 -> VA:249.26V 21:02:50.508 -> VB:249.82V 21:02:50.508 -> VC:249.58V 21:02:50.508 -> IA:0.00A 21:02:50.508 -> IB:0.00A 21:02:50.508 -> IC:0.00A 21:02:50.508 -> f49.91Hz 21:02:51.527 -> S0:0x0 21:02:51.527 -> S1:0x0 21:02:51.527 -> E0:0x55 21:02:51.561 -> E1:0x0 21:02:51.561 -> VA:249.16V 21:02:51.561 -> VB:249.72V 21:02:51.561 -> VC:249.48V 21:02:51.561 -> IA:0.01A 21:02:51.561 -> IB:0.00A 21:02:51.561 -> IC:0.00A 21:02:51.595 -> f49.91Hz 21:02:54.720 -> S0:0x0 21:02:54.720 -> S1:0x0 21:02:54.720 -> E0:0x0 21:02:54.754 -> E1:0x0 21:02:54.754 -> VA:249.12V 21:02:54.754 -> VB:249.69V 21:02:54.754 -> VC:195.56V 21:02:54.754 -> IA:0.00A 21:02:54.754 -> IB:0.00A 21:02:54.754 -> IC:0.00A 21:02:54.788 -> f0.00Hz (here frequency missed) 21:02:55.774 -> S0:0x0 21:02:55.774 -> S1:0x0 21:02:55.809 -> E0:0x0 21:02:55.809 -> E1:0x0 21:02:55.809 -> VA:249.03V 21:02:55.809 -> VB:0.00V (here voltage missed) 21:02:55.809 -> VC:0.00V (here frequency missed) 21:02:55.809 -> IA:0.00A 21:02:55.809 -> IB:0.00A 21:02:55.809 -> IC:0.00A 21:02:55.842 -> f49.91Hz 21:02:56.826 -> S0:0x0 21:02:56.860 -> S1:0x0 21:02:56.860 -> E0:0x0 21:02:56.860 -> E1:0x0 21:02:56.860 -> VA:249.03V 21:02:56.860 -> VB:249.59V 21:02:56.860 -> VC:249.35V 21:02:56.894 -> IA:0.00A 21:02:56.894 -> IB:0.00A 21:02:56.894 -> IC:0.00A 21:02:56.894 -> f0.00Hz (here Frequency missed) 1:02:56.826 -> S0:0x0 21:02:56.860 -> S1:0x0 21:02:56.860 -> E0:0x0 21:02:56.860 -> E1:0x0 21:02:56.860 -> VA:249.03V 21:02:56.860 -> VB:249.59V 21:02:56.860 -> VC:249.35V 21:02:56.894 -> IA:0.00A 21:02:56.894 -> IB:0.00A 21:02:56.894 -> IC:0.00A 21:02:56.894 -> f0.00Hz (here Frequency missed) 21:02:57.913 -> S0:0x0 21:02:57.913 -> S1:0x0 21:02:57.913 -> E0:0x0 21:02:57.947 -> E1:0x0 21:02:57.947 -> VA:0.00V (here voltage missed) 21:02:57.947 -> VB:19.03V (here voltage missed) 21:02:57.947 -> VC:0.00V (here voltage missed) 21:02:57.947 -> IA:0.00A 21:02:57.947 -> IB:0.00A 21:02:57.947 -> IC:0.00A 21:02:57.947 -> f0.00Hz 21:02:58.965 -> S0:0x0 21:02:58.965 -> S1:0x0 21:02:58.999 -> E0:0x0 21:02:58.999 -> E1:0x0 21:02:58.999 -> VA:0.00V (here voltage missed) 21:02:58.999 -> VB:0.00V (here voltage missed) 21:02:58.999 -> VC:0.00V (here voltage missed) 21:02:58.999 -> IA:0.00A 21:02:58.999 -> IB:0.00A 21:02:58.999 -> IC:0.00A 21:02:59.033 -> f49.91Hz 21:03:00.018 -> S0:0x0 21:03:00.052 -> S1:0x0 21:03:00.052 -> E0:0x4000 21:03:00.052 -> E1:0x0 21:03:00.052 -> VA:321.65V 21:03:00.052 -> VB:249.59V 21:03:00.052 -> VC:249.35V 21:03:00.052 -> IA:0.00A 21:03:00.052 -> IB:0.00A 21:03:00.086 -> IC:0.00A 21:03:00.086 -> f5.12Hz (here Frequency wrong value missed) 21:03:01.106 -> S0:0x0 21:03:01.106 -> S1:0x0 21:03:01.106 -> E0:0x0 21:03:01.106 -> E1:0x0 21:03:01.106 -> VA:0.00V (here voltage missed) 21:03:01.106 -> VB:0.00V (here voltage missed) 21:03:01.140 -> VC:288.52V 21:03:01.140 -> IA:0.00A 21:03:01.140 -> IB:0.00A 21:03:01.140 -> IC:0.00A 21:03:01.140 -> f49.91Hz

and its repeating as cycle but most of time we are able to get the value but only some time it is missing. Could you help me out to rectify this issue?

Thanks in Advance!

Mshanti113 avatar Apr 07 '20 15:04 Mshanti113

Hii Dhar,

I am working on interfacing of ATM90E36 with ESP32. As per the your library, interfacing was successfully carried out. However, while reading the data (only three phase voltage and frequency), some of data getting missed and showed zero. Data as follows: 21:02:44.123 -> VA:249.04V 21:02:44.123 -> VB:249.60V 21:02:44.123 -> VC:249.36V 21:02:44.123 -> IA:0.00A 21:02:44.123 -> IB:26.41A 21:02:44.123 -> IC:0.00A 21:02:44.157 -> f49.90Hz 21:02:45.142 -> S0:0x0 21:02:45.142 -> S1:0x0 21:02:45.176 -> E0:0x3466 21:02:45.176 -> E1:0x0 21:02:45.176 -> VA:249.16V 21:02:45.176 -> VB:249.72V 21:02:45.176 -> VC:249.48V 21:02:45.176 -> IA:0.00A 21:02:45.176 -> IB:0.00A 21:02:45.176 -> IC:0.00A 21:02:45.210 -> f49.90Hz 21:02:48.334 -> S0:0x0 21:02:48.334 -> S1:0x0 21:02:48.368 -> E0:0x0 21:02:48.368 -> E1:0x0 21:02:48.368 -> VA:249.26V 21:02:48.368 -> VB:249.82V 21:02:48.368 -> VC:249.58V 21:02:48.368 -> IA:0.00A 21:02:48.368 -> IB:0.00A 21:02:48.368 -> IC:0.00A 21:02:48.402 -> f49.90Hz 21:02:49.389 -> S0:0x0 21:02:49.423 -> S1:0x0 21:02:49.423 -> E0:0x0 21:02:49.423 -> E1:0x0 21:02:49.423 -> VA:249.28V 21:02:49.423 -> VB:249.85V 21:02:49.423 -> VC:249.61V 21:02:49.423 -> IA:0.00A 21:02:49.457 -> IB:0.00A 21:02:49.457 -> IC:0.00A 21:02:49.457 -> f49.91Hz 21:02:50.475 -> S0:0x0 21:02:50.475 -> S1:0x0 21:02:50.475 -> E0:0x0 21:02:50.475 -> E1:0x0 21:02:50.475 -> VA:249.26V 21:02:50.508 -> VB:249.82V 21:02:50.508 -> VC:249.58V 21:02:50.508 -> IA:0.00A 21:02:50.508 -> IB:0.00A 21:02:50.508 -> IC:0.00A 21:02:50.508 -> f49.91Hz 21:02:51.527 -> S0:0x0 21:02:51.527 -> S1:0x0 21:02:51.527 -> E0:0x55 21:02:51.561 -> E1:0x0 21:02:51.561 -> VA:249.16V 21:02:51.561 -> VB:249.72V 21:02:51.561 -> VC:249.48V 21:02:51.561 -> IA:0.01A 21:02:51.561 -> IB:0.00A 21:02:51.561 -> IC:0.00A 21:02:51.595 -> f49.91Hz 21:02:54.720 -> S0:0x0 21:02:54.720 -> S1:0x0 21:02:54.720 -> E0:0x0 21:02:54.754 -> E1:0x0 21:02:54.754 -> VA:249.12V 21:02:54.754 -> VB:249.69V 21:02:54.754 -> VC:195.56V 21:02:54.754 -> IA:0.00A 21:02:54.754 -> IB:0.00A 21:02:54.754 -> IC:0.00A 21:02:54.788 -> f0.00Hz (here frequency missed) 21:02:55.774 -> S0:0x0 21:02:55.774 -> S1:0x0 21:02:55.809 -> E0:0x0 21:02:55.809 -> E1:0x0 21:02:55.809 -> VA:249.03V 21:02:55.809 -> VB:0.00V (here voltage missed) 21:02:55.809 -> VC:0.00V (here frequency missed) 21:02:55.809 -> IA:0.00A 21:02:55.809 -> IB:0.00A 21:02:55.809 -> IC:0.00A 21:02:55.842 -> f49.91Hz 21:02:56.826 -> S0:0x0 21:02:56.860 -> S1:0x0 21:02:56.860 -> E0:0x0 21:02:56.860 -> E1:0x0 21:02:56.860 -> VA:249.03V 21:02:56.860 -> VB:249.59V 21:02:56.860 -> VC:249.35V 21:02:56.894 -> IA:0.00A 21:02:56.894 -> IB:0.00A 21:02:56.894 -> IC:0.00A 21:02:56.894 -> f0.00Hz (here Frequency missed) 1:02:56.826 -> S0:0x0 21:02:56.860 -> S1:0x0 21:02:56.860 -> E0:0x0 21:02:56.860 -> E1:0x0 21:02:56.860 -> VA:249.03V 21:02:56.860 -> VB:249.59V 21:02:56.860 -> VC:249.35V 21:02:56.894 -> IA:0.00A 21:02:56.894 -> IB:0.00A 21:02:56.894 -> IC:0.00A 21:02:56.894 -> f0.00Hz (here Frequency missed) 21:02:57.913 -> S0:0x0 21:02:57.913 -> S1:0x0 21:02:57.913 -> E0:0x0 21:02:57.947 -> E1:0x0 21:02:57.947 -> VA:0.00V (here voltage missed) 21:02:57.947 -> VB:19.03V (here voltage missed) 21:02:57.947 -> VC:0.00V (here voltage missed) 21:02:57.947 -> IA:0.00A 21:02:57.947 -> IB:0.00A 21:02:57.947 -> IC:0.00A 21:02:57.947 -> f0.00Hz 21:02:58.965 -> S0:0x0 21:02:58.965 -> S1:0x0 21:02:58.999 -> E0:0x0 21:02:58.999 -> E1:0x0 21:02:58.999 -> VA:0.00V (here voltage missed) 21:02:58.999 -> VB:0.00V (here voltage missed) 21:02:58.999 -> VC:0.00V (here voltage missed) 21:02:58.999 -> IA:0.00A 21:02:58.999 -> IB:0.00A 21:02:58.999 -> IC:0.00A 21:02:59.033 -> f49.91Hz 21:03:00.018 -> S0:0x0 21:03:00.052 -> S1:0x0 21:03:00.052 -> E0:0x4000 21:03:00.052 -> E1:0x0 21:03:00.052 -> VA:321.65V 21:03:00.052 -> VB:249.59V 21:03:00.052 -> VC:249.35V 21:03:00.052 -> IA:0.00A 21:03:00.052 -> IB:0.00A 21:03:00.086 -> IC:0.00A 21:03:00.086 -> f5.12Hz (here Frequency wrong value missed) 21:03:01.106 -> S0:0x0 21:03:01.106 -> S1:0x0 21:03:01.106 -> E0:0x0 21:03:01.106 -> E1:0x0 21:03:01.106 -> VA:0.00V (here voltage missed) 21:03:01.106 -> VB:0.00V (here voltage missed) 21:03:01.140 -> VC:288.52V 21:03:01.140 -> IA:0.00A 21:03:01.140 -> IB:0.00A 21:03:01.140 -> IC:0.00A 21:03:01.140 -> f49.91Hz

and its repeating as cycle but most of time we are able to get the value but only some time it is missing. Could you help me out to rectify this issue?

Thanks in Advance!

Hey , just wanted to check with you if you were able to get energy consumption values? If you were able to successfully compute energy, I'd like you to look into the issue I am facing(Getting 0). I've elaborated it under issues section of the same thread. Thanks

amarranade avatar Nov 27 '20 06:11 amarranade

Yes I have the DIN rail energy monitor project which successfully computes energy. As does work from CircuitSetup who is the current maintainer.

whatnick avatar Nov 27 '20 22:11 whatnick

Hi, Thanks for your query. Currently I am working on this problem and able to calibrate all values using changing the resistors values. So far got very accurate voltage, current, PF and other power values and values calibrated using CAL SOURCE 200 (standard source for calibration). Now, I will look into the energy data as requested by you and soon will be posted here.

Let me know if need any further help.

With regards MK

Mshanti113 avatar Dec 05 '20 07:12 Mshanti113

CAL SOURCE 200

Hey @Mshanti113 Thanks for the response.

Any luck in getting the energy values ? I am not able to get just the energy readings from ATMEL IC. Rest all values are getting computed nicely,

Thanks and regards

amarranade avatar Dec 15 '20 06:12 amarranade

Hey @ amarranade

Hope you are doing well!

Any luck in getting the energy values ?

Regards, MK

Mshanti113 avatar Jan 26 '22 15:01 Mshanti113

Hi I couldn't resolve the issue.

Good luck to you !

On Wed, 26 Jan, 2022, 9:06 pm Mshanti113, @.***> wrote:

Hey @ amarranade

Hope you are doing well!

Any luck in getting the energy values ?

Regards, MK

— Reply to this email directly, view it on GitHub https://github.com/whatnick/ATM90E36_Arduino/issues/6#issuecomment-1022317406, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGXRONRLT6E3TXMZL2EZUA3UYAIGLANCNFSM4MDHCP5Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

amarranade avatar Jan 26 '22 15:01 amarranade