LiPo Charger USB v18.02: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
No edit summary
 
(15 intermediate revisions by one other user not shown)
Line 1: Line 1:
Lithium polymer battery unit. Charges and maintains battery from USB 5V, output 5V over USB, allows data to pass through.
=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 - [https://scottiestech.info/2015/06/21/lithium-polymer-vs-lithium-ion-batteries-whats-the-deal/]
 
==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=
=Tentative BOM=


*USB Breakout Board [https://www.sparkfun.com/products/12700 Sparkfun]
*USB A Female Breakout [https://www.sparkfun.com/products/12700 Sparkfun]


*LiPo Battery [https://www.sparkfun.com/products/13855 Sparkfun]
*LiPo Battery [https://www.sparkfun.com/products/13855 Sparkfun]
**[https://www.sparkfun.com/products/13856 Sparkfun]
**[https://www.sparkfun.com/products/13856 Sparkfun]


*LiPo Charger [https://www.sparkfun.com/products/13777 Sparkfun]
*LiPo Charger "Battery Babysitter" [https://www.sparkfun.com/products/13777 Sparkfun]


*Boost Converter w/ charger [https://www.sparkfun.com/products/10255 Sparkfun]
*Boost Converter w/ charger [https://www.sparkfun.com/products/10255 Sparkfun]
**outputs 5V, arduino suggests 7V input (6V min)


*Boost Converter w/ under voltage protection [https://www.sparkfun.com/products/10255 Sparkfun]
*100K Resistor [https://www.mouser.com/ProductDetail/OK1045E-R52 mouser]
 
*Female Headers
 
*Male Jumper Wires
 
*USB B Panel Mount - [https://www.mouser.com/ProductDetail/167-PX0842-B mouser]
**Panel Mount Cover - [https://www.mouser.com/ProductDetail/157-PX0733 mouser]
 
*On/Off/On DPDT Toggle Switch [https://www.grainger.com/product/HONEYWELL-Toggle-Switch-24D439 grainger]


=Case=
=Case=
Line 20: Line 39:


  <nowiki>
  <nowiki>
Scad
$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
   
   
}
  </nowiki>
  </nowiki>
=Wiring Diagram=
<html>
<img src="https://docs.google.com/drawings/d/e/2PACX-1vSTT-xzQVhhPpb2fWo3kOTvSY5uoc9cbqreUwW-IrPlTMXvxvFDyDGj6aeVLvyVqBQcwsZkaejp4aGz/pub?w=400">
</html>
[https://docs.google.com/drawings/d/1FYfCpUdQFdyRnn0Rzpgd5ngBFimP_05OgfKyySTSKKs/edit edit]


=See Also=
=See Also=


[[MicroTrac Controller v18.02]]
*[[MicroTrac Controller v18.02]]
*[https://en.wikipedia.org/wiki/USB#Power USB - Wikipedia]
*[https://en.wikipedia.org/wiki/Schottky_diode#Applications Shottky Diode - Wikipedia]

Latest revision as of 16:26, 8 February 2019

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

  • LiPo Charger "Battery Babysitter" Sparkfun
  • Female Headers
  • Male Jumper Wires

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

edit

See Also