# Adafruit MAX17048 LiPoly / LiIon Fuel Gauge and Battery Monitor

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/123/026/medium800/adafruit_products_5580-00.jpg?1690384351)

Low cost Lithium Polymer batteries have revolutionized electronics - they're thin, they're light, they can be regulated down to 3.3V and they're easy to charge. On your phone, there's a little image of a battery cell that tells you the percentage of charge - so you know when you absolutely need to plug it in and when you can stay untethered.

![](https://cdn-learn.adafruit.com/assets/assets/000/123/027/medium800/adafruit_products_5580-01.jpg?1690384365)

The&nbsp; **Adafruit MAX17048 LiPoly / LiIon Fuel Gauge and Battery Monitor&nbsp;** does the same thing. Connect it to your&nbsp;[Lipoly or LiIon battery](https://www.adafruit.com/category/916)&nbsp;and it will let you know the voltage of the cell, it does the annoying math of decoding the non-linear voltage to get you a valid percentage as well!

Since this nice chip is I2C, it works with any and all microcontroller or microcomputer boards, from the Arduino UNO up to the Raspberry Pi. And you don't have to worry about logic level, as the gauge runs with 3.3V or 5.0V power and logic equally fine.

![](https://cdn-learn.adafruit.com/assets/assets/000/123/028/medium800/adafruit_products_5580-03.jpg?1690384378)

To use,&nbsp;[connect a 1S&nbsp;3.7-4.2V Lithium Ion or Polymer battery](https://www.adafruit.com/category/916) to one of the JST 2 PH ports (either one). Then use a [JST PH jumper cable](https://www.adafruit.com/product/4714)&nbsp;to connect to your boost converter, Feather, whatever! Use the I2C interface and our&nbsp;[Arduino](https://github.com/adafruit/Adafruit_MAX1704X)&nbsp;or&nbsp;[CircuitPython/Python](https://github.com/adafruit/Adafruit_CircuitPython_MAX1704x)&nbsp;library code to read the voltage and percentage whenever you like. There are various alerts, low power modes that can be customized as desired.

![](https://cdn-learn.adafruit.com/assets/assets/000/123/029/medium800/adafruit_products_5580-02.jpg?1690384391)

To get you going fast, we spun up a custom-made PCB in the[&nbsp; **STEMMA QT** &nbsp;form factor](https://www.adafruit.com/?q=stemma%20qt%20sensor "STEMMA QT form factor"), making it easy to interface with. The&nbsp;[STEMMA QT connectors](https://learn.adafruit.com/introducing-adafruit-stemma-qt/what-is-stemma-qt)&nbsp;on either side are compatible with the&nbsp;[SparkFun Qwiic](https://www.sparkfun.com/qwiic)&nbsp;I2C connectors. This allows you to make solderless connections between your development board and the MAX17048 or to chain it with a wide range of other sensors and accessories using a&nbsp;[**compatible cable**](https://www.adafruit.com/?q=stemma%20qt%20cable).&nbsp;[QT Cable is not included, but we have a variety in the shop](https://www.adafruit.com/?q=stemma+qt+cable&sort=BestMatch)

# Adafruit MAX17048 LiPoly / LiIon Fuel Gauge and Battery Monitor

## Pinouts

![](https://cdn-learn.adafruit.com/assets/assets/000/114/598/medium800/adafruit_products_double.jpg?1661956186)

The default I2C address is&nbsp; **0x36**.

## Power Pins

- **VIN** &nbsp;- The chip can safely run from 3-5VDC. To power the board, give it the same power as the logic level of your microcontroller - e.g. for a 5V microcontroller like Arduino, use 5V.
- **Bat** - Output from the battery input voltage.
- **GND** &nbsp;- common ground for power and logic.

Info: 

## I2C Logic Pins

- **SCL&nbsp;** - This is the I2C&nbsp; **clock pin** &nbsp; **SCL** , connect to your microcontroller's I2C clock line. There's a&nbsp; **10K pullup** &nbsp;on this pin.
- **SDI&nbsp;** - This is the I2C&nbsp; **data pin** &nbsp; **SDA** , connect to your microcontroller's I2C data line. There's a&nbsp; **10K pullup** &nbsp;on this pin.
- **[STEMMA QT](https://learn.adafruit.com/introducing-adafruit-stemma-qt)&nbsp;-&nbsp;**These connectors allow you to connect to dev boards with&nbsp; **STEMMA QT** &nbsp;connectors or to other things with&nbsp;[various associated accessories](https://www.adafruit.com/?q=JST%20SH%204)

## JST Ports

Theres are two JST ports, they are equivalent. Connect the battery to either one, then the load/charger to the other.&nbsp; **Watch out for battery polarity if not using an Adafruit battery!**

Info: 

## Other Pins

- **INT&nbsp;** - Interrupt signal out, you can set this up to pull low when the voltage or percentage drops below a threshold. Pulled up to VIN with a 10K resistor.
- **QStart&nbsp;** - Quick-start input. It allows reset of the MAX17048 through hardware.

## Power LED and Jumper

- **Power LED -** This LED is a green LED located on the front of the board. It is labeled&nbsp; **on**.
- **LED jumper** &nbsp;- This jumper is located on the back of the board. Cut the trace on this jumper to cut power to the "on" LED.

# Adafruit MAX17048 LiPoly / LiIon Fuel Gauge and Battery Monitor

## Python & CircuitPython

It's easy to use the **MAX17048** with Python or CircuitPython, and the [Adafruit\_CircuitPython\_MAX1704x](https://github.com/adafruit/Adafruit_CircuitPython_MAX1704x) module. This module allows you to easily write Python code that reads the values from the **MAX17048**'s battery monitoring and alert functions. You can use this sensor with any CircuitPython microcontroller board or with a computer that has GPIO and Python [thanks to Adafruit\_Blinka, our CircuitPython-for-Python compatibility library](https://learn.adafruit.com/circuitpython-on-raspberrypi-linux).

## CircuitPython Microcontroller Wiring

First, wire up a MAX17048 to your board exactly as shown below. Here's an example of wiring a Feather M4 to the sensor with I2C using one of the handy&nbsp;[**STEMMA QT**](https://learn.adafruit.com/introducing-adafruit-stemma-qt)&nbsp;connectors:

 **STEMMA**

- **Board 3V** &nbsp;to&nbsp;**sensor VIN (red wire)**
- **Board GND** &nbsp;to&nbsp; **sensor**** &nbsp;GND (black wire)**
- **Board SCL** &nbsp;to&nbsp; **sensor**** &nbsp;SCL (yellow wire)**
- **Board SDA** &nbsp;to&nbsp; **sensor**** &nbsp;SDA (blue wire)**

**Battery**

- Plug a 3.7/4.2V lithium polymer or lithium ion rechargeable battery into&nbsp; **either of the JST battery ports on the board**.
- Plug the other&nbsp; **board JST Battery port** &nbsp;into the&nbsp; **Feather JST port&nbsp;** using the cable included with the board.

![adafruit_products_featherStemma_bb.png](https://cdn-learn.adafruit.com/assets/assets/000/114/608/medium640/adafruit_products_featherStemma_bb.png?1661967652)

You can also use standard&nbsp; **0.100" pitch** &nbsp;headers to wire it up on a breadboard:

 **STEMMA**

- **Board 3V** &nbsp;to&nbsp;**sensor VIN (red wire)**
- **Board GND** &nbsp;to&nbsp; **sensor**** &nbsp;GND (black wire)**
- **Board SCL** &nbsp;to&nbsp; **sensor**** &nbsp;SCL (yellow wire)**
- **Board SDA** &nbsp;to&nbsp; **sensor**** &nbsp;SDA (blue wire)**

**Battery**

- Plug a 3.7/4.2V lithium polymer or lithium ion rechargeable battery into&nbsp; **either of the JST battery ports on the board**.
- Plug the other&nbsp; **board JST Battery port** &nbsp;into the&nbsp; **Feather JST port&nbsp;** using the cable included with the board.

![adafruit_products_featherBB_bb.png](https://cdn-learn.adafruit.com/assets/assets/000/114/610/medium640/adafruit_products_featherBB_bb.png?1661967723)

Warning: 

## Python Computer Wiring

Since there's&nbsp;_dozens_&nbsp;of Linux computers/boards you can use, below shows wiring for Raspberry Pi. For other platforms,&nbsp;[please visit the guide for CircuitPython on Linux to see whether your platform is supported](https://learn.adafruit.com/circuitpython-on-raspberrypi-linux).&nbsp;

Here's the Raspberry Pi wired to the sensor using I2C and a&nbsp;[**STEMMA QT**](https://learn.adafruit.com/introducing-adafruit-stemma-qt)&nbsp;connector:

- **Pi 3V** &nbsp;to&nbsp; **sensor**** &nbsp;VIN (red wire)**
- **Pi GND** &nbsp;to&nbsp; **sensor**** &nbsp;GND (black wire)**
- **Pi SCL** &nbsp;to&nbsp; **sensor**** &nbsp;SCL (yellow wire)**
- **Pi SDA** &nbsp;to&nbsp; **sensor**** &nbsp;SDA (blue wire)**

Plug a 3.7/4.2V lithium polymer or lithium ion rechargeable battery into&nbsp;either of the JST battery ports.

![adafruit_products_piStemma_bb.png](https://cdn-learn.adafruit.com/assets/assets/000/114/612/medium640/adafruit_products_piStemma_bb.png?1661967805)

Finally here is an example of how to wire up a Raspberry Pi to the sensor using a solderless breadboard:

- **Pi 3V** &nbsp;to&nbsp; **sensor**** &nbsp;VIN (red wire)**
- **Pi GND** &nbsp;to&nbsp; **sensor**** &nbsp;GND (black wire)**
- **Pi SCL** &nbsp;to&nbsp; **sensor**** &nbsp;SCL (yellow wire)**
- **Pi SDA** &nbsp;to&nbsp; **sensor**** &nbsp;SDA (blue wire)**

Plug a 3.7/4.2V lithium polymer or lithium ion rechargeable battery into&nbsp;either of the JST battery ports.

![adafruit_products_piBreadboard_bb.png](https://cdn-learn.adafruit.com/assets/assets/000/114/613/medium640/adafruit_products_piBreadboard_bb.png?1661967826)

## Python Installation of MAX1704X Library

You'll need to install the&nbsp; **Adafruit\_Blinka** &nbsp;library that provides the CircuitPython support in Python. This may also require enabling I2C on your platform and verifying you are running Python 3.&nbsp;[Since each platform is a little different, and Linux changes often, please visit the CircuitPython on Linux guide to get your computer ready](https://learn.adafruit.com/circuitpython-on-raspberrypi-linux)!

Once that's done, from your command line run the following command:

- `pip3 install adafruit-circuitpython-max1704x`

If your default Python is version 3, you may need to run&nbsp;`pip`&nbsp;instead. Make sure you aren't trying to use CircuitPython on Python 2.x, it isn't supported!

## CircuitPython Usage

To use with CircuitPython, you need to first install the MAX1704X library, and its dependencies, into the **lib** folder on your **CIRCUITPY** drive. Then you need to update **code.py** with the example script.

Thankfully, we can do this in one go. In the example below, click the **Download Project Bundle** button below to download the necessary libraries and the **code.py** file in a zip file. Extract the contents of the zip file, and copy the **entire**  **lib**  **folder** and the **code.py** file to your **CIRCUITPY** drive.

Your **CIRCUITPY/lib** folder should contain the following folders and file:

- **adafruit\_bus\_device/**
- **adafruit\_register/**
- **adafruit\_max1704x.mpy**

![CIRCUITPY](https://adafruit.github.io/Adafruit_CircuitPython_Bundle/max1704x_max1704x_simpletest.py.png )

## Python Usage

Once you have the library `pip3` installed on your computer, copy or download the following example to your computer, and run the following, replacing **code.py** with whatever you named the file:

`python3 code.py`

## Example Code - Simple Test
https://github.com/adafruit/Adafruit_CircuitPython_MAX1704x/blob/main/examples/max1704x_simpletest.py

 **If running CircuitPython:** &nbsp;Once everything is saved to the&nbsp; **CIRCUITPY** &nbsp;drive,&nbsp;[connect to the serial console](https://learn.adafruit.com/welcome-to-circuitpython/kattni-connecting-to-the-serial-console)&nbsp;to see the data printed out!

**If running Python:&nbsp;** The console output will appear wherever you are running Python.

![](https://cdn-learn.adafruit.com/assets/assets/000/114/599/medium800/adafruit_products_replSimpleTest.jpg?1661959512)

In the&nbsp; **max1704x\_simpletest.py&nbsp;** example, the MAX17048 is instantiated on I2C. The chip version and chip ID is printed to the REPL.&nbsp;

In the loop, the battery's voltage and charge percentage is printed to the REPL every second.

## Example Code - Advanced Test
https://github.com/adafruit/Adafruit_CircuitPython_MAX1704x/blob/main/examples/max1704x_advanced.py

In the&nbsp; **max1704x\_advanced.py** example, the MAX17048 is instantiated on I2C. The chip version and chip ID is printed to the REPL along with thresholds for the alerts that are available in the library.

In the loop, the battery's voltage, charge percentage and any active alerts are printed to the REPL every second.

Voltage High Alert:

![](https://cdn-learn.adafruit.com/assets/assets/000/114/600/medium800/adafruit_products_replAdv_0.jpg?1661961284)

Voltage Low Alert:

![](https://cdn-learn.adafruit.com/assets/assets/000/114/601/medium800/adafruit_products_replAdv_1.jpg?1661961335)

Hibernating Alert:

![](https://cdn-learn.adafruit.com/assets/assets/000/114/614/medium800/adafruit_products_replAdv_2.jpg?1661967844)

# Adafruit MAX17048 LiPoly / LiIon Fuel Gauge and Battery Monitor

## Python Docs

# Adafruit MAX17048 LiPoly / LiIon Fuel Gauge and Battery Monitor

## Arduino

Using the MAX17048&nbsp;with Arduino involves wiring up the sensor to your Arduino-compatible microcontroller, installing the&nbsp;[Adafruit\_MAX1704X](https://github.com/adafruit/Adafruit_MAX1704X)&nbsp;library and running the provided example code.

## Wiring

Wire as shown for a&nbsp; **5V** &nbsp;board like an Uno. If you are using a **&nbsp;3V** &nbsp;board, like an Adafruit Feather, wire the board's 3V pin to the MAX17048 VIN.

Here is an Adafruit Metro wired up to the MAX17048 using the STEMMA QT connector:

- **Board 5V** &nbsp;to&nbsp; **sensor&nbsp;**** VIN (red wire)**  
- **Board GND** &nbsp;to&nbsp; **sensor** &nbsp;**GND (black wire)**  
- **Board SCL** &nbsp;to&nbsp; **sensor** &nbsp;**SCL (yellow wire)**  
- **Board SDA** &nbsp;to&nbsp; **sensor** &nbsp;**SDA (blue wire)**

Plug a 3.7/4.2V lithium polymer or lithium ion rechargable battery into&nbsp;either of the JST battery ports.

![adafruit_products_metroStemma_bb.png](https://cdn-learn.adafruit.com/assets/assets/000/114/615/medium640/adafruit_products_metroStemma_bb.png?1661967950)

Here is an Adafruit Metro wired up using a solderless breadboard:

- **Board 5V** &nbsp;to&nbsp; **sensor**** &nbsp;****VIN (red wire)**  
- **Board GND** &nbsp;to&nbsp; **sensor** &nbsp;**GND (black wire)**  
- **Board SCL** &nbsp;to&nbsp; **sensor** &nbsp;**SCL (yellow wire)**  
- **Board SDA** &nbsp;to&nbsp; **sensor** &nbsp;**SDA (blue wire)**

Plug a 3.7/4.2V lithium polymer or lithium ion rechargable battery into&nbsp;either of the JST battery ports.

![adafruit_products_metroBB_bb.png](https://cdn-learn.adafruit.com/assets/assets/000/114/616/medium640/adafruit_products_metroBB_bb.png?1661968009)

## Library Installation

You can install the&nbsp; **Adafruit MAX1704X&nbsp;** library&nbsp;for Arduino using the Library Manager in the Arduino IDE.

![](https://cdn-learn.adafruit.com/assets/assets/000/114/617/medium800/adafruit_products_Arduino_Open_Library_Manager.png?1661968036)

Click the&nbsp; **Manage Libraries ...** &nbsp;menu item, search for&nbsp; **Adafruit MAX1704X** ,&nbsp;and select the&nbsp; **Adafruit MAX1704X** &nbsp;library:

![](https://cdn-learn.adafruit.com/assets/assets/000/114/624/medium800/adafruit_products_libSearch.jpg?1661969465)

If asked about dependencies, click "Install all".

![](https://cdn-learn.adafruit.com/assets/assets/000/114/625/medium800/adafruit_products_ardDependencies.jpg?1661969474)

If the "Dependencies" window does not come up, then you already have the dependencies installed.&nbsp;

Warning: 

## Example Code - Basic
https://github.com/adafruit/Adafruit_MAX1704X/blob/main/examples/MAX17048_basic/MAX17048_basic.ino

![](https://cdn-learn.adafruit.com/assets/assets/000/114/626/medium800/adafruit_products_ardSerialSimple.jpg?1661969686)

Upload the sketch to your board and open up the Serial Monitor ( **Tools -\> Serial Monitor** ) at 115200 baud. You should see the battery's voltage and charge percentage being printed out.&nbsp;You'll see the values change depending on the battery's status.

## Example Code - Advanced
https://github.com/adafruit/Adafruit_MAX1704X/blob/main/examples/MAX17048_advanced/MAX17048_advanced.ino

![](https://cdn-learn.adafruit.com/assets/assets/000/114/627/medium800/adafruit_products_ardSerialAdv.jpg?1661969697)

Upload the sketch to your board and open up the Serial Monitor ( **Tools -\> Serial Monitor** ) at 115200 baud. You should see the battery's voltage, charge percentage, charge/discharge rate and any alert status messages being printed out. You'll see the values change depending on the battery's status.

# Adafruit MAX17048 LiPoly / LiIon Fuel Gauge and Battery Monitor

## Arduino Docs

# Adafruit MAX17048 LiPoly / LiIon Fuel Gauge and Battery Monitor

## WipperSnapper

![](https://cdn-learn.adafruit.com/assets/assets/000/128/278/medium800/adafruit_products_01_DeviceList.png?1709211264)

## What is WipperSnapper

WipperSnapper is a firmware designed to turn any WiFi-capable board into an Internet-of-Things device without programming a single line of code. WipperSnapper connects to [Adafruit IO](https://io.adafruit.com/), a web&nbsp;platform designed ([by Adafruit!](https://www.adafruit.com/about)) to&nbsp;_display_,&nbsp;_respond_, and&nbsp;_interact_&nbsp;with your project's data.

Simply load the WipperSnapper firmware onto your board, add credentials, and plug it into power. Your board will automatically register itself with your Adafruit IO account.

From there, you can add&nbsp;_components_&nbsp;to your board such as buttons, switches, potentiometers, sensors, and more! Components are&nbsp;_dynamically&nbsp;_added to hardware, so you can&nbsp;immediately start interacting, logging, and streaming the data your projects produce without writing code.

If you've never used WipperSnapper, click below to read through the quick start guide before continuing.

[Quickstart: Adafruit IO WipperSnapper](https://learn.adafruit.com/quickstart-adafruit-io-wippersnapper)
## Wiring
First, wire up a MAX17048 to your board exactly as follows (note that some boards might already have the sensor integrated on the PCB).

Here is an example of the MAX17048 wired to an&nbsp;[Adafruit ESP32 Feather V2](https://www.adafruit.com/product/5400)&nbsp;using I2C&nbsp;[with a STEMMA QT cable (no soldering required)](https://www.adafruit.com/product/4210)

- **Board 3V** &nbsp;to&nbsp;**sensor VIN (red wire on STEMMA QT)**  
- **Board GND** &nbsp;to&nbsp;**sensor GND (black wire on STEMMA QT)**  
- **Board SCL** &nbsp;to&nbsp;**sensor SCL (yellow wire on STEMMA QT)**  
- **Board SDA** &nbsp;to&nbsp;**sensor SDA (blue wire on STEMMA QT)**

![adafruit_products_featherV2_MAX17048_STEMMAQT_bb.png](https://cdn-learn.adafruit.com/assets/assets/000/128/520/medium640/adafruit_products_featherV2_MAX17048_STEMMAQT_bb.png?1709569145)

![adafruit_products_featherV2_MAX17048_Breadboard_bb.png](https://cdn-learn.adafruit.com/assets/assets/000/128/521/medium640/adafruit_products_featherV2_MAX17048_Breadboard_bb.png?1709569173)

## Usage

Connect your board to Adafruit IO Wippersnapper and **[navigate to the WipperSnapper board list](https://io.adafruit.com/wippersnapper).**

On this page, **select the WipperSnapper board you're using** to be brought to the board's interface page.

![](https://cdn-learn.adafruit.com/assets/assets/000/128/289/medium800/adafruit_products_02_DeviceSelection_croppped.png?1709213473)

If you do not see your board listed here - you need [to connect your board to Adafruit IO](https://learn.adafruit.com/quickstart-adafruit-io-wippersnapper) first.

On the device page, quickly&nbsp; **check that you're running the latest version of the WipperSnapper firmware**.

The device tile on the left indicates the version number of the firmware running on the connected board.

- **If the firmware version is green with a checkmark -** &nbsp;continue with this guide.
- **If the firmware version is red with an exclamation mark "!" -** &nbsp;[update to the latest WipperSnapper firmware](https://learn.adafruit.com/quickstart-adafruit-io-wippersnapper)&nbsp;on your board before continuing.

![adafruit_products_04_LatestVersion.png](https://cdn-learn.adafruit.com/assets/assets/000/128/290/medium640/adafruit_products_04_LatestVersion.png?1709213588)

![adafruit_products_04_UpdateRequired.png](https://cdn-learn.adafruit.com/assets/assets/000/128/291/medium640/adafruit_products_04_UpdateRequired.png?1709213518)

Next, make sure the sensor is plugged into your board and click the **&nbsp;I2C Scan&nbsp;** button.

![](https://cdn-learn.adafruit.com/assets/assets/000/113/177/medium800/sensor_page_crop_scan.png?1657724520)

You should see the MAX17048's default I2C address of&nbsp;`0x36`&nbsp;pop-up in the I2C scan list.

![](https://cdn-learn.adafruit.com/assets/assets/000/128/279/medium800/adafruit_products_Screenshot_2024-02-29_130452.png?1709212255)

###  I don't see the sensor's I2C address listed! 


First, double-check the connection and/or wiring between the sensor and the board.

Then, reset the board and let it re-connect to Adafruit IO WipperSnapper.

With the sensor detected in an I2C scan, you're ready to add the sensor to your board.

**Click the New Component button or the + button** to bring up the component picker.

![](https://cdn-learn.adafruit.com/assets/assets/000/127/931/medium800/sensor_page_temperature___humidity_06_AddComponent.png?1708631009)

Adafruit IO supports a large amount of components. To quickly find your sensor, type&nbsp;`MAX17048`&nbsp;into the search bar, then select the&nbsp; **MAX17048** &nbsp;component.

![](https://cdn-learn.adafruit.com/assets/assets/000/128/280/medium800/adafruit_products_7pG2feFZqh.png?1709212300)

On the component configuration page, the MAX17048's sensor address should be listed along with the sensor's settings.

The&nbsp; **Send Every** &nbsp;option is specific to each sensor's measurements. This option will tell the Feather how often it should read from the MAX17048 sensor and send the data to Adafruit IO. Measurements can range from every 30 seconds to every 24 hours.

For this example, set the&nbsp; **Send Every&nbsp;** interval to every 30 seconds.

![](https://cdn-learn.adafruit.com/assets/assets/000/128/281/medium800/adafruit_products_tRp7NuT8fV.png?1709212335)

Your device interface should now show the sensor components you created. After the interval you configured elapses, WipperSnapper will automatically read values from the sensor(s) and send them to Adafruit IO.

![](https://cdn-learn.adafruit.com/assets/assets/000/128/282/medium800/adafruit_products_Screenshot_2024-02-29_130851.png?1709212350)

To view the data that has been logged from the sensor, click on the graph next to the sensor name.

![](https://cdn-learn.adafruit.com/assets/assets/000/128/283/medium800/adafruit_products_A0JRxveDWg.png?1709212370)

Here you can see the feed history and edit things about the feed such as the name, privacy, webhooks associated with the feed and more. If you want to learn more about how feeds work, [check out this page](https://learn.adafruit.com/all-the-internet-of-things-episode-four-adafruit-io/advanced-feeds).

![](https://cdn-learn.adafruit.com/assets/assets/000/128/324/medium800/adafruit_products_txSyUxF5Jv.png?1709228187)

# Adafruit MAX17048 LiPoly / LiIon Fuel Gauge and Battery Monitor

## Downloads

## Files

- [MAX17048 Datasheet](https://cdn-learn.adafruit.com/assets/assets/000/114/607/original/MAX17048-MAX17049.pdf?1661966692)
- [EagleCAD PCB files on GitHub](https://github.com/adafruit/Adafruit-MAX17048-PCB)
- [3D models on GitHub](https://github.com/adafruit/Adafruit_CAD_Parts/tree/main/5580%20MAX17048)
- [Fritzing object in the Adafruit Fritzing Library](https://github.com/adafruit/Fritzing-Library/blob/master/parts/Adafruit%20MAX17048%20LiPoly%20LiIon%20Fuel%20Gauge%20and%20Battery%20Monitor.fzpz)

## Schematic and Fab Print
![](https://cdn-learn.adafruit.com/assets/assets/000/114/628/medium800/adafruit_products_schem.png?1661970285)

![](https://cdn-learn.adafruit.com/assets/assets/000/114/629/medium800/adafruit_products_board.png?1661970296)

# 3D Model
![](https://cdn-learn.adafruit.com/assets/assets/000/114/935/medium800/adafruit_products_5580_MAX17048.jpg?1663072778)


## Primary Products

### Adafruit MAX17048 LiPoly / LiIon Fuel Gauge and Battery Monitor

[Adafruit MAX17048 LiPoly / LiIon Fuel Gauge and Battery Monitor](https://www.adafruit.com/product/5580)
Low cost Lithium Polymer batteries have revolutionized electronics - they're thin, they're light, they can be regulated down to 3.3V and they're easy to charge. On your phone, there's a little image of a battery cell that tells you the percentage of charge - so you know when...

In Stock
[Buy Now](https://www.adafruit.com/product/5580)
[Related Guides to the Product](https://learn.adafruit.com/products/5580/guides)

## Featured Products

### STEMMA QT / Qwiic JST SH 4-Pin Cable - 50mm Long

[STEMMA QT / Qwiic JST SH 4-Pin Cable - 50mm Long](https://www.adafruit.com/product/4399)
This 4-wire cable is&nbsp;50mm / 1.9" long and fitted with JST SH female 4-pin connectors on both ends. Compared with the chunkier JST PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert and remove.

<a...></a...>

Out of Stock
[Buy Now](https://www.adafruit.com/product/4399)
[Related Guides to the Product](https://learn.adafruit.com/products/4399/guides)
### STEMMA QT / Qwiic JST SH 4-pin Cable with Premium Female Sockets

[STEMMA QT / Qwiic JST SH 4-pin Cable with Premium Female Sockets](https://www.adafruit.com/product/4397)
This 4-wire cable is a little over 150mm / 6" long and fitted with JST-SH female 4-pin connectors on one end and premium female headers on the other. Compared with the chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert and...

Out of Stock
[Buy Now](https://www.adafruit.com/product/4397)
[Related Guides to the Product](https://learn.adafruit.com/products/4397/guides)
### STEMMA QT / Qwiic JST SH 4-pin to Premium Male Headers Cable

[STEMMA QT / Qwiic JST SH 4-pin to Premium Male Headers Cable](https://www.adafruit.com/product/4209)
This 4-wire cable is a little over 150mm / 6" long and fitted with JST-SH female 4-pin connectors on one end and premium Dupont male headers on the other. Compared with the chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert...

Out of Stock
[Buy Now](https://www.adafruit.com/product/4209)
[Related Guides to the Product](https://learn.adafruit.com/products/4209/guides)
### JST SH 4-pin Cable with Alligator Clips - STEMMA QT / Qwiic

[JST SH 4-pin Cable with Alligator Clips - STEMMA QT / Qwiic](https://www.adafruit.com/product/4398)
This cable will make it super easy to use our plug-and-play STEMMA QT boards with boards like Circuit Playground. On one end you get a Qwiic / STEMMA QT connector (technically known as a JST SH 4-pin plug)&nbsp; into 4 individual wires with grippy alligator clips. We're carrying these to...

Out of Stock
[Buy Now](https://www.adafruit.com/product/4398)
[Related Guides to the Product](https://learn.adafruit.com/products/4398/guides)
### STEMMA QT / Qwiic JST SH 4-pin Cable - 100mm Long

[STEMMA QT / Qwiic JST SH 4-pin Cable - 100mm Long](https://www.adafruit.com/product/4210)
This 4-wire cable is a little over 100mm / 4" long and fitted with JST-SH female 4-pin connectors on both ends. Compared with the chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert and remove.

<a...></a...>

Out of Stock
[Buy Now](https://www.adafruit.com/product/4210)
[Related Guides to the Product](https://learn.adafruit.com/products/4210/guides)

## Related Guides

- [Adafruit Metro RP2350](https://learn.adafruit.com/adafruit-metro-rp2350.md)
- [Adafruit PCT2075 Temperature Sensor](https://learn.adafruit.com/adafruit-pct2075-temperature-sensor.md)
- [Adafruit SHT31-D Temperature & Humidity Sensor Breakout](https://learn.adafruit.com/adafruit-sht31-d-temperature-and-humidity-sensor-breakout.md)
- [Melting Picture Frame for PyPortal IoT images](https://learn.adafruit.com/pyportal-art-display.md)
- [Adafruit BMP580, BMP581, and BMP585 - Temperature and Pressure Sensor](https://learn.adafruit.com/adafruit-bmp580-bmp581-and-bmp585-temperature-and-pressure-sensor.md)
- [Adafruit I2C to 8 Channel Solenoid Driver](https://learn.adafruit.com/adafruit-i2c-to-8-channel-solenoid-driver.md)
- [Analog Devices ADT7410 Breakout](https://learn.adafruit.com/adt7410-breakout.md)
- [Adafruit DS1841 I2C Logarithmic Resistor](https://learn.adafruit.com/adafruit-ds1841-i2c-logarithmic-resistor.md)
- [Using Piezo Buzzers with CircuitPython & Arduino](https://learn.adafruit.com/using-piezo-buzzers-with-circuitpython-arduino.md)
- [Adafruit VCNL4200 Long Distance IR Proximity and Light Sensor](https://learn.adafruit.com/adafruit-vcnl4200-long-distance-ir-proximity-and-light-sensor.md)
- [Using MPL3115A2 with CircuitPython](https://learn.adafruit.com/using-mpl3115a2-with-circuitpython.md)
- [CircuitPython Hardware: ILI9341 TFT & FeatherWing](https://learn.adafruit.com/micropython-hardware-ili9341-tft-and-featherwing.md)
- [Wizzy: A Needle Felted Cat](https://learn.adafruit.com/wizzy-a-needle-felted-cat.md)
- [Adafruit AS7331 UV / UVA / UVB / UVC Sensor](https://learn.adafruit.com/adafruit-as7331-uv-uva-uvb-uvc-sensor.md)
- [Adafruit bq25185 USB / DC / Solar Lithium Ion/Polymer Charger](https://learn.adafruit.com/adafruit-bq25185-usb-dc-solar-lithium-ion-polymer-charger.md)
