Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Apr 24, 2024 · 10 comments

Comments

@IG-Jack
Copy link

IG-Jack commented Apr 24, 2024

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
Copy link
Owner

RalfJL commented Apr 24, 2024

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
Copy link
Author

IG-Jack commented Apr 24, 2024

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
Copy link
Owner

RalfJL commented Apr 24, 2024

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

@RalfJL
Copy link
Owner

RalfJL commented Apr 24, 2024

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

@IG-Jack
Copy link
Author

IG-Jack commented Apr 24, 2024

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
Copy link
Author

IG-Jack commented Apr 24, 2024

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

1 similar comment
@IG-Jack
Copy link
Author

IG-Jack commented Apr 24, 2024

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
Copy link
Author

IG-Jack commented Apr 24, 2024

What do they value than being a rectifier diode?

@RalfJL
Copy link
Owner

RalfJL commented Apr 26, 2024

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
Copy link
Author

IG-Jack commented Apr 26, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants