softwarecrash / Daly2MQTT

ESP8266 Connector to get Daly / XENES / HI-BMS / BullTron BMS Data into MQTT systems
Other
147 stars 31 forks source link

Why is transistor needed? #3

Closed Alex1s closed 2 years ago

Alex1s commented 2 years ago

Hi, I was looking at your connection diagram and was wondering why I have to use an transistor? Other projects like ESPHome do not mention a transistor whatssoever ... Could you explain why the transistor is needed in more detail in the README?

softwarecrash commented 2 years ago

hi, in my case the BMS chip have not enugh power to pull down the high rx-pin from the esp. esphome uses softwareserial (i think) other pins are not pulled up, the hardware rx from the esp is default pull-up and not changeable. i heared from another bms that need a ttl level converter with only 3v3 connected to work. some other daly bms will work without any thing. another possibil reason is a bug in the code that i cant find or figure out