forked from bornhack/badge2022
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buttons.kicad_sch
287 lines (272 loc) · 10.1 KB
/
buttons.kicad_sch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
(kicad_sch (version 20211123) (generator eeschema)
(uuid 435160cf-1a1d-4ebf-888d-28f689d609d8)
(paper "A4")
(title_block
(title "4 buttons meant for up/down/right/left positioning")
(date "2022-06-12")
(rev "1.0")
(comment 1 "CC-BY-SA")
)
(lib_symbols
(symbol "Switch:SW_SPST" (pin_names (offset 0) hide) (in_bom yes) (on_board yes)
(property "Reference" "SW" (id 0) (at 0 3.175 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "SW_SPST" (id 1) (at 0 -2.54 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (id 2) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "switch lever" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Single Pole Single Throw (SPST) switch" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "SW_SPST_0_0"
(circle (center -2.032 0) (radius 0.508)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(polyline
(pts
(xy -1.524 0.254)
(xy 1.524 1.778)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
(circle (center 2.032 0) (radius 0.508)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
)
(symbol "SW_SPST_1_1"
(pin passive line (at -5.08 0 0) (length 2.54)
(name "A" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line (at 5.08 0 180) (length 2.54)
(name "B" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
)
)
(symbol "power:GND" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "#PWR" (id 0) (at 0 -6.35 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 0 -3.81 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (id 2) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "power-flag" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Power symbol creates a global label with name \"GND\" , ground" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "GND_0_1"
(polyline
(pts
(xy 0 0)
(xy 0 -1.27)
(xy 1.27 -1.27)
(xy 0 -2.54)
(xy -1.27 -1.27)
(xy 0 -1.27)
)
(stroke (width 0) (type default) (color 0 0 0 0))
(fill (type none))
)
)
(symbol "GND_1_1"
(pin power_in line (at 0 0 270) (length 0) hide
(name "GND" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
)
)
)
(wire (pts (xy 100.33 99.06) (xy 93.98 99.06))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 43c5893a-6317-4e34-a208-1a6baeaf0203)
)
(wire (pts (xy 83.82 85.09) (xy 76.2 85.09))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 611b3c1d-1dbd-4259-b079-6f5291ce738e)
)
(wire (pts (xy 83.82 99.06) (xy 76.2 99.06))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 7bb84211-2b0f-4b27-8e83-543346aceb4f)
)
(wire (pts (xy 100.33 69.85) (xy 93.98 69.85))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 7e5ed2b8-f991-4c2d-a6a9-19467fa4f64c)
)
(wire (pts (xy 100.33 113.03) (xy 93.98 113.03))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 89b42eef-199d-4dc6-adde-4cf711829d64)
)
(wire (pts (xy 83.82 113.03) (xy 76.2 113.03))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 9e5ecdbf-d9b8-45cc-9c34-7ddad8ee8852)
)
(wire (pts (xy 83.82 69.85) (xy 76.2 69.85))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid c724bd70-6f6d-45fe-b0d9-9779c31f54a9)
)
(wire (pts (xy 100.33 85.09) (xy 93.98 85.09))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid cb89e690-140a-4138-8dfa-0778e05697a7)
)
(hierarchical_label "B" (shape output) (at 76.2 85.09 180)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 51b59034-b111-456d-bdbe-f64ce2a4b372)
)
(hierarchical_label "X" (shape output) (at 76.2 99.06 180)
(effects (font (size 1.27 1.27)) (justify right))
(uuid a56a135c-1aef-481c-b214-af204e646cf6)
)
(hierarchical_label "A" (shape output) (at 76.2 69.85 180)
(effects (font (size 1.27 1.27)) (justify right))
(uuid b373c0b6-5ac8-4c0b-9fe5-fc92c6c8a4c9)
)
(hierarchical_label "Y" (shape output) (at 76.2 113.03 180)
(effects (font (size 1.27 1.27)) (justify right))
(uuid c7f6e454-cbd5-4f56-8a49-220898ab411a)
)
(symbol (lib_id "Switch:SW_SPST") (at 88.9 85.09 0) (unit 1)
(in_bom yes) (on_board yes)
(uuid 107dd4dd-b7c1-46d3-afaf-2eedd6261621)
(property "Reference" "SW3" (id 0) (at 88.9 79.121 0))
(property "Value" "B" (id 1) (at 88.9 81.4324 0))
(property "Footprint" "Buttons:12x12x7.3mm_Tactile_Switch" (id 2) (at 88.9 85.09 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 88.9 85.09 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid f92f0bcc-106b-47bb-962d-72c721448e5c))
(pin "2" (uuid 295f2263-8c78-4512-bb27-02b923f4527c))
)
(symbol (lib_id "Switch:SW_SPST") (at 88.9 113.03 0) (unit 1)
(in_bom yes) (on_board yes)
(uuid 14dc6f99-de3d-47b7-adc1-e7ca8f4bea59)
(property "Reference" "SW5" (id 0) (at 88.9 107.061 0))
(property "Value" "Y" (id 1) (at 88.9 109.3724 0))
(property "Footprint" "Buttons:12x12x7.3mm_Tactile_Switch" (id 2) (at 88.9 113.03 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 88.9 113.03 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 09e5fe8d-d5cc-4d53-9956-2211f8256157))
(pin "2" (uuid d0f73cc2-e2e6-4fca-90d6-6136ae11ce38))
)
(symbol (lib_id "Switch:SW_SPST") (at 88.9 69.85 0) (unit 1)
(in_bom yes) (on_board yes)
(uuid 1b04c081-adb9-4b69-91c1-c50e0e005454)
(property "Reference" "SW2" (id 0) (at 88.9 63.881 0))
(property "Value" "A" (id 1) (at 88.9 66.1924 0))
(property "Footprint" "Buttons:12x12x7.3mm_Tactile_Switch" (id 2) (at 88.9 69.85 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 88.9 69.85 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 1bb67ff1-e7a9-40b3-b983-ad20dd39502d))
(pin "2" (uuid 7b23f118-c952-4bd8-8ba8-0cb64b2381d0))
)
(symbol (lib_id "power:GND") (at 100.33 85.09 90) (unit 1)
(in_bom yes) (on_board yes)
(uuid 3bd2148e-a04b-48c0-b71c-1c1e57db1aa0)
(property "Reference" "#PWR015" (id 0) (at 106.68 85.09 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 103.5812 84.963 90)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Footprint" "" (id 2) (at 100.33 85.09 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 100.33 85.09 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 23a8b347-7fb2-48eb-8510-5d5144be2d63))
)
(symbol (lib_id "power:GND") (at 100.33 99.06 90) (unit 1)
(in_bom yes) (on_board yes)
(uuid 3ce96af4-57de-47d1-b6bb-5027667fb497)
(property "Reference" "#PWR016" (id 0) (at 106.68 99.06 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 103.5812 98.933 90)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Footprint" "" (id 2) (at 100.33 99.06 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 100.33 99.06 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid b3577511-9d70-4440-8386-b733b9936890))
)
(symbol (lib_id "Switch:SW_SPST") (at 88.9 99.06 0) (unit 1)
(in_bom yes) (on_board yes)
(uuid 4b73f88d-67b8-44df-83bd-eb3b90b08435)
(property "Reference" "SW4" (id 0) (at 88.9 93.091 0))
(property "Value" "X" (id 1) (at 88.9 95.4024 0))
(property "Footprint" "Buttons:12x12x7.3mm_Tactile_Switch" (id 2) (at 88.9 99.06 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 88.9 99.06 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 1bb59d39-402f-45ab-aaea-5e786958fb53))
(pin "2" (uuid 36ba05dc-8f20-4f16-9257-bcdbf1ee789e))
)
(symbol (lib_id "power:GND") (at 100.33 113.03 90) (unit 1)
(in_bom yes) (on_board yes)
(uuid e62209c6-3ffd-4606-bd28-eb6979f8babf)
(property "Reference" "#PWR017" (id 0) (at 106.68 113.03 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 103.5812 112.903 90)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Footprint" "" (id 2) (at 100.33 113.03 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 100.33 113.03 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 5028635a-b202-44e2-9c0f-41a8304ddf7e))
)
(symbol (lib_id "power:GND") (at 100.33 69.85 90) (unit 1)
(in_bom yes) (on_board yes)
(uuid fdc951c9-22df-482f-aa22-fa7c568fbf8e)
(property "Reference" "#PWR014" (id 0) (at 106.68 69.85 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 103.5812 69.723 90)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Footprint" "" (id 2) (at 100.33 69.85 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 100.33 69.85 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 24ee95fc-2e05-4f29-b218-b6caf41f2620))
)
)