1
0
mirror of git://projects.qi-hardware.com/kicad-libs.git synced 2024-11-28 17:05:54 +02:00

modules/lp2032sm.fpd: MPD Surface Mount Battery Holders for CR2032 (draft)

The data sheets don't seem very reliable. Check against real parts.
This commit is contained in:
Werner Almesberger 2014-01-05 16:12:05 -03:00
parent 1b997b80eb
commit 62c90e2bf3
5 changed files with 72 additions and 1 deletions

View File

@ -112,6 +112,7 @@ Werner Almesberger <werner@almesberger.net>
modules/memcard8-amp-10100660.fpd modules/memcard8-amp-10100660.fpd
modules/tswa.fpd modules/tswa.fpd
modules/sw-spdt-smt.fpd modules/sw-spdt-smt.fpd
modules/lp2032sm.fpd
Xiangfu <xiangfu@openmobilefree.net> Xiangfu <xiangfu@openmobilefree.net>

View File

@ -7,3 +7,7 @@ USB-A-PCB: http://www.poweredusb.org/pdf/usb20.pdf
# http://www.usb.org/developers/docs/usb_20_071012.zip # http://www.usb.org/developers/docs/usb_20_071012.zip
USB-A-MID-48258: Molex 48258-0002 and -0001 USB-A-MID-48258: Molex 48258-0002 and -0001
USB-A-MID-1746311: TE 1746311 USB-A-MID-1746311: TE 1746311
BAT-BLP2032SM: MPD Surface Mount Battery Holder for CR2032
Note: data sheet has contradictory information - check against real part.
BAT-LP2032SM: MPD Surface Mount Battery Holder for CR2032
Note: data sheet has contradictory information - check against real part.

View File

@ -75,6 +75,8 @@ Connector
SMT SMT
8:10-SOCKET-RA 8:10-SOCKET-RA
8:10-SOCKET-RA-PUSH-PULL 8:10-SOCKET-RA-PUSH-PULL
BAT-LP2032SM
BAT-BLP2032SM
MEMCARD8-AMP-10100660 MEMCARD8-AMP-10100660
miniUSB_B miniUSB_B
USB-A-PLUG-SMT USB-A-PLUG-SMT

View File

@ -6,7 +6,7 @@ MODULES=8_10-card 8_10-socket-ra 8_10-socket-ra-push-pull \
fiducial \ fiducial \
header he-2row-dip he-shrouded \ header he-2row-dip he-shrouded \
inductor-2p ir \ inductor-2p ir \
lga ledsmd \ lga ledsmd lp2032sm \
mdip meander-2450MHz memcard8-amp-10100660 mic-ra-dip mini-usb\ mdip meander-2450MHz memcard8-amp-10100660 mic-ra-dip mini-usb\
pads pads-array phonejack \ pads pads-array phonejack \
qfn qfp \ qfn qfp \

64
modules/lp2032sm.fpd Normal file
View File

@ -0,0 +1,64 @@
/* MACHINE-GENERATED ! */
frame minus {
__0: vec @(Rx, PNy/2)
__1: vec .(-PNx, -PNy)
pad "1" . __0
__2: vec __0(-PNx/2, -PNy/2)
}
frame plus {
__0: vec @(Rx-PNx/2-Cx, 0mm)
__1: vec .(PPx/2, PPy/2)
__2: vec __0(-PPx/2, -PPy/2)
pad "2" . __1
}
frame base {
set bx = sqrt(Br*Br-By*By/4)
set bxi = sqrt(Br*Br-Ny*Ny/4)
__0: vec @(bx, By/2)
__1: vec @(bx, -By/2)
arc @ . __0 w
__2: vec @(-bx, By/2)
line . __0 w
__3: vec @(-bx, -By/2)
line . __1 w
__4: vec @(-bxi, Ny/2)
arc @ __2 . w
__5: vec @(-bxi, -Ny/2)
arc @ . __3 w
__6: vec @(-Nx, Ny/2)
line . __4 w
__7: vec @(-Nx, -Ny/2)
line . __5 w
__8: vec @(Br, 0mm)
__9: vec @(0mm, 9mm)
}
package "BAT-$name"
unit mm
table
{ name, Br, By, Nx, Ny, PPx, PPy, PNx, PNy, Rx, Cx }
{ "BLP2032SM", 11mm, 15.1mm, 12.2mm, 9.94mm, 3.2mm, 2.75mm, 3.2mm, 3.75mm, 10.87mm, 21.26mm }
{ "LP2032SM", 11mm, 15mm, 12.2mm, 7.53mm, 3mm, 3.45mm, 3mm, 2.8mm, 10.5mm, 20.5mm+3mm }
set w = 5mil
frame base @
frame plus @
frame minus @
measx plus.__0 >> minus.__2 3.5mm
measx plus.__1 >> minus.__1 1mm
measx plus.__2 >> plus.__1 -1mm
measx minus.__1 >> minus.__0 -1mm
measy plus.__2 >> plus.__1 1mm
measy minus.__1 >> minus.__0 -PNx-1mm
measy base.__1 >> base.__0 -5mm
measx base.__6 >> base.__8 10mm-Ny/2
measy base.__7 >> base.__6 3mm
measx base.__9 >> minus.__0
measx base.__6 >> base.__9 9mm-Ny/2