physee / Victron.Arduino-ESP8266

Code to read the VE.Direct-Protocol from serial into a value array. Uses a non-blocking read loop and does checksum verification before adding the data.
MIT License
120 stars 22 forks source link

Better avoid SoftwareSerial ! #14

Open rin67630 opened 9 months ago

rin67630 commented 9 months ago

One should better avoid SoftwareSerial, which has massive performance problems at 19200 Baud.

The better solution is to use Serial.swap() once the ESP is initialized, which swaps the hardware UART on D7 / D8

Then one can "print" using TelnetSerial

Please look at my fork: https://github.com/rin67630/esp8266-victron-mppt-solarchargecontroller-Telnet

Regards.