Skip to content

Instantly share code, notes, and snippets.

@PhracturedBlue
PhracturedBlue / ecoworthy.md
Last active November 8, 2025 14:52
Ecoworthy 50V server battery Modbus-RTU protocol

Info related to Eco Worthy JBD UP16S010

BMS: JBD UP16S010 Decoding based on firmware version 13.2.4

Commands can be sent via the RS485-1 port or by te RS232 port (9600baud, N81)

CRC calculation: crc16 with initial_value=0xffff and polynomial=0xa001, LSB 1st

The Modbus data-frames are generally MSB-1st except for the CRC. The CRC is calculated from the entire frame (minus the crc itself)

#!/usr/bin/perl -w
# avstack.pl: AVR stack checker
# Copyright (C) 2013 Daniel Beer <[email protected]>
#
# Permission to use, copy, modify, and/or distribute this software for
# any purpose with or without fee is hereby granted, provided that the
# above copyright notice and this permission notice appear in all
# copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL