Communicating with MPPSolar Hybrid 5k MPI

hy

I have MPPSolar Hybrid 5k MPI

i have try to comunicate with invertor
arduino, ttl adapter on pin 10,11
SolarPower running on first pc, on second pc Arduino in monitor mode with serial cable plug in invertor

runing this program:

#include<SoftwareSerial.h>
#include<string.h>

SoftwareSerial mySerial(10, 11);
String response = “”;

void setup(){
Serial.begin(9600);
mySerial.begin(2400);}

void loop(){
while(mySerial.available()>0){
int data = mySerial.read();
{ response += (char)data;}
if (data == ‘\r’){
Serial.print ("\n\nInverter say: ");
Serial.println(response);
response = “”;}
}}

i have this response:

Inverter say: ⸮⸮⸮I]⸮00001.01VW
Inverter say: ^D018VERFW2:00001.01⸮⸮
Inverter say: ^D037000,005000,99,1,1,2300,2300,04,120⸮⸮
Inverter say: ^D0472400,500,0208,2400,0208,0100,0480,2,10,0,0,0A/
Inverter say: ^D0132020031116⸮⸮
Inverter say: ^D0460,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,⸮
Inverter say: ^D00800,00⸮⸮
Inverter say: ^D01720200503195432B
Inverter say: ^D0251496131903100152000000n⸮
Inverter say: ^D0472400,500,0208,2400,0208,0100,0480,2,10,0,0,0A/
Inverter say: ^D0862483,2485,0024,0042,0491,062,-00182,2328,4996,0000,2331,4999,028,031,000,0C@
Inverter say: ^D06100061,00102,0101,00101,0256,00256,005,1,1,1,2,2,1⸮⸮
Inverter say: ^D00505ٟ
Inverter say: ^D02101,1,0,0,1,1,0,0,0K
Inverter say: ^D017VERFW:00001.01VW
Inverter say: ^D018VERFW2:00001.01⸮⸮
Inverter say: ^D037000,005000,99,1,1,2300,2300,04,120⸮⸮
Inverter say: ^D0460,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,⸮
Inverter say: ^D0472400,500,0208,2400,0208,0100,0480,2,10,0,0,0A/
Inverter say: ^D00800,00⸮⸮
Inverter say: ^D0132020031116⸮⸮
Inverter say: ^D00800327⸮ Inverter say: ^D01720200503195437D⸮ Inverter say: ^D0251496131903100152000000n⸮ Inverter say: ^D0472400,500,0208,2400,0208,0100,0480,2,10,0,0,0A/ Inverter say: ^D0862483,2485,0024,0041,0491,062,-00189,2331,,,4999,0000,,,2328,,,4996,,,,028,031,000,0⸮⸮ Inverter say: ^D06100059,00103,,,,,,0099,,,00099,0255,,,00255,005,1,1,1,2,2,19 Inverter say: ^D0460,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,0,0,0,0,⸮ Inverter say: ^D00505ٟ Inverter say: ^D02101,1,0,0,1,1,0,0,0K Inverter say: ^D00800,00⸮⸮ Inverter say: ^D017VERFW:00001.01VW Inverter say: ^D018VERFW2:00001.01⸮⸮ Inverter say: ^D037000,005000,99,1,1,2300,2300,04,120⸮⸮ Inverter say: ^D0472400,500,0208,2400,0208,0100,0480,2,10,0,0,0A/ Inverter say: ^D0132020031116⸮⸮ Inverter say: ^D01720200503195441⸮⸮ Inverter say: ^D0251496131903100152000000n⸮ Inverter say: ^D0472400,500,0208,2400,0208,0100,0480,2,10,0,0,0A/ Inverter say: ^D0862483,2485,0024,0041,0491,062,-00182,2328,,,4996,0000,,,2331,,,4999,,,,028,031,000,0ʕ Inverter say: ^D06100060,00103,,,,,,0103,,,00103,0256,,,00256,005,1,1,1,2,2,1JT Inverter say: ^D0460,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,0,0,0,0,⸮ Inverter say: ^D00505ٟ Inverter say: ^D00800,00⸮⸮ Inverter say: ^D02101,1,0,0,1,1,0,0,0K Inverter say: ^D017VERFW:00001.01VW Inverter say: ^D018VERFW2:00001.01⸮⸮ Inverter say: ^D037000,005000,99,1,1,2300,2300,04,120⸮⸮ Inverter say: ^D0472400,500,0208,2400,0208,0100,0480,2,10,0,0,0A/ Inverter say: ^D0132020031116⸮⸮ Inverter say: ^D01720200503195445⸮2 Inverter say: ^D0251496131903100152000000n⸮ Inverter say: ^D0460,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,0,0,0,0,⸮ Inverter say: ^D00800327⸮
Inverter say: ^D0472400,500,0208,2400,0208,0100,0480,2,10,0,0,0A/
Inverter say: ^D00800,00⸮⸮
Inverter say: ^D0862483,2485,0024,0041,0491,062,-00189,2335,4993,0000,2333,4998,028,031,000,0K⸮
Inverter say: ^D06100059,00102,0093,00091,0256,00256,005,1,1,1,2,2,1⸮⸮
Inverter say: ^D00505ٟ
Inverter say: ^D02101,1,0,0,1,1,0,0,0K
Inverter say: ^D017VERFW:00001.01VW
Inverter say: ^D018VERFW2:00001.01⸮⸮
Inverter say: ^D037000,005000,99,1,1,2300,2300,04,120⸮⸮
Inverter say: ^D0472400,500,0208,2400,0208,0100,0480,2,10,0,0,0A/
Inverter say: ^D0132020031116⸮⸮
Inverter say: ^D0460,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,⸮
Inverter say: ^D00800,00⸮⸮
Inverter say: ^D01720200503195449<⸮
Inverter say: ^D0251496131903100152000000n⸮
Inverter say: ^D0472400,500,0208,2400,0208,0100,0480,2,10,0,0,0A/
Inverter say: ^D0862483,2485,0024,0041,0491,062,-00182,2335,4998,0000,2335,4998,028,031,000,0tn
Inverter say: ^D06100059,00102,0103,00094,0256,00280,005,1,1,1,2,2,1⸮z
Inverter say: ^D00505ٟ
Inverter say: ^D02101,1,0,0,1,1,0,0,0K
Inverter say: ^D017VERFW:00001.01VW
Inverter say: ^D018VERFW2:00001.01⸮⸮
Inverter say: ^D037000,005000,99,1,1,2300,2300,04,120⸮⸮
Inverter say: ^D0472400,500,0208,2400,0208,0100,0480,2,10,0,0,0A/
Inverter say: ^D0460,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,⸮
Inverter say: ^D0132020031116⸮⸮
Inverter say: ^D00800,00⸮⸮
Inverter say: ^D01720200503195453⸮⸮
Inverter say: ^D0251496131903100152000000n⸮
Inverter say: ^D0472400,500,0208,2400,0208,0100,0480,2,10,0,0,0A/
Inverter say: ^D0862483,2485,0023,0040,0491,062,-00189,2331,4998,0000,2328,4997,028,031,000,0⸮k
Inverter say: ^D06100057,00101,0093,00093,0256,00256,005,1,1,1,2,2,1b
Inverter say: ^D00505ٟ
Inverter say: ^D00800328I⸮
Inverter say: ^D0460,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,⸮
Inverter say: ^D02101,1,0,0,1,1,0,0,0K
Inverter say: ^D00800,00⸮⸮
Inverter say: ^D017VERFW:00001.01VW
Inverter say: ^D018VERFW2:00001.01⸮⸮
Inverter say: ^D037000,005000,99,1,1,2300,2300,04,120⸮⸮
Inverter say: ^D0472400,500,0208,2400,0208,0100,0480,2,10,0,0,0A/
Inverter say: ^D0132020031116⸮⸮
Inverter say: ^D01720200503195458⸮
Inverter say: ^D0251496131903100152000000n⸮
Inverter say: ^D0472400,500,0208,2400,0208,0100,0480,2,10,0,0,0A/
Inverter say: ^D0460,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,⸮
Inverter say: ^D00800,00⸮⸮
Inverter say: ^D0862483,2485,0023,0040,0491,062,-00182,2335,4997,0000,2335,4997,028,031,000,0j8
Inverter say: ^D06100058,00101,0101,00101,0256,00256,005,1,1,1,2,2,1⸮}
Inverter say: ^D00505ٟ
Inverter say: ^D02101,1,0,0,1,1,0,0,0K
Inverter say: ^D017VERFW:00001.01VW
Inverter say: ^D018VERFW2:00001.01⸮⸮
Inverter say: ^D037000,005000,99,1,1,2300,2300,04,120⸮⸮
Inverter say: ^D0472400,500,0208,2400,0208,0100,0480,2,10,0,0,0A/
Inverter say: ^D0132020031116⸮⸮
Inverter say: ^D0460,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,⸮
Inverter say: ^D00800,00⸮⸮
Inverter say: ^D01720200503195502v!
Inverter say: ^D0251496131903100152000000n⸮
Inverter say: ^D0472400,500,0208,2400,0208,0100,0480,2,10,0,0,0A/
Inverter say: ^D0862483,2485,0023,0040,0491,062,-00189,2335,4997,0000,2335,4995,028,031,000,0⸮s
Inverter say: ^D06100058,00100,0104,00104,0257,00257,005,1,1,1,2,2,1=
Inverter say: ^D00505ٟ
Inverter say: ^D02101,1,0,0,1,1,0,0,0K
Inverter say: ^D017VERFW:00001.01VW
Inverter say: ^D018VERFW2:00001.01⸮⸮
Inverter say: ^D037000,005000,99,1,1,2300,2300,04,120⸮⸮
Inverter say: ^D0472400,500,0208,2400,0208,0100,0480,2,10,0,0,0A/
Inverter say: ^D00800328I⸮
Inverter say: ^D0460,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,⸮
Inverter say: ^D0132020031116⸮⸮
Inverter say: ^D00800,00⸮⸮
Inverter say: ^D017202005031955066⸮
Inverter say: ^D0251496131903100152000000n⸮

I do not find protocol comunication for MPP Solar Hybrid 5k MPI

need to extract PV1… PV2 voltage, battery voltage, and other parameters of inverter

Hi,
Welcome to the forum.

I have suggested to the moderator that you be given a new thread rather than use an old one.

Please read the post at the start of any forum , entitled "How to use this Forum".
OR
http://forum.arduino.cc/index.php/topic,148850.0.html.
Then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.

Thanks.. Tom... :slight_smile: