Arduino sketches to analyse and emulate BMS microchip of the Battery Pack for the JBL XTREME 2 Bluetooth Speaker.
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.
- Address of the battery device
- Commands receiver
- Speaker emulator
- Temperature measurement
- Current measurement
To find out the I2C address of the battery gas gauging device you may use the sketch from the examples:
You may use this program to log commands from the speaker.
This util periodically sends commands to the battery pack gas gauging device as the real speaker does.
This utility program helps calibrate constants for accurate temperature measurement and calculation.
This utility program helps calibrate constants for accurate current measurement and calculation.
- Texas Instruments BQ28Z610 Technical Reference Manual: https://www.ti.com/lit/ug/sluua65e/sluua65e.pdf
- Custom Arduino Driver for Battery Gas Gauging Device BQ28Z610: https://github.com/asilichenko/bq28z610-arduino-driver