question

Jonas Tielemans avatar image
Jonas Tielemans asked

Set MPPT load current through VE.Direct

Hi all,


EDIT:

I checked the VE.Direct HEX protocol documentation, now my question is simply:

Is the MPPT VE.Direct HEX protocol register 'Load current' (0xEDAD) read-only or also write-able?


Original question:

If I have a current measurement through an Arduino, is it possible to write that current value to the load current value of an MPPT smart solar charger? Or is it read-only?

Context: I have a load larger than the MPPT load output can handle, but I would like to have the MPPT load functionalities in the Victron app (to see the load energy usage etc).

Thanks!

VE.Directcommunication protocolarduinoprotocol
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

1 Answer
jcgalvezv avatar image
jcgalvezv answered ·

Is the MPPT VE.Direct HEX protocol register 'Load current' (0xEDAD) read-only or also write-able?

It is write-able. In fact I did a test yesterday and it worked. I turned it off and then on.

Command were:

:8ABED0000B5 to set off
:8ABED0004B1 to set on.

Be careful about writing to often to this register. Could be stores in non-volatile memory (Not sure buy could be) and if you write so many times to it it could wear out non-volatile memory. In another post I asked if it is stored in non-volatile memory but the response was not definitive.

If I have a current measurement through an Arduino, is it possible to write that current value to the load current value of an MPPT smart solar charger? Or is it read-only?

No sure if I understand your question.

That register is were you define when the load output will connect and disconnect. It is more related to battery voltage and load output connect/disconnect than to load current.

4 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Jonas Tielemans avatar image Jonas Tielemans commented ·
Thanks for your answer. Let me clarify: it is not the load output setting register that I want to write to, but the load output current value register. So I'm measuring the load current externally with an Arduino and I would like to give that measured load current value to the Victron MPPT, so that it can be displayed in the app.
0 Likes 0 ·
jcgalvezv avatar image jcgalvezv Jonas Tielemans commented ·

Excuse me Jonas. I incorrectly read the register id.



0 Likes 0 ·
jcgalvezv avatar image jcgalvezv Jonas Tielemans commented ·

Just tested and no, 0xEDAD cannot be written. I tried on my MPPT 100/20 and got this:

Sent: :8ADED0100B2

Received: :8ADED02B1

02 means "Not Supported. Attempting to write to a read only value".


0 Likes 0 ·
Show more comments

Related Resources

VE.Direct protocol FAQ

Additional resources still need to be added for this topic