KiCad/JoystickAdapter/JoystickAdapter.sch

725 lines
15 KiB
Text
Raw Normal View History

2018-06-13 21:20:57 +02:00
EESchema Schematic File Version 2
LIBS:power
LIBS:device
LIBS:switches
LIBS:relays
LIBS:motors
LIBS:transistors
LIBS:conn
LIBS:linear
LIBS:regul
LIBS:74xx
LIBS:cmos4000
LIBS:adc-dac
LIBS:memory
LIBS:xilinx
LIBS:microcontrollers
LIBS:dsp
LIBS:microchip
LIBS:analog_switches
LIBS:motorola
LIBS:texas
LIBS:intel
LIBS:audio
LIBS:interface
LIBS:digital-audio
LIBS:philips
LIBS:display
LIBS:cypress
LIBS:siliconi
LIBS:opto
LIBS:atmel
LIBS:contrib
LIBS:valves
LIBS:JoystickAdapter-cache
EELAYER 25 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L USB_B J3
U 1 1 5AEDB8F6
P 900 1150
F 0 "J3" H 700 1600 50 0000 L CNN
F 1 "USB_B" H 700 1500 50 0000 L CNN
F 2 "JoystickAdapter:USB_B_SMT" H 1050 1100 50 0001 C CNN
F 3 "" H 1050 1100 50 0001 C CNN
1 900 1150
1 0 0 -1
$EndComp
$Comp
L Polyfuse F1
U 1 1 5AEDB9B7
P 1450 950
F 0 "F1" V 1350 950 50 0000 C CNN
F 1 "Polyfuse" V 1550 950 50 0000 C CNN
F 2 "Pin_Headers:Pin_Header_Straight_1x03_Pitch2.54mm" H 1500 750 50 0001 L CNN
F 3 "" H 1450 950 50 0001 C CNN
1 1450 950
0 1 1 0
$EndComp
$Comp
L GND #PWR01
U 1 1 5AEDB9EA
P 900 1750
F 0 "#PWR01" H 900 1500 50 0001 C CNN
F 1 "GND" H 900 1600 50 0000 C CNN
F 2 "" H 900 1750 50 0001 C CNN
F 3 "" H 900 1750 50 0001 C CNN
1 900 1750
1 0 0 -1
$EndComp
$Comp
L VCC #PWR02
U 1 1 5AEDBA02
P 1900 850
F 0 "#PWR02" H 1900 700 50 0001 C CNN
F 1 "VCC" H 1900 1000 50 0000 C CNN
F 2 "" H 1900 850 50 0001 C CNN
F 3 "" H 1900 850 50 0001 C CNN
1 1900 850
1 0 0 -1
$EndComp
Wire Wire Line
1200 950 1300 950
Wire Wire Line
800 1550 800 1650
Wire Wire Line
800 1650 900 1650
Wire Wire Line
900 1550 900 1750
Connection ~ 900 1650
Text GLabel 1300 1150 2 47 Input ~ 0
D+_RAW
Text GLabel 1300 1250 2 47 Input ~ 0
D-_RAW
Wire Wire Line
1200 1150 1300 1150
Wire Wire Line
1300 1250 1200 1250
$Comp
L DB9_Male_MountingHoles J1
U 1 1 5AEDBBE7
P 9100 1250
F 0 "J1" H 9100 1900 50 0000 C CNN
F 1 "Joystick1" H 9100 1825 50 0000 C CNN
F 2 "Connectors_DSub:DSUB-9_Male_Horizontal_Pitch2.77x2.84mm_EdgePinOffset7.70mm_Housed_MountingHolesOffset9.12mm" H 9100 1250 50 0001 C CNN
F 3 "" H 9100 1250 50 0001 C CNN
1 9100 1250
1 0 0 -1
$EndComp
$Comp
L GND #PWR03
U 1 1 5AEDBE07
P 8650 2050
F 0 "#PWR03" H 8650 1800 50 0001 C CNN
F 1 "GND" H 8650 1900 50 0000 C CNN
F 2 "" H 8650 2050 50 0001 C CNN
F 3 "" H 8650 2050 50 0001 C CNN
1 8650 2050
1 0 0 -1
$EndComp
Text GLabel 8700 950 0 47 Input ~ 0
J1_B2
NoConn ~ 8800 850
Text GLabel 8700 1550 0 47 Input ~ 0
J1_B1
Text GLabel 8700 1450 0 47 Input ~ 0
J1_D
Text GLabel 8700 1650 0 47 Input ~ 0
J1_U
Text GLabel 8700 1050 0 47 Input ~ 0
J1_R
Text GLabel 8700 1250 0 47 Input ~ 0
J1_L
Wire Wire Line
8800 950 8700 950
Wire Wire Line
8700 1050 8800 1050
Wire Wire Line
8800 1250 8700 1250
Wire Wire Line
8800 1450 8700 1450
Wire Wire Line
8800 1550 8700 1550
Wire Wire Line
8800 1650 8700 1650
$Comp
L VCC #PWR04
U 1 1 5AEDC1D1
P 8400 1350
F 0 "#PWR04" H 8400 1200 50 0001 C CNN
F 1 "VCC" H 8400 1500 50 0000 C CNN
F 2 "" H 8400 1350 50 0001 C CNN
F 3 "" H 8400 1350 50 0001 C CNN
1 8400 1350
1 0 0 -1
$EndComp
Wire Wire Line
8800 1350 8400 1350
Wire Wire Line
8800 1150 8300 1150
Wire Wire Line
8300 1150 8300 1950
Wire Wire Line
8300 1950 9100 1950
Wire Wire Line
9100 1950 9100 1850
Wire Wire Line
8650 2050 8650 1950
Connection ~ 8650 1950
$Comp
L DB9_Male_MountingHoles J2
U 1 1 5AEDC371
P 10650 1250
F 0 "J2" H 10650 1900 50 0000 C CNN
F 1 "Joystick2" H 10650 1825 50 0000 C CNN
F 2 "Connectors_DSub:DSUB-9_Male_Horizontal_Pitch2.77x2.84mm_EdgePinOffset7.70mm_Housed_MountingHolesOffset9.12mm" H 10650 1250 50 0001 C CNN
F 3 "" H 10650 1250 50 0001 C CNN
1 10650 1250
1 0 0 -1
$EndComp
$Comp
L GND #PWR05
U 1 1 5AEDC377
P 10200 2050
F 0 "#PWR05" H 10200 1800 50 0001 C CNN
F 1 "GND" H 10200 1900 50 0000 C CNN
F 2 "" H 10200 2050 50 0001 C CNN
F 3 "" H 10200 2050 50 0001 C CNN
1 10200 2050
1 0 0 -1
$EndComp
Text GLabel 10250 950 0 47 Input ~ 0
J2_B2
NoConn ~ 10350 850
Text GLabel 10250 1550 0 47 Input ~ 0
J2_B1
Text GLabel 10250 1450 0 47 Input ~ 0
J2_D
Text GLabel 10250 1650 0 47 Input ~ 0
J2_U
Text GLabel 10250 1050 0 47 Input ~ 0
J2_R
Text GLabel 10250 1250 0 47 Input ~ 0
J2_L
Wire Wire Line
10350 950 10250 950
Wire Wire Line
10250 1050 10350 1050
Wire Wire Line
10350 1250 10250 1250
Wire Wire Line
10350 1450 10250 1450
Wire Wire Line
10350 1550 10250 1550
Wire Wire Line
10350 1650 10250 1650
$Comp
L VCC #PWR06
U 1 1 5AEDC38A
P 9950 1350
F 0 "#PWR06" H 9950 1200 50 0001 C CNN
F 1 "VCC" H 9950 1500 50 0000 C CNN
F 2 "" H 9950 1350 50 0001 C CNN
F 3 "" H 9950 1350 50 0001 C CNN
1 9950 1350
1 0 0 -1
$EndComp
Wire Wire Line
10350 1350 9950 1350
Wire Wire Line
10350 1150 9850 1150
Wire Wire Line
9850 1150 9850 1950
Wire Wire Line
9850 1950 10650 1950
Wire Wire Line
10650 1950 10650 1850
Wire Wire Line
10200 2050 10200 1950
Connection ~ 10200 1950
$Comp
L ATTINY2313-20SU U1
U 1 1 5AEDCB4C
P 4650 4200
F 0 "U1" H 3700 5200 50 0000 C CNN
F 1 "ATTINY2313-20SU" H 5400 3300 50 0000 C CNN
F 2 "Housings_SOIC:SOIC-20W_7.5x12.8mm_Pitch1.27mm" H 4650 4200 50 0001 C CIN
F 3 "" H 4650 4200 50 0001 C CNN
1 4650 4200
1 0 0 -1
$EndComp
$Comp
L VCC #PWR07
U 1 1 5AEDCCC0
P 4650 2600
F 0 "#PWR07" H 4650 2450 50 0001 C CNN
F 1 "VCC" H 4650 2750 50 0000 C CNN
F 2 "" H 4650 2600 50 0001 C CNN
F 3 "" H 4650 2600 50 0001 C CNN
1 4650 2600
1 0 0 -1
$EndComp
$Comp
L GND #PWR08
U 1 1 5AEDCD10
P 4650 5300
F 0 "#PWR08" H 4650 5050 50 0001 C CNN
F 1 "GND" H 4650 5150 50 0000 C CNN
F 2 "" H 4650 5300 50 0001 C CNN
F 3 "" H 4650 5300 50 0001 C CNN
1 4650 5300
1 0 0 -1
$EndComp
Wire Wire Line
4650 5300 4650 5200
Wire Wire Line
4650 2600 4650 3100
$Comp
L Resonator_Small Y1
U 1 1 5AEDD0E8
P 3300 3800
F 0 "Y1" V 3150 3600 50 0000 L CNN
F 1 "CSTCE 12" V 3500 3650 50 0000 L CNN
F 2 "Resonator_SMD_muRata_CSTCC-3pin_3.2x1:Resonator_SMD_muRata_CSTCC-3pin_3.2x1.3mm_HandSoldering" H 3275 3800 50 0001 C CNN
F 3 "" H 3275 3800 50 0001 C CNN
1 3300 3800
0 1 1 0
$EndComp
Wire Wire Line
3500 3900 3400 3900
Wire Wire Line
3400 3700 3500 3700
$Comp
L GND #PWR09
U 1 1 5AEDD4AC
P 3000 3900
F 0 "#PWR09" H 3000 3650 50 0001 C CNN
F 1 "GND" H 3000 3750 50 0000 C CNN
F 2 "" H 3000 3900 50 0001 C CNN
F 3 "" H 3000 3900 50 0001 C CNN
1 3000 3900
1 0 0 -1
$EndComp
Wire Wire Line
3100 3800 3000 3800
Wire Wire Line
3000 3800 3000 3900
$Comp
L R R4
U 1 1 5AEDD66A
P 3400 3150
F 0 "R4" V 3480 3150 50 0000 C CNN
F 1 "10k" V 3400 3150 50 0000 C CNN
F 2 "Resistors_SMD:R_0603_HandSoldering" V 3330 3150 50 0001 C CNN
F 3 "" H 3400 3150 50 0001 C CNN
1 3400 3150
1 0 0 -1
$EndComp
Wire Wire Line
3100 3400 3500 3400
Wire Wire Line
3400 3400 3400 3300
$Comp
L VCC #PWR010
U 1 1 5AEDD71B
P 3400 2900
F 0 "#PWR010" H 3400 2750 50 0001 C CNN
F 1 "VCC" H 3400 3050 50 0000 C CNN
F 2 "" H 3400 2900 50 0001 C CNN
F 3 "" H 3400 2900 50 0001 C CNN
1 3400 2900
1 0 0 -1
$EndComp
Wire Wire Line
3400 2900 3400 3000
Text GLabel 3100 3400 0 47 Input ~ 0
Reset
Connection ~ 3400 3400
$Comp
L C C2
U 1 1 5AEDDA27
P 3200 3150
F 0 "C2" H 3225 3250 50 0000 L CNN
F 1 "100n" H 3200 3150 39 0000 C CNN
F 2 "Capacitors_SMD:C_0805_HandSoldering" H 3238 3000 50 0001 C CNN
F 3 "" H 3200 3150 50 0001 C CNN
1 3200 3150
1 0 0 -1
$EndComp
Wire Wire Line
3200 3400 3200 3300
Connection ~ 3200 3400
$Comp
L GND #PWR011
U 1 1 5AEDDBA9
P 3100 2900
F 0 "#PWR011" H 3100 2650 50 0001 C CNN
F 1 "GND" H 3000 2900 50 0000 C CNN
F 2 "" H 3100 2900 50 0001 C CNN
F 3 "" H 3100 2900 50 0001 C CNN
1 3100 2900
1 0 0 -1
$EndComp
Wire Wire Line
3200 3000 3200 2800
Wire Wire Line
3200 2800 3100 2800
Wire Wire Line
3100 2800 3100 2900
$Comp
L C C3
U 1 1 5AEDDF9A
P 4450 2950
F 0 "C3" H 4475 3050 50 0000 L CNN
F 1 "100n" H 4450 2950 39 0000 C CNN
F 2 "Capacitors_SMD:C_0805_HandSoldering" H 4488 2800 50 0001 C CNN
F 3 "" H 4450 2950 50 0001 C CNN
1 4450 2950
1 0 0 -1
$EndComp
$Comp
L GND #PWR012
U 1 1 5AEDE011
P 4450 3100
F 0 "#PWR012" H 4450 2850 50 0001 C CNN
F 1 "GND" H 4350 3000 50 0000 C CNN
F 2 "" H 4450 3100 50 0001 C CNN
F 3 "" H 4450 3100 50 0001 C CNN
1 4450 3100
1 0 0 -1
$EndComp
Wire Wire Line
4450 2800 4450 2700
Wire Wire Line
4450 2700 4650 2700
Connection ~ 4650 2700
$Comp
L CP C1
U 1 1 5AEDE5E6
P 1800 1200
F 0 "C1" H 1825 1300 50 0000 L CNN
F 1 "10u" H 1825 1100 50 0000 L CNN
F 2 "Capacitors_Tantalum_SMD:CP_Tantalum_Case-A_EIA-3216-18_Hand" H 1838 1050 50 0001 C CNN
F 3 "" H 1800 1200 50 0001 C CNN
1 1800 1200
1 0 0 -1
$EndComp
Wire Wire Line
1600 950 1900 950
Wire Wire Line
1900 950 1900 850
Wire Wire Line
1800 950 1800 1050
Connection ~ 1800 950
$Comp
L GND #PWR013
U 1 1 5AEDE858
P 1800 1450
F 0 "#PWR013" H 1800 1200 50 0001 C CNN
F 1 "GND" H 1800 1300 50 0000 C CNN
F 2 "" H 1800 1450 50 0001 C CNN
F 3 "" H 1800 1450 50 0001 C CNN
1 1800 1450
1 0 0 -1
$EndComp
Wire Wire Line
1800 1450 1800 1350
$Comp
L D_Zener D1
U 1 1 5AEDEC09
P 2800 1500
F 0 "D1" H 2800 1600 50 0000 C CNN
F 1 "D_Zener" H 2800 1400 50 0000 C CNN
F 2 "Diodes_SMD:D_MiniMELF" H 2800 1500 50 0001 C CNN
F 3 "" H 2800 1500 50 0001 C CNN
1 2800 1500
0 1 1 0
$EndComp
Text GLabel 2700 1250 0 47 Input ~ 0
D+_RAW
$Comp
L GND #PWR014
U 1 1 5AEDEE0A
P 2800 1750
F 0 "#PWR014" H 2800 1500 50 0001 C CNN
F 1 "GND" H 2800 1600 50 0000 C CNN
F 2 "" H 2800 1750 50 0001 C CNN
F 3 "" H 2800 1750 50 0001 C CNN
1 2800 1750
1 0 0 -1
$EndComp
Wire Wire Line
2800 1750 2800 1650
Wire Wire Line
2700 1250 2900 1250
Wire Wire Line
2800 1250 2800 1350
$Comp
L R R1
U 1 1 5AEDEF32
P 3050 1250
F 0 "R1" V 3130 1250 50 0000 C CNN
F 1 "68" V 3050 1250 50 0000 C CNN
F 2 "Resistors_SMD:R_0603_HandSoldering" V 2980 1250 50 0001 C CNN
F 3 "" H 3050 1250 50 0001 C CNN
1 3050 1250
0 1 1 0
$EndComp
Connection ~ 2800 1250
Text GLabel 3300 1250 2 47 Input ~ 0
D+
Wire Wire Line
3200 1250 3300 1250
$Comp
L D_Zener D2
U 1 1 5AEDF485
P 4150 1500
F 0 "D2" H 4150 1600 50 0000 C CNN
F 1 "D_Zener" H 4150 1400 50 0000 C CNN
F 2 "Diodes_SMD:D_MiniMELF" H 4150 1500 50 0001 C CNN
F 3 "" H 4150 1500 50 0001 C CNN
1 4150 1500
0 1 1 0
$EndComp
Text GLabel 4050 1250 0 47 Input ~ 0
D-_RAW
$Comp
L GND #PWR015
U 1 1 5AEDF48C
P 4150 1750
F 0 "#PWR015" H 4150 1500 50 0001 C CNN
F 1 "GND" H 4150 1600 50 0000 C CNN
F 2 "" H 4150 1750 50 0001 C CNN
F 3 "" H 4150 1750 50 0001 C CNN
1 4150 1750
1 0 0 -1
$EndComp
Wire Wire Line
4150 1750 4150 1650
Wire Wire Line
4050 1250 4250 1250
Wire Wire Line
4150 1250 4150 1350
$Comp
L R R2
U 1 1 5AEDF495
P 4400 1250
F 0 "R2" V 4480 1250 50 0000 C CNN
F 1 "68" V 4400 1250 50 0000 C CNN
F 2 "Resistors_SMD:R_0603_HandSoldering" V 4330 1250 50 0001 C CNN
F 3 "" H 4400 1250 50 0001 C CNN
1 4400 1250
0 1 1 0
$EndComp
Connection ~ 4150 1250
Wire Wire Line
4550 1250 4750 1250
$Comp
L R R3
U 1 1 5AEDF9DE
P 4650 1000
F 0 "R3" V 4730 1000 50 0000 C CNN
F 1 "1k5" V 4650 1000 50 0000 C CNN
F 2 "Resistors_SMD:R_0603_HandSoldering" V 4580 1000 50 0001 C CNN
F 3 "" H 4650 1000 50 0001 C CNN
1 4650 1000
1 0 0 -1
$EndComp
Text GLabel 4750 1250 2 47 Input ~ 0
D-
Wire Wire Line
4650 1250 4650 1150
Connection ~ 4650 1250
$Comp
L VCC #PWR016
U 1 1 5AEDFC93
P 4650 750
F 0 "#PWR016" H 4650 600 50 0001 C CNN
F 1 "VCC" H 4650 900 50 0000 C CNN
F 2 "" H 4650 750 50 0001 C CNN
F 3 "" H 4650 750 50 0001 C CNN
1 4650 750
1 0 0 -1
$EndComp
Wire Wire Line
4650 850 4650 750
$Comp
L Conn_02x05_Odd_Even J4
U 1 1 5AEDFF07
P 6550 1200
F 0 "J4" H 6600 1500 50 0000 C CNN
F 1 "ICSP" H 6600 900 50 0000 C CNN
F 2 "Pin_Headers:Pin_Header_Angled_2x05_Pitch2.54mm" H 6550 1200 50 0001 C CNN
F 3 "" H 6550 1200 50 0001 C CNN
1 6550 1200
1 0 0 -1
$EndComp
Text GLabel 6250 1000 0 47 Input ~ 0
MOSI
$Comp
L VCC #PWR017
U 1 1 5AEE0111
P 6950 900
F 0 "#PWR017" H 6950 750 50 0001 C CNN
F 1 "VCC" H 6950 1050 50 0000 C CNN
F 2 "" H 6950 900 50 0001 C CNN
F 3 "" H 6950 900 50 0001 C CNN
1 6950 900
1 0 0 -1
$EndComp
NoConn ~ 6350 1100
$Comp
L GND #PWR018
U 1 1 5AEE0159
P 6950 1500
F 0 "#PWR018" H 6950 1250 50 0001 C CNN
F 1 "GND" H 6950 1350 50 0000 C CNN
F 2 "" H 6950 1500 50 0001 C CNN
F 3 "" H 6950 1500 50 0001 C CNN
1 6950 1500
1 0 0 -1
$EndComp
Wire Wire Line
6850 1100 6950 1100
Wire Wire Line
6950 1100 6950 1500
Wire Wire Line
6850 1400 6950 1400
Connection ~ 6950 1400
Wire Wire Line
6950 1300 6850 1300
Connection ~ 6950 1300
Wire Wire Line
6850 1200 6950 1200
Connection ~ 6950 1200
Wire Wire Line
6950 900 6950 1000
Wire Wire Line
6950 1000 6850 1000
Text GLabel 6250 1200 0 47 Input ~ 0
Reset
Text GLabel 6250 1300 0 47 Input ~ 0
SCK
Text GLabel 6250 1400 0 47 Input ~ 0
MISO
Wire Wire Line
6250 1000 6350 1000
Wire Wire Line
6350 1200 6250 1200
Wire Wire Line
6250 1300 6350 1300
Wire Wire Line
6350 1400 6250 1400
Text GLabel 5900 3400 2 47 Input ~ 0
D-
Text GLabel 5900 3500 2 47 Input ~ 0
D+
Text GLabel 5900 4500 2 47 Input ~ 0
D+
Text GLabel 5900 3600 2 47 Input ~ 0
J1_L
Text GLabel 5900 3700 2 47 Input ~ 0
J1_R
Text GLabel 5900 3800 2 47 Input ~ 0
J1_U
Text GLabel 6400 3800 2 47 Input ~ 0
J1_D
Text GLabel 6400 4000 2 47 Input ~ 0
J1_B1
Text GLabel 6000 4100 2 47 Input ~ 0
J1_B2
Wire Wire Line
5800 3800 5900 3800
Wire Wire Line
5900 3700 5800 3700
Wire Wire Line
5800 3600 5900 3600
Wire Wire Line
5900 3500 5800 3500
Wire Wire Line
5800 3400 5900 3400
Text GLabel 6400 3900 2 47 Input ~ 0
MOSI
Wire Wire Line
6400 3800 6300 3800
Text GLabel 6400 4100 2 47 Input ~ 0
MISO
Wire Wire Line
5800 4000 6400 4000
Wire Wire Line
6400 4100 6300 4100
Wire Wire Line
6300 4100 6300 4000
Connection ~ 6300 4000
Wire Wire Line
6400 3900 5800 3900
Wire Wire Line
6300 3800 6300 3900
Connection ~ 6300 3900
Text GLabel 6000 4200 2 47 Input ~ 0
SCK
Wire Wire Line
5800 4100 6000 4100
Wire Wire Line
6000 4200 5900 4200
Wire Wire Line
5900 4200 5900 4100
Connection ~ 5900 4100
Wire Wire Line
5900 4500 5800 4500
Text GLabel 5900 4300 2 47 Input ~ 0
J2_B1
Text GLabel 5900 4400 2 47 Input ~ 0
J2_B2
Text GLabel 5900 4600 2 47 Input ~ 0
J2_L
Text GLabel 5900 4700 2 47 Input ~ 0
J2_R
Text GLabel 5900 4800 2 47 Input ~ 0
J2_U
Text GLabel 5900 4900 2 47 Input ~ 0
J2_D
Wire Wire Line
5900 4300 5800 4300
Wire Wire Line
5800 4400 5900 4400
Wire Wire Line
5900 4600 5800 4600
Wire Wire Line
5800 4700 5900 4700
Wire Wire Line
5900 4800 5800 4800
Wire Wire Line
5800 4900 5900 4900
Text Notes 2050 2000 2 79 ~ 0
USB Input
Wire Notes Line
500 2050 8050 2050
Wire Notes Line
2150 2050 2150 500
Text Notes 3950 2000 2 79 ~ 0
USB Preparation
Wire Notes Line
5100 2050 5100 500
Text Notes 9900 2300 2 79 ~ 0
Joystick Output
Wire Notes Line
11200 2550 8050 2550
Wire Notes Line
8050 2550 8050 500
Text Notes 6500 2000 2 79 ~ 0
Programming Header
$EndSCHEMATC