RalfJL / VE.Direct2MQTT

Use a esp32 to push VE.Direct ASCII messages to a MQTT server
MIT License
57 stars 16 forks source link

I have questions about how to connect the sources to the esp32 of the controller and the ve.direct. If you could help me by answering the following questions, I need it urgently #15

Open IG-Jack opened 5 months ago

IG-Jack commented 5 months ago

I have questions about how to connect the sources to the esp32 of the controller and the ve.direct. If you could help me by answering the following questions, I need it urgently. How to connect the esp32 to the smart controller What is the name of that type of yellow cable that you connect to the ve.direct and why do you take out 2 cables from the charging part of the smart controller to then connect it to the esp32, you do it to provide power but you cannot do the same with the gnd and powe of the see.diecto Can you explain how to connect the fritzing circuit since you connect the ve direct cables, you only mention tx and not rx Why do you connect the tx 5v to pin 33 since it is not a tx pin and there is the same thing you put gnd I don't understand Because the ve direct has positive and negative, it is not better to use that for the esp32

How much is the value of the electric capacitor and the rectifier is 5v

RalfJL commented 5 months ago

Hi, the ESP32 needs a power supply. I take it from the Power output of the Victron so that the Victron can turn off the ESP32 if the battery voltage is too low. This avoids a deep discharge and protects your battery. The ESP32 cannot handle that.

For the Ve.Direct I only need Ground and the TX line. The system is not intendet to send anything to the Victron so the RX line of the Victron is not connected. The reason for the 2 TX lines it that one line has a divider that can be used if the Victron has a 5V TX line, the other one has no divider that should be used for 3V TX lines. There are reports that in all cases you can use the 3V TX input and it will not damage the esp32

PIN 33 is perfectly ok for serial communication. Please have a look at the specs of the ESP32

IG-Jack commented 5 months ago

How much is the value of the electric capacitor and how much is the rectifier?

What type of key can be used because I try to connect the smart controller with jampers and there is a black part and 2 pins and I don't know how to connect there, so what type of key is used to connect?

How much is the value of the diode?

RalfJL commented 5 months ago

capacitor can be something between 5 and 100 µ recitifer 7805 oder something similar

RalfJL commented 5 months ago

sorry rectifier is any one that can withstand more than 100mA

IG-Jack commented 5 months ago

What type of cables do you use to connect from the v.direct, do you use jumpers and what pins of the v.direct do you connect only to the tx pin, ping gnd, 5v pin or also alpin rx

IG-Jack commented 5 months ago

there are no problems if I use a 100 µ capacitor The cables that you connect to the load part of the controller are copper cables of what gauge

IG-Jack commented 5 months ago

there are no problems if I use a 100 µ capacitor The cables that you connect to the load part of the controller are copper cables of what gauge

IG-Jack commented 5 months ago

What do they value than being a rectifier diode?

RalfJL commented 5 months ago

the capacitors and the diode are only for saftey reasons. The capacitor should remove spikes or short outages of the power supply and the diode is the safety if you accidentally switch + and - which would destroy your esp32

IG-Jack commented 5 months ago

What type of cable or what is the name of the cable that you use to connect since I tried to connect with some jampers directly and it did not work and I put the power of the controller on the 5v pin of the esp32 or the 3.3v I need a diode for that And I just connect the tx and rx pins, it is not necessary to program them on the arduino, thanks