source: avrstuff/kbd/pcw2hid/hardware/pcw2hid.net@ 5ba114e

main
Last change on this file since 5ba114e was 5ba114e, checked in by PulkoMandy <pulkomandy@…>, 12 months ago

pcw2hid: fix inverted DIN connector on PCB

The footprint pin numbers were mirrored AND the connector was facing the
wrong way on the PCB.

  • Property mode set to 100644
File size: 12.8 KB
Line 
1(export (version D)
2 (design
3 (source C:\Users\pulkomandy\Documents\GitHub\avrstuff\kbd\pcw2hid\hardware\pcw2hid.sch)
4 (date "28/05/2023 20:49:19")
5 (tool "Eeschema (5.1.10)-1")
6 (sheet (number 1) (name /) (tstamps /)
7 (title_block
8 (title "GrIP to HID")
9 (company PulkoTronics)
10 (rev)
11 (date 2021-09-26)
12 (source pcw2hid.sch)
13 (comment (number 1) (value "Adapter for 4 Gravis Gamepad Pro to USB"))
14 (comment (number 2) (value ""))
15 (comment (number 3) (value ""))
16 (comment (number 4) (value "")))))
17 (components
18 (comp (ref C5)
19 (value 220uF)
20 (footprint Capacitors_ThroughHole:CP_Radial_D5.0mm_P2.50mm)
21 (datasheet ~)
22 (libsource (lib Device) (part CP) (description "Polarized capacitor"))
23 (sheetpath (names /) (tstamps /))
24 (tstamp 6150853C))
25 (comp (ref C4)
26 (value C)
27 (footprint Capacitors_SMD:C_1206)
28 (datasheet ~)
29 (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
30 (sheetpath (names /) (tstamps /))
31 (tstamp 6150897A))
32 (comp (ref Y1)
33 (value 8MHz)
34 (footprint Crystals:Crystal_HC49-U_Vertical)
35 (datasheet ~)
36 (libsource (lib Device) (part Crystal) (description "Two pin crystal"))
37 (sheetpath (names /) (tstamps /))
38 (tstamp 61525319))
39 (comp (ref C1)
40 (value 22pF)
41 (footprint Capacitors_SMD:C_0805)
42 (datasheet ~)
43 (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
44 (sheetpath (names /) (tstamps /))
45 (tstamp 615261A0))
46 (comp (ref C2)
47 (value 22pF)
48 (footprint Capacitors_SMD:C_0805)
49 (datasheet ~)
50 (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
51 (sheetpath (names /) (tstamps /))
52 (tstamp 6152684B))
53 (comp (ref C3)
54 (value 1uF)
55 (footprint Capacitors_SMD:C_1206)
56 (datasheet ~)
57 (libsource (lib Device) (part C) (description "Unpolarized capacitor"))
58 (sheetpath (names /) (tstamps /))
59 (tstamp 6152AB4D))
60 (comp (ref R1)
61 (value 22R)
62 (footprint Resistors_SMD:R_0805)
63 (datasheet ~)
64 (libsource (lib Device) (part R) (description Resistor))
65 (sheetpath (names /) (tstamps /))
66 (tstamp 6152EAE0))
67 (comp (ref R2)
68 (value 22R)
69 (footprint Resistors_SMD:R_0805)
70 (datasheet ~)
71 (libsource (lib Device) (part R) (description Resistor))
72 (sheetpath (names /) (tstamps /))
73 (tstamp 6152F444))
74 (comp (ref J1)
75 (value USB_B)
76 (footprint Connect:USB_B)
77 (datasheet " ~")
78 (libsource (lib Connector) (part USB_B) (description "USB Type B connector"))
79 (sheetpath (names /) (tstamps /))
80 (tstamp 61509B74))
81 (comp (ref U1)
82 (value AT90USB162-16AU)
83 (footprint Housings_QFP:TQFP-32_7x7mm_Pitch0.8mm)
84 (datasheet http://ww1.microchip.com/downloads/en/DeviceDoc/doc7707.pdf)
85 (libsource (lib MCU_Microchip_AVR) (part AT90USB162-16AU) (description "16MHz, 16kB Flash, 512B SRAM, 512B EEPROM, USB 2.0, TQFP-32"))
86 (sheetpath (names /) (tstamps /))
87 (tstamp 61520143))
88 (comp (ref J2)
89 (value AVR-ISP-6)
90 (footprint Pin_Headers:Pin_Header_Straight_2x03_Pitch2.54mm)
91 (datasheet " ~")
92 (libsource (lib Connector) (part AVR-ISP-6) (description "Atmel 6-pin ISP connector"))
93 (sheetpath (names /) (tstamps /))
94 (tstamp 61798F10))
95 (comp (ref J4)
96 (value DIN-4)
97 (footprint footprints:TCS4440-01-1011)
98 (datasheet http://www.mouser.com/ds/2/18/40_c091_abd_e-75918.pdf)
99 (libsource (lib Connector) (part DIN-4) (description "4-pin DIN connector"))
100 (sheetpath (names /) (tstamps /))
101 (tstamp 63E156C6))
102 (comp (ref J3)
103 (value Conn_01x04_Male)
104 (footprint Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mm)
105 (datasheet ~)
106 (libsource (lib Connector) (part Conn_01x04_Male) (description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)"))
107 (sheetpath (names /) (tstamps /))
108 (tstamp 63E18D5F)))
109 (libparts
110 (libpart (lib Connector) (part AVR-ISP-6)
111 (description "Atmel 6-pin ISP connector")
112 (docs " ~")
113 (footprints
114 (fp IDC?Header*2x03*)
115 (fp Pin?Header*2x03*))
116 (fields
117 (field (name Reference) J)
118 (field (name Value) AVR-ISP-6))
119 (pins
120 (pin (num 1) (name MISO) (type passive))
121 (pin (num 2) (name VCC) (type passive))
122 (pin (num 3) (name SCK) (type passive))
123 (pin (num 4) (name MOSI) (type passive))
124 (pin (num 5) (name ~RST) (type passive))
125 (pin (num 6) (name GND) (type passive))))
126 (libpart (lib Connector) (part Conn_01x04_Male)
127 (description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)")
128 (docs ~)
129 (footprints
130 (fp Connector*:*_1x??_*))
131 (fields
132 (field (name Reference) J)
133 (field (name Value) Conn_01x04_Male))
134 (pins
135 (pin (num 1) (name Pin_1) (type passive))
136 (pin (num 2) (name Pin_2) (type passive))
137 (pin (num 3) (name Pin_3) (type passive))
138 (pin (num 4) (name Pin_4) (type passive))))
139 (libpart (lib Connector) (part DIN-4)
140 (description "4-pin DIN connector")
141 (docs http://www.mouser.com/ds/2/18/40_c091_abd_e-75918.pdf)
142 (footprints
143 (fp DIN*))
144 (fields
145 (field (name Reference) J)
146 (field (name Value) DIN-4))
147 (pins
148 (pin (num 1) (name ~) (type passive))
149 (pin (num 2) (name ~) (type passive))
150 (pin (num 3) (name ~) (type passive))
151 (pin (num 4) (name ~) (type passive))))
152 (libpart (lib Connector) (part USB_B)
153 (description "USB Type B connector")
154 (docs " ~")
155 (footprints
156 (fp USB*))
157 (fields
158 (field (name Reference) J)
159 (field (name Value) USB_B))
160 (pins
161 (pin (num 1) (name VBUS) (type power_out))
162 (pin (num 2) (name D-) (type BiDi))
163 (pin (num 3) (name D+) (type BiDi))
164 (pin (num 4) (name GND) (type power_out))
165 (pin (num 5) (name Shield) (type passive))))
166 (libpart (lib Device) (part C)
167 (description "Unpolarized capacitor")
168 (docs ~)
169 (footprints
170 (fp C_*))
171 (fields
172 (field (name Reference) C)
173 (field (name Value) C))
174 (pins
175 (pin (num 1) (name ~) (type passive))
176 (pin (num 2) (name ~) (type passive))))
177 (libpart (lib Device) (part CP)
178 (description "Polarized capacitor")
179 (docs ~)
180 (footprints
181 (fp CP_*))
182 (fields
183 (field (name Reference) C)
184 (field (name Value) CP))
185 (pins
186 (pin (num 1) (name ~) (type passive))
187 (pin (num 2) (name ~) (type passive))))
188 (libpart (lib Device) (part Crystal)
189 (description "Two pin crystal")
190 (docs ~)
191 (footprints
192 (fp Crystal*))
193 (fields
194 (field (name Reference) Y)
195 (field (name Value) Crystal))
196 (pins
197 (pin (num 1) (name 1) (type passive))
198 (pin (num 2) (name 2) (type passive))))
199 (libpart (lib Device) (part R)
200 (description Resistor)
201 (docs ~)
202 (footprints
203 (fp R_*))
204 (fields
205 (field (name Reference) R)
206 (field (name Value) R))
207 (pins
208 (pin (num 1) (name ~) (type passive))
209 (pin (num 2) (name ~) (type passive))))
210 (libpart (lib MCU_Microchip_AVR) (part AT90USB162-16AU)
211 (description "16MHz, 16kB Flash, 512B SRAM, 512B EEPROM, USB 2.0, TQFP-32")
212 (docs http://ww1.microchip.com/downloads/en/DeviceDoc/doc7707.pdf)
213 (footprints
214 (fp TQFP*7x7mm*P0.8mm*))
215 (fields
216 (field (name Reference) U)
217 (field (name Value) AT90USB162-16AU)
218 (field (name Footprint) Package_QFP:TQFP-32_7x7mm_P0.8mm))
219 (pins
220 (pin (num 1) (name XTAL1) (type input))
221 (pin (num 2) (name PC0/XTAL2) (type BiDi))
222 (pin (num 3) (name GND) (type power_in))
223 (pin (num 4) (name VCC) (type power_in))
224 (pin (num 5) (name PC2) (type BiDi))
225 (pin (num 6) (name PD0) (type BiDi))
226 (pin (num 7) (name PD1) (type BiDi))
227 (pin (num 8) (name PD2) (type BiDi))
228 (pin (num 9) (name PD3) (type BiDi))
229 (pin (num 10) (name PD4) (type BiDi))
230 (pin (num 11) (name PD5) (type BiDi))
231 (pin (num 12) (name PD6) (type BiDi))
232 (pin (num 13) (name ~HWB~/PD7) (type BiDi))
233 (pin (num 14) (name PB0) (type BiDi))
234 (pin (num 15) (name PB1) (type BiDi))
235 (pin (num 16) (name PB2) (type BiDi))
236 (pin (num 17) (name PB3) (type BiDi))
237 (pin (num 18) (name PB4) (type BiDi))
238 (pin (num 19) (name PB5) (type BiDi))
239 (pin (num 20) (name PB6) (type BiDi))
240 (pin (num 21) (name PB7) (type BiDi))
241 (pin (num 22) (name PC7) (type BiDi))
242 (pin (num 23) (name PC6) (type BiDi))
243 (pin (num 24) (name PC1/~RESET) (type BiDi))
244 (pin (num 25) (name PC5) (type BiDi))
245 (pin (num 26) (name PC4) (type BiDi))
246 (pin (num 27) (name UCAP) (type passive))
247 (pin (num 28) (name UGND) (type power_in))
248 (pin (num 29) (name D+) (type BiDi))
249 (pin (num 30) (name D-) (type BiDi))
250 (pin (num 31) (name UVCC) (type power_in))
251 (pin (num 32) (name AVCC) (type power_in)))))
252 (libraries
253 (library (logical Connector)
254 (uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Connector.lib"))
255 (library (logical Device)
256 (uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Device.lib"))
257 (library (logical MCU_Microchip_AVR)
258 (uri "C:\\Program Files\\KiCad\\share\\kicad\\library/MCU_Microchip_AVR.lib")))
259 (nets
260 (net (code 1) (name "Net-(U1-Pad22)")
261 (node (ref U1) (pin 22)))
262 (net (code 2) (name "Net-(U1-Pad23)")
263 (node (ref U1) (pin 23)))
264 (net (code 3) (name "Net-(U1-Pad25)")
265 (node (ref U1) (pin 25)))
266 (net (code 4) (name "Net-(U1-Pad26)")
267 (node (ref U1) (pin 26)))
268 (net (code 5) (name "Net-(C3-Pad2)")
269 (node (ref U1) (pin 27))
270 (node (ref C3) (pin 2)))
271 (net (code 6) (name "Net-(U1-Pad21)")
272 (node (ref U1) (pin 21)))
273 (net (code 7) (name "Net-(U1-Pad5)")
274 (node (ref U1) (pin 5)))
275 (net (code 8) (name "Net-(U1-Pad8)")
276 (node (ref U1) (pin 8)))
277 (net (code 9) (name "Net-(U1-Pad9)")
278 (node (ref U1) (pin 9)))
279 (net (code 10) (name "Net-(U1-Pad13)")
280 (node (ref U1) (pin 13)))
281 (net (code 11) (name "Net-(J1-Pad2)")
282 (node (ref J1) (pin 2))
283 (node (ref R2) (pin 2)))
284 (net (code 12) (name "Net-(J1-Pad3)")
285 (node (ref R1) (pin 2))
286 (node (ref J1) (pin 3)))
287 (net (code 13) (name "Net-(U1-Pad10)")
288 (node (ref U1) (pin 10)))
289 (net (code 14) (name "Net-(U1-Pad11)")
290 (node (ref U1) (pin 11)))
291 (net (code 15) (name "Net-(U1-Pad12)")
292 (node (ref U1) (pin 12)))
293 (net (code 16) (name /MISO)
294 (node (ref U1) (pin 17))
295 (node (ref J2) (pin 1)))
296 (net (code 17) (name "Net-(U1-Pad14)")
297 (node (ref U1) (pin 14)))
298 (net (code 18) (name "Net-(U1-Pad18)")
299 (node (ref U1) (pin 18)))
300 (net (code 19) (name "Net-(U1-Pad19)")
301 (node (ref U1) (pin 19)))
302 (net (code 20) (name "Net-(C2-Pad1)")
303 (node (ref U1) (pin 2))
304 (node (ref C2) (pin 1))
305 (node (ref Y1) (pin 2)))
306 (net (code 21) (name "Net-(U1-Pad20)")
307 (node (ref U1) (pin 20)))
308 (net (code 22) (name VCC)
309 (node (ref C5) (pin 1))
310 (node (ref J2) (pin 2))
311 (node (ref C4) (pin 1))
312 (node (ref J4) (pin 4))
313 (node (ref J1) (pin 1))
314 (node (ref J3) (pin 2))
315 (node (ref U1) (pin 4))
316 (node (ref U1) (pin 32))
317 (node (ref U1) (pin 31)))
318 (net (code 23) (name /PCWK_DATA)
319 (node (ref U1) (pin 7))
320 (node (ref J4) (pin 3))
321 (node (ref J3) (pin 3)))
322 (net (code 24) (name /PCWK_CLK)
323 (node (ref J3) (pin 4))
324 (node (ref U1) (pin 6))
325 (node (ref J4) (pin 2)))
326 (net (code 25) (name GND)
327 (node (ref J1) (pin 5))
328 (node (ref J3) (pin 1))
329 (node (ref J1) (pin 4))
330 (node (ref C1) (pin 2))
331 (node (ref C2) (pin 2))
332 (node (ref U1) (pin 3))
333 (node (ref U1) (pin 28))
334 (node (ref C3) (pin 1))
335 (node (ref J2) (pin 6))
336 (node (ref J4) (pin 1))
337 (node (ref C5) (pin 2))
338 (node (ref C4) (pin 2)))
339 (net (code 26) (name /SCK)
340 (node (ref U1) (pin 15))
341 (node (ref J2) (pin 3)))
342 (net (code 27) (name /MOSI)
343 (node (ref J2) (pin 4))
344 (node (ref U1) (pin 16)))
345 (net (code 28) (name /RST)
346 (node (ref J2) (pin 5))
347 (node (ref U1) (pin 24)))
348 (net (code 29) (name "Net-(C1-Pad1)")
349 (node (ref Y1) (pin 1))
350 (node (ref U1) (pin 1))
351 (node (ref C1) (pin 1)))
352 (net (code 30) (name "Net-(R2-Pad1)")
353 (node (ref U1) (pin 30))
354 (node (ref R2) (pin 1)))
355 (net (code 31) (name "Net-(R1-Pad1)")
356 (node (ref U1) (pin 29))
357 (node (ref R1) (pin 1)))))
Note: See TracBrowser for help on using the repository browser.