JK BMS RS485 Pinout and Wiring: RJ45 Pins, DIP Address, Modbus

A JK BMS with an RS485 port can talk to an inverter, to the other packs of a parallel bank and to a PC running the JK BMS Monitor software. On the PB series (the inverter BMS, for example JK-PB2A16S20P) the port is an RJ45 socket, the same shape as an Ethernet jack. The B2A board we tested has no RS485 at all, and its small four-pin socket is not a safe place for an adapter. This guide covers which boards have the port, which RJ45 pins carry the signal, how the DIP address works and what to check when nothing answers.

Which JK boards have RS485

The PB-series inverter BMS has one CAN socket and two RS485 sockets, all RJ45. RS485-1 goes to the inverter and RS485-2 links the packs of a parallel bank. The parallel batteries guide covers the RS485-2 chain and the inverter communication guide covers the inverter side.

The B2A series (the Bluetooth boards, for example JK-B2A8S20P) is different. The board we tested has no RS485 transceiver. Its 4-pin socket, labelled GPS on some boards and RS485 on others, is a 3.3 V UART, and its VBAT pin carries the full pack voltage, around 50 V on a 16S LiFePO4 pack. A USB-to-RS485 adapter plugged straight into it can be destroyed, and so can the port. JK sells an adapter board for that socket. Some listings add -R to the model name for an RS485 option; the model number guide decodes the suffixes.

JK BMS RS485 pinout (RJ45)

Hold the plug with the clip down and the contacts towards you; pin 1 is on the left. On the JK-PB RS485 sockets the signal sits on the first three pins:

RJ45 pinSignal
1B (also marked B-, D- or TR-)
2A (also marked A+, D+ or TR+)
3GND

The JK-PB spec sheet lists the same signals on the mirrored pins as well: B on 1 and 8, A on 2 and 7, GND on 3 and 6. The RS485 component of esphome-jk-bms (the txubelaxu fork) documents the same B, A, GND order on pins 1 to 3 and says either RS485 socket can be used. Pins 4 and 5 carry CAN on the CAN socket; the inverter guide has that drawing.

Two warnings before you crimp anything. The A and B labels on RS485 adapters are not standardised, so one maker's A is another maker's B. If the link stays silent, swap the two wires; a swap does not damage anything. And board revisions differ. Check the label next to the socket and the manual for your exact model, and treat the table as the starting point rather than a promise about every board JK has shipped.

For a PC you need an RJ45 plug on one end and three bare wires on the other, into the screw terminals of the adapter. An old patch cable with one plug cut off works. Count the pins at the plug instead of trusting the wire colours.

DIP switch address

The 4-bit DIP switch on the PB board sets the Modbus address from 0 to 15. Address 0 is the master: that pack drives the bus itself, reports a parallel bank to the inverter and does not answer requests from anyone else. A PC or an ESP32 that polls the BMS needs an address from 1 to 15; for a single pack without inverter communication, set 1. The BMS reads the switches at start-up, so change them with the BMS off. A pack at address 0 ignores your requests even when the wiring is perfect, so check the switches before the cable.

Protocol

The PB series speaks what JK calls "RS485 Modbus V1.0" at 115200 baud, 8 data bits, no parity, one stop bit. Only two Modbus functions exist: 0x03 reads registers and 0x10 writes them. Writing 0 to one of three trigger registers makes the BMS answer with a 300-byte frame that starts with 55 AA EB 90: the device info, the settings or the live cell data. These are the same frames the BMS sends over Bluetooth. The protocol document is mirrored as a PDF in the esphome-jk-bms repository.

Inverter protocols are a different mode. When you pick a UART protocol number for an inverter brand, the port speaks that brand's dialect instead, and a PC tool that expects Modbus at 115200 gets no answer. Growatt's RS485 protocol, for example, runs at 9600 baud.

Adapters and software

The usual USB-to-RS485 adapters, with a CH340, CP210x or FTDI chip, switch direction on their own and show up as an ordinary serial port. One adapter with screw terminals is enough.

The JK BMS Monitor for Windows is the manufacturer's PC tool and the one that also updates firmware. The esphome-jk-bms project reads the PB series over RS485 from an ESP32 into Home Assistant, and dbus-serialbattery on Venus OS feeds the data to a Victron GX device. The app alternative guide compares them.

JK Preset Studio connects over Bluetooth today. A cable connection through the browser's serial API is planned for people with a PC and no Bluetooth, but it is not built yet. Until then, export a .jkcfg file from the JK app and open it in the editor, or connect over Bluetooth from a laptop or an Android phone.

Troubleshooting

  • No answer at all: check the DIP address. Address 0 is a master and does not reply. Set 1 to 15 and power cycle the BMS.
  • Still nothing: swap A and B at the adapter, then check the baud rate, 115200 8N1 for Modbus.
  • Garbage or timeouts: connect GND on pin 3 to the adapter's ground. Two wires without a ground reference can fail with a longer cable.
  • One master per bus. If a pack at address 0 already polls the others on RS485-2, a PC on the same chain talks over it. Use a free socket.
  • The 120 ohm terminator from the inverter guide belongs on the CAN bus. A short RS485 cable to a PC works without one.

FAQ

Can I use the RS485 port and the JK app at the same time?

Yes. The cable and Bluetooth are separate links. An inverter talks to the BMS over the cable all day while the app works over Bluetooth.

Does the B2A have RS485?

Not on the JK-B2A8S20P we tested. Its 4-pin socket is a 3.3 V UART with pack voltage on the VBAT pin, so an RS485 adapter must not go there directly. JK sells an adapter board for it.

Which baud rate does a JK BMS use?

115200 baud, 8N1, for the Modbus protocol on the PB series. An inverter protocol number changes that: Growatt's RS485 profile runs at 9600 baud.

Can I read the settings over RS485 with JK Preset Studio?

Not yet. The editor and the live monitor work over Bluetooth, and a cable connection is planned without a date. The export and import guide shows how to get a settings file out of the JK app in the meantime.

Related guides

All guides