/jbl-xtreme2-bms

Arduino sketches to analyse and emulate BMS microchip of the Battery Pack for the JBL XTREME 2 Bluetooth Speaker.

Primary LanguageC++MIT LicenseMIT

JBL XTREME 2 BMS

Arduino sketches to analyse and emulate BMS microchip of the Battery Pack for the JBL XTREME 2 Bluetooth Speaker.

Module 1. Stub for Battery Pack

This program is designed to be written on Arduino or ATtiny85 and acts as a stub to respond to the speaker's requests via the I2C protocol, enabling the speaker to be used while connected to mains power without using a battery.

It can be used when you don't want to or cannot use the battery pack.

JBL XTREME 2 Battery Stub

Explore->

Utils

Address of the battery device

To find out the I2C address of the battery gas gauging device you may use the sketch from the examples:

Arduino I2C device scanner

Commands receiver

You may use this program to log commands from the speaker.

JBL XTREAME 2 Commands Receiver

Explore->

Speaker emulator

This util periodically sends commands to the battery pack gas gauging device as the real speaker does.

JBL XTREAME 2 Commands Emulator

Explore->

Temperature measurement

This utility program helps calibrate constants for accurate temperature measurement and calculation.

Explore->

Current measurement

This utility program helps calibrate constants for accurate current measurement and calculation.

Explore->

Author

@asilichenko

License

MIT license

References

Sources

  1. Battery stub: battery-stub.ino
  2. Utils: