|
Post by Admin on Nov 8, 2018 22:36:49 GMT
Attached is the document for the Rover MODBUS ROVER MODBUS.docx (314.26 KB) -Renogy Team
|
|
|
Post by playersz28 on Nov 9, 2018 0:52:35 GMT
Thanks!
|
|
|
Post by lindsay on Nov 9, 2018 11:25:13 GMT
Wish I had this a year ago, had to work these all out on my own at the time But nice to see if I missed anything!
|
|
|
Post by playersz28 on Nov 9, 2018 12:20:40 GMT
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.
|
|
|
Post by lindsay on Nov 9, 2018 14:46:25 GMT
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.
|
|
|
Post by playersz28 on Nov 9, 2018 15:14:26 GMT
I'm using the Adafruit board with an external 500A shunt on the battery high side feed.
|
|
|
Post by lindsay on Nov 9, 2018 16:18:06 GMT
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!
|
|
|
Post by playersz28 on Nov 9, 2018 17:38:36 GMT
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).
|
|
|
Post by Admin on Nov 10, 2018 1:05:23 GMT
Wish I had this a year ago, had to work these all out on my own at the time But 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
|
|
|
Post by lindsay on Nov 13, 2018 14:43:11 GMT
|
|
|
Post by mediadogg on Dec 12, 2019 1:35:17 GMT
Some clever dudes in this thread. Nice work and very inspiring to read.
|
|
|
Post by playersz28 on Dec 13, 2019 15:27:50 GMT
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
|
|
raydas
Solar Devotee
Posts: 166
|
Post by raydas on Dec 13, 2019 15:42:20 GMT
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
|
|
|
Post by playersz28 on Dec 13, 2019 16:06:15 GMT
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
|
|
raydas
Solar Devotee
Posts: 166
|
Post by raydas on Dec 13, 2019 21:02:31 GMT
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.
|
|