How to interface is it RS232 or RS485 if I want to use a wired connection to my BMS using an ESP32 #765
Replies: 4 comments 15 replies
-
A RS485 converter is required between the ESP32 and BMS. I can recommend this module: https://github.com/syssi/esphome-jnge-mppt-controller/blob/main/images/circuit.jpg The UART interface of your ESP is a UART-TTL interface. The voltage level of UART-TTL is 0/3.3V. RS485 uses differential signaling. A converter is required. You can find some important details here: https://github.com/phinix-org/Multiple-JK-BMS-by-Modbus-RS485?tab=readme-ov-file#multiple-bms-and-parallel-powerbanks Some steps to speed things up:
That's it! |
Beta Was this translation helpful? Give feedback.
-
|
I manage my JK BMS with my RS485 to USB converter, as far as I know there is now RS232 option available. So guess my options are limited to BLE or RS485 and I will order a few converter boards like you mentioned to try the RS485 option. But if I may speak freely I am still a bit puzzled by the info provided on the main page of this Git, as from the little info I get from it at the schematics section in regard to interfacing this is still direct RS232 from the BMS (the TTL UART port) based on RS232. |
Beta Was this translation helpful? Give feedback.
-
|
I have both V15 and V19 BMS's so I can help you with that no problem and already started with documenting my findings with the V19 board (as this is in my latest battery box and not yet in production as I am still waiting for my cells to arrive). |
Beta Was this translation helpful? Give feedback.
-
|
Can I use the module https://lilygo.cc/products/t-can485 to read data from the RS485? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am a bit puzzled by how I can interface my JK_PB2A16S20 V15 BMS to my ESP32.
I prefer a wired connection as my batteries are in a metal closed so range of Bluetooth is none existing when the doors are closed (normal operation).
I found on the main page a refer to interfacing using RS232 via a UART port, and although I have the standard communication board with the RJ11 connector wired to the P2 connector RX / TX / GND on the BMS, I am not able to get any information out of this port (I tried really hard with all kinds of way of connecting it, but No output is comming out of that port)
Than I see a modbus example but there's no clear documentation how to wire my ESP. JK BMS documentation is talking about RS-485A and RS-485B connections but all the example I see here are mentioning RX / TX.
I associate RX/ TX with a serial RS232 connection, not RS-485. But maybe this got lost in translation somewhere ?
If I am able to connect my ESP direct on the RS-485 port great but I would be more than happy if someone can explain this to me to add some documentation on the front page of this GitHub to clarify this a little.
So can someone confirm that if I use RS485 -1 I can use the Modbus example and just connect RS485A-1 and RS485B-1 to my ESP (do I need GND normaly RS485 is not perse using GND as far as my experience goes).
Thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions