Open doreks opened 7 months ago
HI please big boss @syssi , could you give me some of your words of wisdom? :-)
Could you provide a photo of your wiring? Please make sure GND
is connected properly. If all three wires are connected properly to GPIO1, GPIO3 and GND and aren't swapped (RX vs. TX) there are a few options left:
thanks @syssi for your words, time and and and support!
finally I could solve the problem by changing the HW to another ESP :-/ I now have a couple of questions, the first one I don't see any switch for balancing, in the photos of the caputaras of this project I see it but I don't observe in the code anything about this. The same thing happens for the value of resistance Ω, I don't see any reference so it doesn't load anything. Is there any way to get this data?
here config esp: https://pastebin.com/BJi1bV8m
again thank so much for support!
Bluetooth and serial communication are using different protocols. The protocol of the serial communication doesn't provide any details about the resistance and balancing current. You have to use BLE if you need the values.
The balancer switch isn't implemented yet (via serial connection). It's supported by the BLE component only at the moment.
Could you provide some details about your working setup? Which kind of dev board do you use and do you use a hardware UART or a SoftwareSerial connection.
@doreks Friendly reminder.
@doreks Friendly reminder.
So sorry, just give me this weekend I have plenty of family here.. On Monday will be ready..
rovide some details about your working setup? Which k
hi,
Thank you very much for your support. In my case, configuration I have would be:
I can confirm that using GPIO4 + GPIO5 on ESP 8266 NodeMCU that has USB to TTL chip present on board (has micro usb port) it woks. On D1 Mini the USB to TTL chip is not present on board and probably many people that use code for D1Mini and use Node MCU boards failed to communicate with BMS.
@virus100b how is your setup?
RX, TX from GPS port JK Bms connected to GPIO5, GPIO 4 of ESP 8266 Node MCU board. External 5V supply for Node MCU. Do not use Vcc on GPS port of JK because tis Vcc is the 16S battery voltage (48-55V)
substitutions: name: jk-bms device_description: "Monitor a JK-BMS via UART-TTL" external_components_source: github://syssi/esphome-jk-bms@main tx_pin: GPIO4 rx_pin: GPIO5
I have similar issue. esp32 dev kit was working fine for some months, then communication starts to break down. Change of the esp to new one solved the problem, but after a month of usage comes again. Inverter communication is ok, but bms is not. Changing of the port pins doesn't solve the problem either....
I have reflashed couple of times, seems to be working, so I will monitor it.
I have reflashed couple of times, seems to be working, so I will monitor it. Not for a long time. Starts to have invalid header again and then seems to gone completely. Anyone have experienced esp32 malfuntion after some usage with jk bms?
Any idea why I am not able to get any data?
here release of bms jk:
and here error: