LiPo Charger USB v18.02
Overview
Lithium polymer battery unit. Charges and maintains battery from USB 5V, output 5V over USB, allows data to pass through.
LiPo is same as lithium batteries. The Po (polymer) refers to how it's packaged - [1]
Goals
- No need to remove for basic operations
- Charge through panel mounted USB port
- Upload Arduino skectches through USB port
- On off switch
Tentative BOM
- USB A Female Breakout Sparkfun
- LiPo Charger "Battery Babysitter" Sparkfun
- Boost Converter w/ charger Sparkfun
- 100K Resistor mouser
- Female Headers
- Male Jumper Wires
- On/Off/On DPDT Toggle Switch grainger
Case
3D printed to mount and encase circuit boards in a end-user-friendly manner.
$fn=32; SFusbbo(); translate([1.08+(0.1),0,0.2195-0.1165]) SFbbs(); translate([0,0.8+(0.1),0]) SFlipow(); LiPoUSBCase(); module SFbbs() { difference(){ union(){ cube([1.325,1.3,0.065]); //PCB translate([0.42-(0.3155/2),1.3-1.32,0.065]) cube([0.3155,0.225,0.168-0.065]); //usb heigh w/pcb 0.168 //height to center of usb 0.1165 //usb width 0.3155 //usb depth 0.225 //usb center to next edge 0.42 //usb pcb width 1.32 translate([1.325-0.305-0.1,0.515-(0.315/2),0.065]) cube([0.305,0.315,0.2845-0.065]); //batin center to next edge .515 //batin width 0.315 //batin height /pcb 0.2845 //depth 0.305 //from edge 0.1 }// end union translate([(1.325/2)-(1.1/2),(1.3/2)-(1.1/2),0]){ translate([1.1,1.1,0]) cylinder(d=0.125,h=0.065); translate([1.1,0,0]) cylinder(d=0.125,h=0.065); translate([0,1.1,0]) cylinder(d=0.125,h=0.065); translate([0,0,0]) cylinder(d=0.125,h=0.065); } //hole group translate }//end difference //hole c2c 1.1 x 1.1 D = 0.125 } module SFusbbo() { difference(){ union(){ cube([1.025,0.8,0.065]); //PCB translate([(1.025/2)-(0.52/2),0.8-0.908,0.332-(0.225)]) cube([0.52,0.572,0.225]); //USB } //end union translate([(1.025/2)-(0.8125/2),(0.8/2)-(0.6125/2),0]){ translate([0.8125,0.6125,0]) cylinder(d=0.125,h=0.065); translate([0.8125,0,0]) cylinder(d=0.125,h=0.065); translate([0,0.6125,0]) cylinder(d=0.125,h=0.065); translate([0,0,0]) cylinder(d=0.125,h=0.065); } //hole group translate } //end difference //height to USB center 0.2195 //usb height 0.332 //usb thickness 0.2775 0.225 //usb width .565 0.52 //usb depth .572 //pcb width with USB .908 //wall thickness 0.9 //bottom through hole sticking out 0.16 //hole c2c 0.8125 x 0.6125 D = 0.125 } module SFlipow() { cube([1.08,0.524,0.065]); //PCB } module BAT2000() { cube([2.68,1.97,0.065]); //PCB } module LiPoUSBCase() { translate([(1.025/2)-(0.8125/2),(0.8/2)-(0.6125/2),0]){ translate([0.8125,0.6125,0]){ cylinder(d1=0.11, d2=0.09 ,h=0.2195); translate([0,0,-0.16]) cylinder(d=0.18,h=0.16); } translate([0.8125,0,0]){ cylinder(d1=0.11, d2=0.09 ,h=0.2195); translate([0,0,-0.16]) cylinder(d=0.18,h=0.16); } translate([0,0.6125,0]){ cylinder(d1=0.11, d2=0.09,h=0.2195); translate([0,0,-0.16]) cylinder(d=0.18,h=0.16); } translate([0,0,0]) { cylinder(d1=0.11, d2=0.09,h=0.2195); translate([0,0,-0.16]) cylinder(d=0.18,h=0.16); } } //hole group translate }
Wiring Diagram