2.4 KiB
2.4 KiB
YamBMS - Galvanic isolation
Galvanic isolation of the UART-TTL connection
Caution
V1andV2(3V3 or 5V) must be isolated and cannot come from the same source.V1can be powered by the device or the3V3of the ESP32 via aDC-DC isolator(B0303S = 3V3-to-3V3),V2(ESP32 side) is powered directly by the3V3of the ESP32.
┌─────────────┐ ┌──────────┐ ┌───────────┐
│ | 3V3/5V--V1>│ |<V2---3V3---<| |
│ DEVICE │<RX-------AO<│ UART-TTL │<AI-------TX<| ESP32 |
│ BMS / Shunt │>TX-------BI>│ ISOLATOR │>BO-------RX>| |
│ │<----GND---->│ │<----GND---->| |
└─────────────┘ └──────────┘ └───────────┘
Here are some components available on the market allowing you to set up galvanic isolation. The UART-TTL isolator 2 seems a little better isolated with more space below the chip.
| UART-TTL isolator | DC-DC isolator |
|---|---|
![]() |
![]() |
Another solution would be the use of M5Stack's isolated RS485 unit.
| M5Stack RS485 unit (isolated) |
|---|
![]() |



