Respondido

ROVER MODBUS

Thread Summary

Posted by Admin

Nov 8, 2018 at 2:36pm

Attached is the document for the Rover MODBUS

ROVER MODBUS.docx (314.26 KB)

-Renogy Team

Posted by playersz28

Nov 8, 2018 at 4:52pm

Thanks!

Posted by lindsay

Nov 9, 2018 at 3:25am

Wish I had this a year ago, had to work these all out on my own at the time :PBut nice to see if I missed anything!

Posted by playersz28

Nov 9, 2018 at 4:20am

lindsay,

I found a nodejs package that had a bunch of these listed and the name of the doc.

Right now I'm running a package called EpsolarServer that I changed a bit. It's written in C++. Next step is replacing and improving the charts. I also want to roll in the functionality I currently have in an Arduino for supporting load measuring. It uses an INA219 over I2C rather than reading the mV directly as you have.

Posted by lindsay

Nov 9, 2018 at 6:46am

That INA219 is cool, but don't think it'll handle the 28.8-29.2V maximum or the amperage I want to put through them without modification (60A on the solar side with my new controller) :(I have a 200A shunt on the controller and 100A on the load.

Posted by playersz28

Nov 9, 2018 at 7:14am

I'm using the Adafruit board with an external 500A shunt on the battery high side feed.

Posted by lindsay

Nov 9, 2018 at 8:18am

Have you found it to be accurate? When I checked directly with the multimeter the shunt I have on long leads (a bit over a metre) was reading about 10% lower through the ADC. I might just multiply the values in my python by 1.1 to correct for this!

Posted by playersz28

Nov 9, 2018 at 9:38am

Are you referring to the sense leads from the shunt? My Arduino (ESP8266 actually) is right beside the shunt and uses UDP broadcast and I2C to send the data to the two displays (Arduino+touchscreen or Pi+touchscreen+C#+WindowsIOT).

I've only tested the accuracy on the bench at low currents as my DVM only supports <20A. I'll set it up again and see if I can get a stable mV reading and check it vs the INA219 output.


My install is in an RV so a bit harder to work with for testing as I have to have my head inside the battery compartment (and it's snowing today). :)

Posted by Admin

Nov 9, 2018 at 5:05pm

lindsay Avatar

Nov 9, 2018 at 3:25am lindsay said:

Wish I had this a year ago, had to work these all out on my own at the time :PBut nice to see if I missed anything!



We apologize!

But definitely more power to you. For this forum we're trying to really serve as a resource and of course are always receptive to learning.

-Renogy Team

Posted by lindsay

Nov 13, 2018 at 6:43am

Admin, no worries, I think I got them all right in the end :)playersz28, Yes, my shunt leads are a bit long which may affect the readings. I'm also setting up a LCD on my I2C: www.netram.co.za/4302-gravity-i2c-16x2-arduino-lcd-with-rgb-font-display-black.html

Posted by mediadogg

Dec 11, 2019 at 5:35pm

Some clever dudes in this thread. Nice work and very inspiring to read.

Posted by playersz28

Dec 13, 2019 at 7:27am

mediadogg Avatar

Dec 11, 2019 at 5:35pm mediadogg said:

Some clever dudes in this thread. Nice work and very inspiring to read.


I've had my application running on a Pi for a year now. I capture the data from an ESP8266 connected to a shunt and the modbus readings from the Rover. They are logged to a SQL database and I can also use any browser on the trailer LAN to view a web page with numbers and charts.

I also have a GPS module that the Pi gets data from to log lat, lon, elevation & speed so I can reference location vs solar output.

Working on an Android app now to show what the web page shows.

Could have bought a system that provides pretty much all of it with less effort but where's the fun in that :)

Posted by raydas

Dec 13, 2019 at 7:42am

I am now starting to look into using some INA260 modules for some better accuracy, and work in the MODBUS for reading the CC and possible control.

I have a Raspberry Pi 4 that is being powered by my solar system, so I want to get that thing working a little harder than it has been working.

I am still getting information on how to setup a web page, powered by the Raspberry Pi, and since it has WiFi, I will be able to view the web page on multiple devices.

Boy, I have to go lay down for a bit. LOL

Posted by playersz28

Dec 13, 2019 at 8:06am

raydas Avatar

Dec 13, 2019 at 7:42am raydas said:

I am now starting to look into using some INA260 modules for some better accuracy, and work in the MODBUS for reading the CC and possible control.

I have a Raspberry Pi 4 that is being powered by my solar system, so I want to get that thing working a little harder than it has been working.

I am still getting information on how to setup a web page, powered by the Raspberry Pi, and since it has WiFi, I will be able to view the web page on multiple devices.

Boy, I have to go lay down for a bit. LOL


I'm currently using an INA219 as that was the best I could find when I first started down this path 4 years ago. My setup started out on a TI LaunchPad board using the Arduino environment. Then an ESP board. A bit over a year ago I switched mostly to a Pi but the INA is still on the ESP and sending shunt data to the Pi as I haven't bothered to port the Python lib to C++. I also have a Pi running Windows IoT that I had monitoring the stuff on a touch screen but that's not used anymore. Working on an Android app now. I forked my code for the Pi from EpSolarServer

I'll have to look into the INA260 next I guess :)

Posted by raydas

Dec 13, 2019 at 1:02pm

Adafruit sells the INA260 breakout board. One concern, actually two concerns, the size of the board, and the terminal connector.

The terminal connector will have to be able to handle a 12AWG or maybe even a 10AWG wire, wonder if it is up to the job. The board itself is, I think the size of a quarter, you will probably need a very sturdy surface and some good screws. It seems like the wire that I am working with has a coil to it, and that coil is always trying to return back to its coil shape after it gets straighten out.



Posted by playersz28

Dec 14, 2019 at 6:08am

raydas Avatar

Dec 13, 2019 at 1:02pm raydas said:

Adafruit sells the INA260 breakout board. One concern, actually two concerns, the size of the board, and the terminal connector.

The terminal connector will have to be able to handle a 12AWG or maybe even a 10AWG wire, wonder if it is up to the job. The board itself is, I think the size of a quarter, you will probably need a very sturdy surface and some good screws. It seems like the wire that I am working with has a coil to it, and that coil is always trying to return back to its coil shape after it gets straighten out.


Looking at the INA260 it's not suitable for high current systems. There is no way to bypass the integral shunt and use an external shunt. The INA219 doesn't have an on chip shunt and I removed the breakout board shunt in my system to use it with a 500A/50mv external shunt.

Posted by raydas

Dec 14, 2019 at 7:26am

I looked at the details for the INA260, it shows up 36V and 15A. I was thinking of using one for the solar panel array, in my system, I have never seen it even close to 15A. The volts on the solar panel array have been around 20V. So it looks like for my setup, this might work.

For the volts part I have a voltage divider breakout combined with an ADC, to get the actual readings. I use the Solar Station Monitor program to get the Amps and current readings. Since I have noticed the Solar Station Monitor program values are somewhat different from the actual values, I wonder if I should rely on those Amp value readings. Maybe the actual Amp values exceed 15A, that would make the INA260 relatively useless.

Posted by playersz28

Dec 14, 2019 at 11:37am

raydas Avatar

Dec 14, 2019 at 7:26am raydas said:

I looked at the details for the INA260, it shows up 36V and 15A. I was thinking of using one for the solar panel array, in my system, I have never seen it even close to 15A. The volts on the solar panel array have been around 20V. So it looks like for my setup, this might work.

For the volts part I have a voltage divider breakout combined with an ADC, to get the actual readings. I use the Solar Station Monitor program to get the Amps and current readings. Since I have noticed the Solar Station Monitor program values are somewhat different from the actual values, I wonder if I should rely on those Amp value readings. Maybe the actual Amp values exceed 15A, that would make the INA260 relatively useless.


I don't measure current flow anywhere except on the battery connections. The INA219 is a high side monitor so the shunt is on the positive side of the battery. My install is in a fifth wheel trailer. When I run the 2000w inverter at full load it'll draw upwards of 175A from the batteries.

Posted by cdevidal

Jan 4, 2020 at 9:36pm

Does this document apply to the Wanderer 10A as well?

Posted by mediadogg

Jan 6, 2020 at 6:55am

I use this ready-made meter / shunt combination. It does a good job for the price I think.

  • Detailed Answer above

  • How do I download that document at the beginning of this thread? It still tells me that guests cannot download it, but I already obviously have an account
Iniciar sesión o registrarse para publicar un comentario