Hi Hans,

I did not know you had your own website.  Interesting projects.

I saw you changed the code to the eeprom library which is now used in Jallib 
and it compiles. I think it should work fine but let me know if it does not.

Good luck with your smart meter.

Kind regards,

Rob

BTW. I assume you had no problems with the truncation warnings but in general 
it is better to solve them.

________________________________
Van: [email protected] <[email protected]> namens hans 
<[email protected]>
Verzonden: woensdag 20 juli 2022 11:27
Aan: jallib <[email protected]>
Onderwerp: Re: [jallib] Pic_program_eeprom

Thanks Kiste for the lesson. Indeed i use the signal out of the utility company 
unit. I have reworked the program foloowing Rob's advice and now the compiling 
works. Next the practical part . Attached the revised program.
regards
Hans

Op woensdag 20 juli 2022 om 10:13:14 UTC+2 schreef Kiste:
Hi all,

a pure resistor takes only "active power". Inductors and capacitors also take 
"reactive power", both kinds of power combined are called "apparent power" (all 
of the names translate similarly to dutch).

There are cheap devices, which do measure neither of the three but completly 
wrong values when loaded inductively or capacitively. But, from what I read 
before, the meter is provided by your utility company, therefore it must be a 
device which correctly measures "active power". It could, however, also output 
one or both of the other powers, or a number called "power factor" or "cos phi".

Greets,
Kiste


Am Mittwoch, 20. Juli 2022 um 09:53:08 MESZ hat hans <[email protected]> 
Folgendes geschrieben:


Hi Vasile,
my site    www.tweeduuster.nl<http://www.tweeduuster.nl>  works fine. Sorry for 
the mistake  What do you mean with reactive energy? I shows in and out Kwhr and 
save the data for some time.

Op woensdag 20 juli 2022 om 06:24:09 UTC+2 schreef vasile:
Hans, your site is down?
Does your meter measure reactive energy too? Thx.

On Tue, Jul 19, 2022 at 8:48 PM hans <[email protected]> wrote:
Hi Rob,
If you look at my site, www.teeduuster.nl<http://www.teeduuster.nl>, on the 
first page you will find SMART METER READER. This animal did fine until last 
week, but our energy supplier has placed another meter with something 
different. Hence. I'll see what I can do with your tips. thanks again.
regards
Hans
Op dinsdag 19 juli 2022 om 18:42:33 UTC+2 schreef [email protected]:
Hi Hans,

This seems to be a very old library completely written in assembly.

I suggest you use the current library pic_data_eeprom.jal and replace the 
following:

  *   Program_EEprom_Read --> data_eeprom_read_word
  *   Program_EEprom --> data_eeprom_word
  *   Program_EEprom_Write --> data_eeprom_write_word

You can use the same parameters in both procedures and functions. It should 
then work again.

But please check this library and read the note about the EEPROM offset 
(EEPROM_ADDRESS_OFFSET) since some PICs need it and I do not know which one you 
are using.

Kind regards,

Rob

________________________________
Van: [email protected] <[email protected]> namens hans 
<[email protected]>
Verzonden: maandag 18 juli 2022 21:23
Aan: jallib <[email protected]>
Onderwerp: Re: [jallib] Pic_program_eeprom

I used the pic-data-eeprom and the  the attached lib in a 
years_old_still_working-program  but the attached is not working anymore. I got 
errors in compiling.

Op maandag 18 juli 2022 om 18:48:43 UTC+2 schreef [email protected]:
Hi Hans,

Was your plan to program the eeprom separately or program eeprom from your JAL 
program?

You can program eeprom with a PICkit3 (and I assume also a Pickit2) and for 
programming it  from your JAL program you can use pic_data_eeprom.jal.

Kind regards,

Rob

________________________________
Van: [email protected] <[email protected]> namens hans 
<[email protected]>
Verzonden: maandag 18 juli 2022 17:23
Aan: jallib <[email protected]>
Onderwerp: [jallib] Pic_program_eeprom

Hello,
For a very old program I used the lib pic_program_eeprom, does it still exist 
somewhere?
greetings
Hans

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/29887325-b407-44e9-b6b1-b886f076ab3bn%40googlegroups.com<https://groups.google.com/d/msgid/jallib/29887325-b407-44e9-b6b1-b886f076ab3bn%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/3b1192a6-c318-4916-aee8-48796ee17dacn%40googlegroups.com<https://groups.google.com/d/msgid/jallib/3b1192a6-c318-4916-aee8-48796ee17dacn%40googlegroups.com?utm_medium=email&utm_source=footer>.


--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/d0a1275f-7e87-4cfd-a916-1e588b63f5cen%40googlegroups.com<https://groups.google.com/d/msgid/jallib/d0a1275f-7e87-4cfd-a916-1e588b63f5cen%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jallib/9437eff2-56c6-44eb-a398-c168d5142fa9n%40googlegroups.com<https://groups.google.com/d/msgid/jallib/9437eff2-56c6-44eb-a398-c168d5142fa9n%40googlegroups.com?utm_medium=email&utm_source=footer>
.

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/85d9e68d-94d7-480e-a12a-4b69aa84b4c4n%40googlegroups.com<https://groups.google.com/d/msgid/jallib/85d9e68d-94d7-480e-a12a-4b69aa84b4c4n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/GVXP195MB1637DA535D8D3E96A4AE5352E68E9%40GVXP195MB1637.EURP195.PROD.OUTLOOK.COM.

Reply via email to