Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.03 KB

File metadata and controls

38 lines (26 loc) · 1.03 KB

JBL XTREME 2 Emulator Util

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

JBL XTREME 2 Emulator

The commands sent are standard commands for the gas gauging device BQ28Z610:

  • 12.1.4 0x06/07 Temperature()
  • 12.1.5 0x08/09 Voltage()
  • 12.1.23 0x2C/2D RelativeStateOfCharge()

Commands Voltage() and RelativeStateOfCharge() are sent in pair once per 5 seconds.

Command Temperature() is sent ones per 10s.

There is can be any time shift between them.

Connection

Arduino Nano:

  • A4 = SDA -> white
  • A5 = SCL -> yellow
  • GND -> black

Author

@asilichenko

License

MIT license

References

Sources

speaker-emulator.ino