Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 09:25 28 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Electronics : Energy Meter Wiring

     Page 2 of 2    
Author Message
Madness

Guru

Joined: 08/10/2011
Location: Australia
Posts: 2498
Posted: 12:09pm 12 Apr 2018
Copy link to clipboard 
Print this post

Looks good Phil,

I think I am going to have create my own like that also. I am waiting for the RS485 cards to arrive to look at it more, turns out Zeversolars online charts are crap, it gives daily totals but does not show power output from the Eastron meter on the 10 minute chart.




The graphs above don't account for 3750W of PV power generated directly to the battery.
Edited by Madness 2018-04-13
There are only 10 types of people in the world: those who understand binary, and those who don't.
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1664
Posted: 08:43pm 12 Apr 2018
Copy link to clipboard 
Print this post

Once I've tidied up the code and am reading all 3 meters I want to try & port my output over to the energy meter Silicon Chip Published.

http://www.siliconchip.com.au/Issue/2016/August/Touchscreen-Controlled+Energy+Meter%2C+Pt.1

It's got a few inbuilt graphs & logging routines & Usb download ability.

Other option open is to simply have it report back to my Comms master which currently logs data from 3 other individual devices & writes it all to the SD card.

From there I just download it with X-modem.

Do you do much programming at all Mad? Don't recall seeing you in the Micro forum.

Cheers
 
Madness

Guru

Joined: 08/10/2011
Location: Australia
Posts: 2498
Posted: 09:10pm 12 Apr 2018
Copy link to clipboard 
Print this post

I work with Arduino's, I did post one thing on the micro forum but was told I should do it with micro mites. Have not bothered going there again.
There are only 10 types of people in the world: those who understand binary, and those who don't.
 
yahoo2

Guru

Joined: 05/04/2011
Location: Australia
Posts: 1166
Posted: 07:33am 13 Apr 2018
Copy link to clipboard 
Print this post

  Phil23 said   Pretty much got it sorted now.

Reading the first block of registers all in one hit.


Nice, now if you can get it to poll total active energy as well, then you are home and hosed.

You can use that to trigger a sketch/scene/event or whatever the hell we are calling them now-days.Edited by yahoo2 2018-04-14
I'm confused, no wait... maybe I'm not...
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1664
Posted: 08:38am 13 Apr 2018
Copy link to clipboard 
Print this post

  yahoo2 said  
  Phil23 said   Pretty much got it sorted now.

Reading the first block of registers all in one hit.


Nice, now if you can get it to poll total active energy as well, then you are home and hosed.[/quote]

That will be easy enough, just a different address range & don't really need to read every second like I'm doing with the live readings. Every 10 minutes would be fine.

Other thing is to read all 3 meters. instead of just the one.
Nothing difficult in that.

[Quote]You can use that to trigger a sketch/scene/event or whatever the hell we are calling them now-days.


Subroutine in my world. Already have a bit of code that does 10 minute polling & does it from the time stamp, so always 6:00, 6:10 etc, not odd times in between.

Phil.
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1664
Posted: 10:27pm 22 Apr 2018
Copy link to clipboard 
Print this post

Mostly done & dusted now.

It's polling both meters for live & total values & displaying them on both the LCD display & the VT100 console.

Hardware is just the Micromite, TTL-RS485 module & the ESP-01 to give me an IP connection for the console.

Left column is meter 1; on the inverters input. Right is meter 2 on it's output.
Planning on adding a 3rd to my main meter box supply.

The 2 figures on the Solar line are Meter 2-1; Left is Watts, Right VA.





The Console display still has a lot of debug info to remove, basically request & response strings.




Short YouTube Video showing live readings.


Will post the full code in the Micro forum once I've tidied it up a bit more.

Phil.

Edited by Phil23 2018-04-24
 
Madness

Guru

Joined: 08/10/2011
Location: Australia
Posts: 2498
Posted: 10:54pm 22 Apr 2018
Copy link to clipboard 
Print this post

Looks good Phil.

I found out my readings were wrong because Zeversolars software is wrong. Still waiting on RS485 PCBs.
There are only 10 types of people in the world: those who understand binary, and those who don't.
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1664
Posted: 08:57am 24 Apr 2018
Copy link to clipboard 
Print this post

  Madness said   Looks good Phil.

I found out my readings were wrong because Zeversolars software is wrong. Still waiting on RS485 PCBs.


Mad,

Does that mean it is reading the wrong registers?
Checked out my Rs485-USb $2 module the other day.

No 120 Ohm terminator, so perfect for sniffing the bus.


Phil.
 
Madness

Guru

Joined: 08/10/2011
Location: Australia
Posts: 2498
Posted: 12:31pm 24 Apr 2018
Copy link to clipboard 
Print this post

Phil not sure what it is yet, I can't see what is going on with the RS485 yet still waiting for hardware. I tried setting a power export limit but that does nothing, flying blind ATM.
There are only 10 types of people in the world: those who understand binary, and those who don't.
 
Madness

Guru

Joined: 08/10/2011
Location: Australia
Posts: 2498
Posted: 11:51pm 06 May 2018
Copy link to clipboard 
Print this post

The RS485 modules have arrived and started playing with them. Currently just going from Arduino to RS485 - RS485 USB adaptor on my PC. Much easier than I thought it would be.






There are only 10 types of people in the world: those who understand binary, and those who don't.
 
     Page 2 of 2    
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024