Skip to content

Hardware

RalfJL edited this page Jun 18, 2020 · 3 revisions

The VE.Direct2MQTT is using a ESP32 board. The ESP32 has builtin WiFi and enough computing power and memory to handle the data transfer to a MQTT broker.

This is my setup (screenshot from Fritzing) ESP32 Hardware setup

Description:

  • R-78E50 is a 5V regulator that can handle 12V and 24V Input. So you can connect the board directly to your battery or the output of a solar charge controller, no matter if you are using 24V or 12V. The Input is protected by a diode. Please think about adding a fuse.
  • To the One Wire connector on top you can connect several DS18 One Wire temperature sensors. You can connect sensors in parallel ans many as the One Wire bus permits. (The 4.7k pullup resistor might not be needed but it is saver)
  • VE.Direct Input; If you have a 5V device you have to use the 1kOhm-2.2kOhm divider. ESP32 is not 5V tolerant. If you have a 3V device you can connect the VE.Direct TX directly to PIN 33 of the ESP32.
    Please see the Victron papers for the pinout of the JST connector on your Victron device.

ATTENTION: If you have a 5V VE.Direct device you have to use the 1kOhm-2.2kOhm divider. If you are unsure if your device is 5V or 3V please put the sketch into debug mode and use the divider first. If you do not see characters coming in you can directly connect the VE.Direct TX line to PIN 33 of the ESP32 and see if characters are now coming in.

Clone this wiki locally