smôl Power Board LiPo Hookup Guide

Pages
Contributors: PaulZC
Favorited Favorite 0

Hardware Overview

In this section we'll cover what this board does and what is included on the smôl Power Board LiPo.

What Does This Board Do?

What does this board do? Excellent question! Let's answer that right now.

Many SparkFun boards, especially our Thing Plus boards, come with a Li-Ion battery connector and built-in charger so you can power your project from a rechargeable battery. smôl is no different. The smôl Power Board LiPo is equipped with: one of our standard JST-PH battery connectors; an MCP73831 Li-Ion and Li-Polymer charger; and a MAX17048 I2C battery fuel gauge. But it also comes with an on-board ATtiny841 AVR microcontroller. This is an intelligent power board!

The main job of the Power Board is to provide power for your smôl ecosystem. smôl is designed to be both small in size and small on current draw. The Power Board plays a critical role in reducing the current draw of smôl as much as possible.

When you want your project to go into a low power or deep sleep state, it is standard practice to put your processor into the lowest power state it offers. But you may find that the current draw is still something like 100µA to 500µA depending on which processor you are using. Then there is the quiescent current drawn by the voltage regulator. The quiescent current is the current drawn by the regulator when it is on but has no load attached. Again, it varies from regulator to regulator but you may find this adds another 55µA to your current draw. Those little currents add up and reduce your battery life considerably.

With smôl, we took a new approach. The Power Board takes control and provides the 3.3V power for the whole smôl stack. When instructed to by the Processor Board, the on-board ATtiny microcontroller will turn off that power completely and then put itself into a low power sleep state for a pre-defined interval. Sleep intervals from a few 10's of milliseconds to several days are possible. We have used the fantastic Otii Arc Power Analyzer to help us reduce the sleep current to just 6µA. Yes, you read that right, 6 microamps! smôl makes it possible for your battery life to be measured in months not days!

Battery Connector

By far the biggest component on the board is the JST-PH connector for the battery.

Pictured is the Battery Connector

Battery Polarity: Please make sure that you use one of our recommended Lithium Ion batteries. Some batteries use the same JST connector as ours but have the opposite polarity. Connecting one of these to your smôl power board could destroy it. If you are going to use your own battery, it is up to you to ensure it has the correct polarity. In the above photo, the positive pin is on the right.

MCP73831 Li-Ion and Li-Polymer Charger

Like our Thing Plus boards, the smôl Power Board LiPo comes with a MCP73831 Li-Ion and Li-Polymer Charger IC. We've set the charge current to 100mA to prevent the board drawing too much current through the Flexible Printed Circuit interconnect and to make it safe to use small Li-Ion batteries like our 400mAh battery.

The yellow CHG LED will light up when the battery is charging from USB power via the Processor Board.

Pictured is the MCP73831 battery charger

MAX17048 Fuel Gauge

Like our Thing Plus C - ESP32 WROOM, the smôl Power Board LiPo comes with a MAX17048 I2C Fuel Gauge IC. The processor board can communicate with the power board via I2C and read the battery voltage, State-of-Charge and other parameters.

Pictured is the MAX17048 fuel gauge

ATtiny841 AVR Microcontroller

The smôl Power Board LiPo is an intelligent power board. The on-board ATtiny841 microcontroller can monitor the battery voltage, State-of-Charge and other parameters. When the Processor Board requests it to, the ATtiny841 will turn off the smôl 3.3V power completely and place itself into deep sleep for a pre-defined interval. This is what makes it possible to reduce the sleep current to just 6µA.

Pictured is the ATtiny841 microcontroller

Our SparkFun smôl Power Board Arduino Library does all of the heavy lifting for you, making it easy to communicate with the ATtiny through simple function calls.

A Note About Temperature Sensing

The ATtiny841 has a built-in temperature sensor, which can be accessed via the SparkFun smôl Power Board Arduino Library. However, the quoted typical accuracy of the sensor is ±10°C. Yes, plus or minus ten degrees C. The sensor measurement requires external calibration to be useful.

Voltage Regulators

The smôl Power Board LiPo has two 3.3V regulators on-board: an AP2112K-3.3V and a STLQ015-3.3V.

Pictured are the two 3.3V regulators

The AP2112K-3.3V is one of our favorite regulators. It provides 3.3V at up to 600mA with a typical voltage drop of 250mV. The AP2112K provides 3.3V to the smôl stack and can be switched off completely by the ATtiny841 processor. This avoids the regulator's 55µA quiescent current draw depleting your battery.

The STLQ015-3.3V is a new friend. It provides 3.3V at up to 150mA with a typical voltage drop of 112mV. The STLQ015 provides 3.3V power for the ATtiny841 microcontroller (only) and has a truly tiny quiescent current draw of 1.4µA.

FPC Connections

Like all of our smôl boards, the Power Board LiPo is equipped with two 16-way 0.5mm-pitch Flexible Printed Circuit connectors. FPCs are used to link the smôl boards together in a daisy-chain.

The pin-out for the smôl Power Board LiPo is as follows:

Connector Pin No.Signal NameFunctionNotes
1PROC_PWR_ENProcessor Power EnableThe power board pulls this signal low to disable the voltage regulator on the power board
23V33.3V Power Rail
3GNDPower Ground / 0V
4SCLKSPI ClockNot used
5COPISPI Controller Out Peripheral InNot used
6CIPOSPI Controller In Peripheral OutNot used
7CS0SPI Chip Select 0Not used
8CS1SPI Chip Select 1Not used
9CS2SPI Chip Select 2Not used
10GPIO0General Purpose Input / Output 0Not used
11GPIO1General Purpose Input / Output 1Not used
12SDAI2C DataUsed for ATtiny841 and Fuel Gauge communication
13SCLI2C ClockUsed for ATtiny841 and Fuel Gauge communication
14GNDPower Ground / 0V
153V33.3V Power Rail
16V_USBUSB Power Rail (5V)USB power is used to recharge the battery

The IN and OUT pin connections are identical on the smôl Power Board LiPo. (That's not always true on smôl Peripheral Boards. Check the appropriate Peripheral Board Hookup Guide for full details.)

The order in which you connect smôl boards is important. However, because the Power Board LiPo only uses I2C communication, it can be placed anywhere in the stack. Please see the smôl Hookup Guide for more details.