Date:2014-01-05 20:12:05 (10 months 21 days ago)
Author:Werner Almesberger
Commit:62c90e2bf3c9cd93046b823004918fca65601d04
Message:modules/lp2032sm.fpd: MPD Surface Mount Battery Holders for CR2032 (draft)

The data sheets don't seem very reliable. Check against real parts.
Files: AUTHORS (1 diff)
modules/DESCR (1 diff)
modules/HIERARCHY (1 diff)
modules/Makefile (1 diff)
modules/lp2032sm.fpd (1 diff)

Change Details

AUTHORS
112112  modules/memcard8-amp-10100660.fpd
113113  modules/tswa.fpd
114114  modules/sw-spdt-smt.fpd
115  modules/lp2032sm.fpd
115116
116117Xiangfu <xiangfu@openmobilefree.net>
117118
modules/DESCR
77# http://www.usb.org/developers/docs/usb_20_071012.zip
88USB-A-MID-48258: Molex 48258-0002 and -0001
99USB-A-MID-1746311: TE 1746311
10BAT-BLP2032SM: MPD Surface Mount Battery Holder for CR2032
11  Note: data sheet has contradictory information - check against real part.
12BAT-LP2032SM: MPD Surface Mount Battery Holder for CR2032
13  Note: data sheet has contradictory information - check against real part.
modules/HIERARCHY
7575    SMT
7676        8:10-SOCKET-RA
7777        8:10-SOCKET-RA-PUSH-PULL
78        BAT-LP2032SM
79        BAT-BLP2032SM
7880        MEMCARD8-AMP-10100660
7981        miniUSB_B
8082        USB-A-PLUG-SMT
modules/Makefile
66        fiducial \
77    header he-2row-dip he-shrouded \
88    inductor-2p ir \
9    lga ledsmd \
9    lga ledsmd lp2032sm \
1010    mdip meander-2450MHz memcard8-amp-10100660 mic-ra-dip mini-usb\
1111    pads pads-array phonejack \
1212    qfn qfp \
modules/lp2032sm.fpd
1/* MACHINE-GENERATED ! */
2
3frame minus {
4    __0: vec @(Rx, PNy/2)
5    __1: vec .(-PNx, -PNy)
6    pad "1" . __0
7    __2: vec __0(-PNx/2, -PNy/2)
8}
9
10frame plus {
11    __0: vec @(Rx-PNx/2-Cx, 0mm)
12    __1: vec .(PPx/2, PPy/2)
13    __2: vec __0(-PPx/2, -PPy/2)
14    pad "2" . __1
15}
16
17frame base {
18    set bx = sqrt(Br*Br-By*By/4)
19
20    set bxi = sqrt(Br*Br-Ny*Ny/4)
21
22    __0: vec @(bx, By/2)
23    __1: vec @(bx, -By/2)
24    arc @ . __0 w
25    __2: vec @(-bx, By/2)
26    line . __0 w
27    __3: vec @(-bx, -By/2)
28    line . __1 w
29    __4: vec @(-bxi, Ny/2)
30    arc @ __2 . w
31    __5: vec @(-bxi, -Ny/2)
32    arc @ . __3 w
33    __6: vec @(-Nx, Ny/2)
34    line . __4 w
35    __7: vec @(-Nx, -Ny/2)
36    line . __5 w
37    __8: vec @(Br, 0mm)
38    __9: vec @(0mm, 9mm)
39}
40
41package "BAT-$name"
42unit mm
43
44table
45    { name, Br, By, Nx, Ny, PPx, PPy, PNx, PNy, Rx, Cx }
46    { "BLP2032SM", 11mm, 15.1mm, 12.2mm, 9.94mm, 3.2mm, 2.75mm, 3.2mm, 3.75mm, 10.87mm, 21.26mm }
47    { "LP2032SM", 11mm, 15mm, 12.2mm, 7.53mm, 3mm, 3.45mm, 3mm, 2.8mm, 10.5mm, 20.5mm+3mm }
48
49set w = 5mil
50
51frame base @
52frame plus @
53frame minus @
54measx plus.__0 >> minus.__2 3.5mm
55measx plus.__1 >> minus.__1 1mm
56measx plus.__2 >> plus.__1 -1mm
57measx minus.__1 >> minus.__0 -1mm
58measy plus.__2 >> plus.__1 1mm
59measy minus.__1 >> minus.__0 -PNx-1mm
60measy base.__1 >> base.__0 -5mm
61measx base.__6 >> base.__8 10mm-Ny/2
62measy base.__7 >> base.__6 3mm
63measx base.__9 >> minus.__0
64measx base.__6 >> base.__9 9mm-Ny/2

Archive Download the corresponding diff file

Branches:
master



interactive