Things used in this project

Hardware components:
OSH Park OSHPark - Circuit Board
×1
Microchip MCP73871
×1
Maxim Integrated MAX17043 - LiPo Fuel Gauge
×1
Texas Instruments TPS63020
×1
4700uF Electrolytic Capacitor
×1
SeeedStudio 3W Solar Panel
×1
10k Thermistor 0805
×1
Mini-USB Socket
×1
2.05mm Barrell Connector
×1
JST Connect
×1
Schottky Diode 1A
×1
2.2uH Inductor - 3.5A - 29.9mOhm
×1
22uF 16V 0805 Capacitor
×1
Various 0805 Caps, Resistors, LEDs - See Schematic
×1
SparkFun 2000mAH LiPo Battery
×1

Schematics

EAGLE Schmatics and Board Layout
System Schematics
Screen shot 2017 05 08 at 2 52 23 pm 2yuetgreau
Board Layout
Board layout image
Screen shot 2017 05 08 at 2 50 11 pm fwelhtj5lm
MAX74043 DataSheet
Datasheet for Fuel Gauge
Microchip MCP73871
Datasheet for Charge Controller
TPS63020 Power Supply Data Sheet
Datasheet
Link to EAGLE Files on Github
These files were made using EAGLE version 8

Code

LiPo Fuel Guage Example CodeC/C++
in Arduino to poll the Maxim LiPo Fuel guage and get the state of charge
#include "MAX17043.h"
#include "Wire.h"

MAX17043 batteryMonitor;

void setup() {
  
  Wire.begin(); 
  Serial.begin(9600);
  Serial.println("MAX17043 Example: reading voltage and SoC");
  Serial.println();
  
  batteryMonitor.reset();
  batteryMonitor.quickStart();
  delay(1000);
  
  float cellVoltage = batteryMonitor.getVCell();
  Serial.print("Voltage:\t\t");
  Serial.print(cellVoltage, 4);
  Serial.println("V");

  float stateOfCharge = batteryMonitor.getSoC();
  Serial.print("State of charge:\t");
  Serial.print(stateOfCharge);
  Serial.println("%");
}

void loop() {    
}

Credits

Img 20140919 080037
Chip McClelland

I build connected sensors.

Contact

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Similar projects you might like

Wildlife Detector
Advanced
  • 496
  • 11

Device detects motion, then takes a picture of triggering wildlife. Uses a neural net to identify the wildlife species and does something

MEGA BREAD - Hank the Hexabot
Advanced
  • 151
  • 4

Work in progress

A 6 legged, 18 servo, self guiding time wasting project. MEGA BREAD series #7, Delivery and retrieval from the air project.

 Theft Detector
Advanced
  • 34
  • 1

Full instructions

This project will show you how to make a simple valuable things or gadget protector.

DIY NES Classic Advantage Controller
Advanced
  • 499
  • 6

A Nintendo Advantage-inspired controller to use with the NES Classic Edition or Wii (but for 2-button games).

 Line Follower Rover
Advanced
  • 36
  • 2

Full instructions

This project is a simple line follower robot, where in we used the 4Duino-24 as the controller of the robot or rover.

WeMOS & MAX7219 based Information Display System
Advanced
  • 98
  • 1

Full instructions

A simple Information Display System built around WeMOS: usage of WeMOS makes the system Wi-Fi enabled and it displays YouTube subscribers.

ProjectsCommunitiesTopicsContestsLiveAppsBetaFree StoreBlogAdd projectSign up / Login
Feedback