STC3115_driver_example.c Software Source Code

STC3115



Below is the STC3115_driver_example.c software source code.

The STC3115 is a fuel gauge IC for lithium ion batteries made by STMicroelectronics.

The STC3115_driver_example.c source code is code that can get simple, useful output from the STC3115, including the battery voltage, battery current, state of charge, etc.

This driver example can be built upon to give more advanced functionality, such as connecting the output to an LCD, when when you're building a product will have to be done. But it's just a basic example to set the foundation and isn't guided to a product. You would then have to set up all the code in order to display the battery life on an LCD.

All values in this source code corresponds to values that can be found on the datasheet for the STC3115, which can be found here: STC3115 Gas Gauge IC

This source code is designed for guidance only.







Related Resources



HTML Comment Box is loading comments...