Skip to content

Latest commit

 

History

History

speaker-emulator

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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