Date:2013-09-15 21:15:06 (7 months 7 days ago)
Author:Werner Almesberger
Commit:3f1b978b2b49efe7eda3b369bd1a5c13dd113cc0
Message:add C&K TSWA series switch with 22 mm wheel

Files: AUTHORS (2 diffs)
components/HIERARCHY (1 diff)
components/components.pro (1 diff)
components/tswa.lib (1 diff)
modules/HIERARCHY (1 diff)
modules/Makefile (1 diff)
modules/tswa.fpd (1 diff)

Change Details

AUTHORS
8585  components/inductor.lib (based on filter.lib by Adam Wang)
8686  components/kl25-48.lib
8787  components/er-oled-fpc30.lib
88  components/tswa.lib
8889  modules/pads.fpd
8990  modules/stdpass.fpd
9091  modules/8_10-card.fpd
...... 
103104  modules/inductor-2p.fpd
104105  modules/er-oled-fpc30.fpd
105106  modules/memcard8-amp-10100660.fpd
107  modules/tswa.fpd
106108
107109Xiangfu <xiangfu@openmobilefree.net>
108110
109111  components/c.lib
110112  components/led.lib
111113  components/r.lib
112
components/HIERARCHY
146146        FSMRA2JH
147147        SW_PUSH
148148        EVQQ7
149        TSWA
149150    Case
150151        MH
151152Sensor
components/components.pro
150150LibName79=./inductor
151151LibName80=./kl25-48
152152LibName81=./er-oled-fpc30
153LibName82=./tswa
components/tswa.lib
1EESchema-LIBRARY Version 2.3 Date: Sun Sep 15 15:56:00 2013
2#encoding utf-8
3#
4# TSWA
5#
6DEF TSWA SW 0 40 Y N 1 F N
7F0 "SW" -50 300 60 H V C CNN
8F1 "TSWA" 0 -250 60 H V C CNN
9F2 "~" 0 0 60 H V C CNN
10F3 "~" 0 0 60 H V C CNN
11DRAW
12S -150 250 150 -200 0 1 0 N
13P 2 0 1 0 -100 -150 -150 -150 N
14P 2 0 1 0 -100 0 -150 0 N
15P 2 0 1 0 -100 150 -150 150 N
16P 2 0 1 0 50 -150 -100 -100 N
17P 2 0 1 0 50 -150 100 -150 N
18P 2 0 1 0 50 0 -100 50 N
19P 2 0 1 0 50 0 100 0 N
20P 2 0 1 0 50 150 -100 200 N
21P 4 0 1 0 50 150 100 150 100 -150 150 -150 N
22X A A -450 0 300 R 50 50 1 1 P
23X B B -450 -150 300 R 50 50 1 1 P
24X NO NO -450 150 300 R 50 50 1 1 P
25X COM COM 450 -150 300 L 50 50 1 1 P
26ENDDRAW
27ENDDEF
28#
29#End Library
modules/HIERARCHY
400400        TACTIL-SW-SPST-RA-13.26mm-15.85mm
401401        E-SWITCH_320
402402        EVQQ7
403        TSWA-22mm
modules/Makefile
1212    qfn qfp \
1313    rca-3-ra rj45 \
1414    soic sot23 spacer sot sot-323 ssop stdpass \
15    tactile-sw-spst-ra-dip to tsop tssop5 \
15    tactile-sw-spst-ra-dip to tsop tssop5 tswa \
1616    usb-a-dual-recept-r usb-a-pcb usb_a_plug_smt \
1717    xlr-plug xlr-socket \
1818     xtal-2 xtal-4 \
modules/tswa.fpd
1/* MACHINE-GENERATED ! */
2
3frame holes {
4    set xi = 9mm
5
6    set d = 1.6mm
7
8    loop i = 0, 1
9
10    __0: vec @(xi*(i-0.5), 0mm)
11    __1: vec .(d/2, d/2)
12    __2: vec __0(-d/2, -d/2)
13    hole . __1
14}
15
16frame pins {
17    table
18        { pin, x, y }
19        { "NO", 0mm, y2-y1 }
20        { "A", -xo/2, 0mm }
21        { "B", 0mm, -y1 }
22        { "COM", xo/2, 0mm }
23
24    table
25        { xo, y1, y2 }
26        { 18.52mm, xo/2, 10.83mm }
27
28    set d = 1.3mm
29
30    __0: vec @(x, y)
31    __1: vec .(d/2, d/2)
32    __2: vec __0(-d/2, -d/2)
33    rpad "$pin" . __1
34}
35
36frame outline {
37    set w = 5mil
38
39    __0: vec @(0mm, d/2)
40    circ @ . w
41}
42
43package "TSWA-${d}"
44unit mm
45
46set d = 22mm
47
48frame pins @
49frame outline @
50frame holes @
51measx pins.__0 >> pins.__0 5mm
52measx holes.__0 >> holes.__0 4mm
53measx holes.__2 -> holes.__1 -1mm
54measx pins.__2 -> pins.__1 -1mm
55measy pins.__0 >> pins.__0 14mm
56measy pins.__0 >> holes.__0 13mm

Archive Download the corresponding diff file

Branches:
master



interactive