Date: 2012-06-11 14:19:02 (7 years 3 months ago) Adam Wang 178fbc3effff8d508388a850486490632fe303c6 rj45.fpd: RJ45-8-LED added 8 pins ethernet connectors with two leds version from Molex. modules/INFO (1 diff) modules/rj45.fpd (1 diff)

## Change Details

modules/INFO
195195#
196196
197# RJ45, 8 pins, two leds
198F: rj45
199#
200# - RJ45-8-LED, the 48025-0002 data sheet, drawing, from MOLEX
201# http://www.molex.com/pdm_docs/sd/480250002_sd.pdf
202#
203
197204# SOIC
198205F: soic
199206#
modules/rj45.fpd
1/* MACHINE-GENERATED ! */
2
3frame pShield {
4    set rin = 1.63mm/2
5
6    set rout = ratio*rin
7
8    set n = i+13
9
10    loop i = 0, 1
11
12    __0: vec @(i*Shieldx, 0mm)
13    __1: vec .(rin, rin)
14    __2: vec __0(-rin, -rin)
15    hole . __1
16    __3: vec __0(rout, -rout)
17    __4: vec __0(-rout, rout)
19}
20
21frame hNPTH {
22    set r = 3.18mm/2
23
24    __0: vec @(r, r)
25    __1: vec @(-r, -r)
26    hole . __0
27}
28
29frame pNPTH {
30    table
31        { px, dx, n }
32        { NPTHx/2, 1, 13 }
33        { NPTHx/2, -1, 14 }
34
35    __0: vec @(dx*px, 0mm)
36    frame hNPTH .
37}
38
39frame pins {
40    set rin = 0.89mm/2
41
42    set rout = ratio*rin
43
44    set n = i*2+1
45
46    set m = i*2+2
47
48    loop i = 0, 3
49
50    __0: vec @(i*pitchP, 0mm)
51    __1: vec .(rin, rin)
52    __2: vec __0(-rin, -rin)
53    hole . __1
54    __3: vec __0(rout, -rout)
55    __4: vec __0(-rout, rout)
57    __5: vec @(0mm, pitchP)
58    __6: vec .(pitchP/2, 0mm)
59    __7: vec .(i*pitchP, 0mm)
60    __8: vec .(rin, rin)
61    __9: vec __7(-rin, -rin)
62    hole . __8
63    __10: vec __7(rout, -rout)
64    __11: vec __7(-rout, rout)
66}
67
68frame pLed {
69    set rin = 1.02mm/2
70
71    set n = i+9
72
73    set m = i+11
74
75    set rout = ratio*rin
76
77    loop i = 0, 1
78
79    __0: vec @(i*pitchP, 0mm)
80    __1: vec .(rout, -rout)
81    __2: vec __0(rin, rin)
82    __3: vec __0(-rin, -rin)
83    hole . __2
84    __4: vec __0(-rout, rout)
86    __5: vec @(pitchP+LEDx, 0mm)
87    __6: vec .(i*pitchP, 0mm)
88    __7: vec .(rin, rin)
89    __8: vec __6(-rin, -rin)
90    hole . __7
91    __9: vec __6(rout, -rout)
92    __10: vec __6(-rout, rout)
94}
95
96frame outline {
97    __0: vec @(W/2, -NPTHy)
98    __1: vec @(-W/2, L-NPTHy)
99    rect . __0 w
100}
101
102package "RJ45-8-LED"
103unit mm
104
105set NPTHx = 11.43mm
106
107set NPTHy = 10.8mm
108
109set L = 25.4mm
110
111set W = 16.2mm
112
113set ydiffShield = 3.3mm
114
115set Shieldx = 15.74mm
116
117set ratio = 1.6
118
119set yP1dist = 6.35mm
120
121set yShield = yP1dist-ydiffShield
122
123set pitchP = 2.54mm
124
125set ydiffLed = 7.37mm
126
127set LEDx = 5.84mm
128
129set w = 5mil
130
131__0: vec @(0mm, yP1dist)
132__1: vec .(-(2*pitchP-pitchP/4), 0mm)
133frame pins .
134__2: vec __0(0mm, ydiffLed)
135__3: vec .(-(LEDx/2+pitchP), 0mm)
136frame pLed .
137__4: vec @(0mm, yP1dist-ydiffShield)
138__5: vec .(-Shieldx/2, 0mm)
139frame pShield .
140frame pNPTH @
141frame outline @
142measy pNPTH.__0 >> __1 4mm
143measy __1 >> pins.__6 4mm
144measy __1 >> __3 5.3mm
145meas pNPTH.__0 >> pNPTH.__0 -2mm
146meas __5 >> pShield.__0 -6mm
147meas pLed.__5 >> pLed.__6 1.3mm
148meas pLed.__5 << pLed.__0 1.3mm
149meas pins.__6 -> pins.__7 1.3mm
150measx __1 >> pins.__6 4mm
151measy outline.__0 >> outline.__1 -1.5mm
152measx outline.__1 >> outline.__0 1.5mm
153measy hNPTH.__1 -> hNPTH.__0 -3.18mm-0.5mm
154measy pShield.__2 -> pShield.__1 -1.63mm-1mm
155measy pins.__2 -> pins.__1 -0.89mm-0.5mm
156measy pins.__9 -> pins.__8 -0.89mm-0.5mm
157measy pLed.__3 -> pLed.__2 -1.02mm-0.5mm

Branches:
master