1
0
mirror of git://projects.qi-hardware.com/kicad-libs.git synced 2024-11-25 18:56:14 +02:00

add EastRising OLED FPC-30 connector (symbol and footprint)

This commit is contained in:
Werner Almesberger 2013-09-15 10:04:46 -03:00
parent 38cb8de06d
commit 2c26373d24
6 changed files with 134 additions and 0 deletions

View File

@ -84,6 +84,7 @@ Werner Almesberger <werner@almesberger.net>
(based on MEMCARD8 from con.lib. by Xiangfu Liu) (based on MEMCARD8 from con.lib. by Xiangfu Liu)
components/inductor.lib (based on filter.lib by Adam Wang) components/inductor.lib (based on filter.lib by Adam Wang)
components/kl25-48.lib components/kl25-48.lib
components/er-oled-fpc30.lib
modules/pads.fpd modules/pads.fpd
modules/stdpass.fpd modules/stdpass.fpd
modules/8_10-card.fpd modules/8_10-card.fpd
@ -100,6 +101,7 @@ Werner Almesberger <werner@almesberger.net>
modules/lga.fpd modules/lga.fpd
modules/8_10-socket-ra-push-pull.fpd modules/8_10-socket-ra-push-pull.fpd
modules/inductor-2p.fpd modules/inductor-2p.fpd
modules/er-oled-fpc30.fpd
Xiangfu <xiangfu@openmobilefree.net> Xiangfu <xiangfu@openmobilefree.net>

View File

@ -30,6 +30,8 @@ Codec
Audio Audio
wm9707scft/v wm9707scft/v
Connector Connector
FPC
er-oled-fpc30
Generated Generated
conn_1 conn_1
conn_2 conn_2

View File

@ -149,3 +149,4 @@ LibName77=./lis3dh
LibName78=./memcard8 LibName78=./memcard8
LibName79=./inductor LibName79=./inductor
LibName80=./kl25-48 LibName80=./kl25-48
LibName81=./er-oled-fpc30

View File

@ -0,0 +1,46 @@
EESchema-LIBRARY Version 2.3 Date: Sun Sep 15 09:20:25 2013
#encoding utf-8
#
# ER-OLED-FPC30
#
DEF ER-OLED-FPC30 CON 0 40 Y Y 1 F N
F0 "CON" 100 1650 60 H V C CNN
F1 "ER-OLED-FPC30" 150 -1750 60 H V C CNN
F2 "~" 100 0 60 H V C CNN
F3 "~" 100 0 60 H V C CNN
DRAW
S 0 1550 350 -1550 0 1 0 N
X GND 1 -300 1450 300 R 50 50 1 1 W
X C2P 2 -300 1350 300 R 50 50 1 1 P
X C2N 3 -300 1250 300 R 50 50 1 1 P
X C1P 4 -300 1150 300 R 50 50 1 1 P
X C1N 5 -300 1050 300 R 50 50 1 1 P
X VDDB 6 -300 950 300 R 50 50 1 1 W
X NC 7 -300 850 300 R 50 50 1 1 N
X VSS 8 -300 750 300 R 50 50 1 1 W
X VDD 9 -300 650 300 R 50 50 1 1 W
X BS0 10 -300 550 300 R 50 50 1 1 I
X D2 20 -300 -450 300 R 50 50 1 1 T
X NC 30 -300 -1450 300 R 50 50 1 1 N
X BS1 11 -300 450 300 R 50 50 1 1 I
X D3 21 -300 -550 300 R 50 50 1 1 T
X BS2 12 -300 350 300 R 50 50 1 1 I
X D4 22 -300 -650 300 R 50 50 1 1 T
X nCS 13 -300 250 300 R 50 50 1 1 I
X D5 23 -300 -750 300 R 50 50 1 1 T
X nRES 14 -300 150 300 R 50 50 1 1 I
X D6 24 -300 -850 300 R 50 50 1 1 T
X D/nC 15 -300 50 300 R 50 50 1 1 I
X D7 25 -300 -950 300 R 50 50 1 1 T
X R/nW 16 -300 -50 300 R 50 50 1 1 I
X IREF 26 -300 -1050 300 R 50 50 1 1 P
X E/nRD 17 -300 -150 300 R 50 50 1 1 I
X VCOMH 27 -300 -1150 300 R 50 50 1 1 w
X D0 18 -300 -250 300 R 50 50 1 1 T
X VCC 28 -300 -1250 300 R 50 50 1 1 W
X D1 19 -300 -350 300 R 50 50 1 1 T
X VLSS 29 -300 -1350 300 R 50 50 1 1 W
ENDDRAW
ENDDEF
#
#End Library

View File

@ -70,6 +70,8 @@ Connector
PAD_120x60_8x100mil PAD_120x60_8x100mil
PAD_120x60_9x100mil PAD_120x60_9x100mil
PAD_120x60_10x100mil PAD_120x60_10x100mil
FPC
ER-OLED-FPC30
SMT SMT
8:10-SOCKET-RA 8:10-SOCKET-RA
8:10-SOCKET-RA-PUSH-PULL 8:10-SOCKET-RA-PUSH-PULL

81
modules/er-oled-fpc30.fpd Normal file
View File

@ -0,0 +1,81 @@
/* MACHINE-GENERATED ! */
frame contact {
set dx = px/2
set dy = (py+pyo)/2
__0: vec @(dx, dy)
__1: vec @(-dx, -dy)
pad "$i" . __0
}
frame contacts {
set x = (i-n/2-0.5)*e
loop i = 1, n
__0: vec @(x, 0mm)
frame contact .
}
frame hole {
__0: vec @(hr, 0mm)
circ @ . w
__1: vec @(-hr, 0mm)
line . __0 w
__2: vec @(0mm, hr)
__3: vec @(0mm, -hr)
line __2 . w
}
frame outline {
set y0 = -py/2
set yn = ny+y0
__0: vec @(-cx/2, y0)
__1: vec .(0mm, cy)
line __0 . w
__2: vec @(cx/2, y0)
__3: vec .(0mm, cy)
line __2 . w
__4: vec @(-nx/2, yn)
line __1 . w
__5: vec @(nx/2, yn)
line __3 . w
__6: vec @(hx/2, hy+y0)
frame hole .
__7: vec @(-hx/2, hy+y0)
frame hole .
}
package "ER-OLED-FPC30"
unit mm
table
{ n, e, px, py, pyo }
{ 30, 0.7mm, 0.4mm, 2mm, 0.2mm }
table
{ cx, cy, nx, ny }
{ 22mm, 4mm, 12mm, 6.887mm }
table
{ hx, hy, hr }
{ 16mm, 4.75mm, 0.4mm }
set w = 5mil
frame outline @
frame contacts @
measx contacts.__0 -> contacts.__0 -py/2-1mm
measy contact.__1 -> contact.__0 2mm
measy outline.__2 >> outline.__3 -1mm
measy outline.__2 >> outline.__5 -3mm
measx outline.__0 >> outline.__2 -3mm
measx contacts.__0 >> contacts.__0 -3mm
measx outline.__0 -> contacts.__0 -2mm
measx outline.__7 >> outline.__6
measy outline.__2 >> outline.__6 -2mm
measx outline.__4 >> outline.__5