I am setting up an MPII (48/5000) + MPPT250/70 system. I am currently using venusOS on an RPi4B because I had one to hand. I have a kosher VE.Bus <->USB connector for initial config and connection to venusOS. That’s all working nicely, and 'Multiplus II and ‘generic Venus device’ both show up in victronconnect and the VRM portal (after setting that up). However my MPPT device is not being recognised by venusOS, and thus not showing up and thus not being set by the ESS assistant to do the right things.
I am using a standard pl2303 serial adaptor which I have used for many years, and logging data with screen or serial studio (at 19200baud) I am getting packets of about 200 bytes once every second. It’s mostly hex rather than ASCII but I assume that’s OK. But plugging it into the Pi the device is not recognised, so I’m starting to wonder if the serial data I am seeing is as it should be.
Victron world is all new to me apart from what I’ve found out over the last month or so (and there is a lot to learn!) so I may be being dumb here, or maybe not…
So, let me check my assumptions: The output from the MPPT250/70 Tr is 5V serial at 19200 baud, 8N1. Right? (I still get periodic output if I set 9600 baud, but different, see below). And is it ‘real’ +/-9V RS232 or TTL 5V ‘fake RS232’ that so many things use these days? I’ve not actualy got my scope out yet to see. And it is is RS232 not RS485?
The output is essentially hex, not readable ASCII? That’s what I’m seeing, but this doc: https://www.victronenergy.com/upload/documents/BlueSolar-HEX-protocol.pdf says I should see human-readable packets ‘periodically’. How long should I wait for one of those? I’m not seeing any.
The data I am seeing is consistent - with each packet starting with 79,BD,D5 so it looks like plausible data. But that doc says the Id for the MPPT 25/70 is 0xA05B and I never see that in my data, which makes me think it may be corrupt somehow (not sure how - wrong speed, floating voltages?)
The automatic messages should all be the ‘Asynchronous items’ (section 1.2). The example messages seem to show that every messages starts with a colon. i.e hex 3A? and end with a newline (hex 0A). Miune start with 0x79 (‘y’) and end with 0x00 (NULL). So am I in fact seeing corrupt (but consistent) data?
Testing, I can in fact get data at 2400, 4800, 9600, 19200, 38400, 57600 and 115200, but none of it seems to have the right ‘starts with a colon’ format. The bytes and packet-lengths vary, as you might expect. (much shorter packets at lower speeds )
If someone had an example of logged MPPT smartsolar output that would help me work out when I have in fact got this working.
I looked at VE.Direct Protocol FAQ [Victron Energy] but it doens’t specify a baudrate.
Details:
Smartsolar firmware version is 1.64, which is current.
The serial I am using is not isolated so I have not connected up the 5V line as that’s only there to power the MPPT side of an isolated device (right?). I’m just using GND/RX/TX in the classic simple-serial form. I do have 3 more RS232->USB devices which are all 5V tolerant so I could try those but I don’t expect them to do anything different.
I tried 2 other PL2303 adaptors which seemed to give the same results.
Attached are files logging for 3 packets-worth at 9600 and 19200
MPPT9600log.txt (1.9 KB)
MPPT19200log.txt (3.6 KB)