sabik-cpu/kicad/io.sch
2020-10-04 19:31:16 +02:00

1020 lines
21 KiB
Plaintext

EESchema Schematic File Version 4
EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 4 4
Title ""
Date "2020-10-03"
Rev ""
Comp "Macrocell"
Comment1 "#followtheling"
Comment2 ""
Comment3 ""
Comment4 "Input / Output"
$EndDescr
$Comp
L Interface_UART:MAX485E U?
U 1 1 5F846A22
P 8400 1950
F 0 "U?" H 8150 2400 50 0000 C CNN
F 1 "MAX485E" H 8600 1400 50 0000 C CNN
F 2 "" H 8400 1250 50 0001 C CNN
F 3 "https://datasheets.maximintegrated.com/en/ds/MAX1487E-MAX491E.pdf" H 8400 2000 50 0001 C CNN
1 8400 1950
1 0 0 -1
$EndComp
$Comp
L Device:R R?
U 1 1 5F78D28A
P 9100 2000
F 0 "R?" H 9170 2046 50 0000 L CNN
F 1 "DNP" H 9170 1955 50 0000 L CNN
F 2 "" V 9030 2000 50 0001 C CNN
F 3 "~" H 9100 2000 50 0001 C CNN
1 9100 2000
1 0 0 -1
$EndComp
Wire Wire Line
8800 1850 8900 1850
Wire Wire Line
8900 1850 8900 1750
Wire Wire Line
8900 1750 9100 1750
Wire Wire Line
9100 2150 9100 2250
Wire Wire Line
9100 2250 8900 2250
Wire Wire Line
8900 2250 8900 2150
Wire Wire Line
8900 2150 8800 2150
Connection ~ 9100 2250
Wire Wire Line
9100 1850 9100 1750
Connection ~ 9100 1750
Text HLabel 7800 1850 0 50 Output ~ 0
DMX_RO
Text HLabel 7800 1950 0 50 Input ~ 0
DMX_RE
Text HLabel 7800 2150 0 50 Input ~ 0
DMX_DI
Text HLabel 7800 2050 0 50 Input ~ 0
DMX_DE
Wire Wire Line
7800 1850 8000 1850
Wire Wire Line
7800 1950 8000 1950
Wire Wire Line
7800 2050 8000 2050
Wire Wire Line
7800 2150 8000 2150
$Comp
L Connector:Screw_Terminal_01x03 J?
U 1 1 5F7904F0
P 10500 1850
F 0 "J?" H 10580 1892 50 0000 L CNN
F 1 "DMX-IN" H 10580 1801 50 0000 L CNN
F 2 "" H 10500 1850 50 0001 C CNN
F 3 "~" H 10500 1850 50 0001 C CNN
1 10500 1850
1 0 0 -1
$EndComp
Wire Wire Line
9100 1750 9800 1750
Wire Wire Line
9400 2250 9400 1850
Wire Wire Line
9400 1850 9700 1850
Wire Wire Line
9100 2250 9400 2250
Wire Wire Line
10300 1950 10200 1950
Wire Wire Line
10200 1950 10200 2050
$Comp
L power:GND #PWR?
U 1 1 5F7934F5
P 10200 2050
F 0 "#PWR?" H 10200 1800 50 0001 C CNN
F 1 "GND" H 10205 1877 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
$Comp
L Connector:Screw_Terminal_01x03 J?
U 1 1 5F793A79
P 10500 2500
F 0 "J?" H 10580 2542 50 0000 L CNN
F 1 "DMX-OUT" H 10580 2451 50 0000 L CNN
F 2 "" H 10500 2500 50 0001 C CNN
F 3 "~" H 10500 2500 50 0001 C CNN
1 10500 2500
1 0 0 -1
$EndComp
Wire Wire Line
10300 2600 10200 2600
Wire Wire Line
10200 2600 10200 2700
$Comp
L power:GND #PWR?
U 1 1 5F7944DB
P 10200 2700
F 0 "#PWR?" H 10200 2450 50 0001 C CNN
F 1 "GND" H 10205 2527 50 0000 C CNN
F 2 "" H 10200 2700 50 0001 C CNN
F 3 "" H 10200 2700 50 0001 C CNN
1 10200 2700
1 0 0 -1
$EndComp
$Comp
L Device:R R?
U 1 1 5F794BC2
P 10050 2400
F 0 "R?" V 10100 2550 50 0000 C CNN
F 1 "0" V 10050 2400 50 0000 C CNN
F 2 "" V 9980 2400 50 0001 C CNN
F 3 "~" H 10050 2400 50 0001 C CNN
1 10050 2400
0 1 1 0
$EndComp
$Comp
L Device:R R?
U 1 1 5F79524D
P 10050 2500
F 0 "R?" V 10100 2650 50 0000 C CNN
F 1 "0" V 10050 2500 50 0000 C CNN
F 2 "" V 9980 2500 50 0001 C CNN
F 3 "~" H 10050 2500 50 0001 C CNN
1 10050 2500
0 1 1 0
$EndComp
Wire Wire Line
10200 2400 10300 2400
Wire Wire Line
10300 2500 10200 2500
Wire Wire Line
9900 2400 9800 2400
Wire Wire Line
9800 2400 9800 1750
Connection ~ 9800 1750
Wire Wire Line
9800 1750 10300 1750
Wire Wire Line
9900 2500 9700 2500
Wire Wire Line
9700 2500 9700 1850
Connection ~ 9700 1850
Wire Wire Line
9700 1850 10300 1850
Text Label 9400 1750 0 50 ~ 0
DMXL
Text Label 9400 1850 0 50 ~ 0
DMXH
$Comp
L Connector:Screw_Terminal_01x04 J?
U 1 1 5F79C1C7
P 9800 4850
F 0 "J?" H 9880 4842 50 0000 L CNN
F 1 "WS-0" H 9880 4751 50 0000 L CNN
F 2 "" H 9800 4850 50 0001 C CNN
F 3 "~" H 9800 4850 50 0001 C CNN
1 9800 4850
1 0 0 -1
$EndComp
$Comp
L Connector:Screw_Terminal_01x04 J?
U 1 1 5F79C92B
P 9800 5350
F 0 "J?" H 9880 5342 50 0000 L CNN
F 1 "WS-1" H 9880 5251 50 0000 L CNN
F 2 "" H 9800 5350 50 0001 C CNN
F 3 "~" H 9800 5350 50 0001 C CNN
1 9800 5350
1 0 0 -1
$EndComp
Wire Wire Line
9600 5550 9500 5550
Wire Wire Line
9500 5550 9500 5050
Wire Wire Line
9500 5050 9600 5050
Wire Wire Line
9600 5450 9400 5450
Wire Wire Line
9400 5450 9400 4950
Wire Wire Line
9400 4950 9600 4950
Wire Wire Line
9500 5550 9500 5650
Connection ~ 9500 5550
Wire Wire Line
9400 4950 9400 4650
Connection ~ 9400 4950
$Comp
L power:GND #PWR?
U 1 1 5F79F898
P 9500 5650
F 0 "#PWR?" H 9500 5400 50 0001 C CNN
F 1 "GND" H 9505 5477 50 0000 C CNN
F 2 "" H 9500 5650 50 0001 C CNN
F 3 "" H 9500 5650 50 0001 C CNN
1 9500 5650
1 0 0 -1
$EndComp
Wire Wire Line
9600 4750 8800 4750
Wire Wire Line
9600 4850 9100 4850
Wire Wire Line
9600 5250 9100 5250
Wire Wire Line
9600 5350 8800 5350
Text HLabel 8800 4750 0 50 Input ~ 0
WS0_TX
Text HLabel 8800 5350 0 50 Output ~ 0
WS1_RX
$Comp
L Device:R R?
U 1 1 5F7A18C0
P 9100 5050
F 0 "R?" H 9170 5096 50 0000 L CNN
F 1 "0" H 9170 5005 50 0000 L CNN
F 2 "" V 9030 5050 50 0001 C CNN
F 3 "~" H 9100 5050 50 0001 C CNN
1 9100 5050
1 0 0 -1
$EndComp
Wire Wire Line
9100 4900 9100 4850
Connection ~ 9100 4850
Wire Wire Line
9100 4850 8800 4850
Wire Wire Line
9100 5200 9100 5250
Connection ~ 9100 5250
Wire Wire Line
9100 5250 8800 5250
Text HLabel 8800 5250 0 50 Input ~ 0
WS1_TX
Text HLabel 8800 4850 0 50 Output ~ 0
WS0_RX
$Comp
L Interface_USB:CH340G U?
U 1 1 5F7AA7E3
P 5550 2000
F 0 "U?" H 5300 2550 50 0000 C CNN
F 1 "CH340G/C" H 5750 1450 50 0000 C CNN
F 2 "Package_SO:SOIC-16_3.9x9.9mm_P1.27mm" H 5600 1450 50 0001 L CNN
F 3 "http://www.datasheet5.com/pdf-local-2195953" H 5200 2800 50 0001 C CNN
1 5550 2000
1 0 0 -1
$EndComp
$Comp
L Connector:USB_B_Micro J?
U 1 1 5F7ABAAB
P 1000 2100
F 0 "J?" H 1057 2567 50 0000 C CNN
F 1 "USB" H 1057 2476 50 0000 C CNN
F 2 "" H 1150 2050 50 0001 C CNN
F 3 "~" H 1150 2050 50 0001 C CNN
1 1000 2100
1 0 0 -1
$EndComp
Wire Wire Line
1400 1900 1300 1900
Wire Wire Line
1700 1900 1800 1900
$Comp
L Device:R R?
U 1 1 5F7AF577
P 1550 2100
F 0 "R?" V 1500 2250 50 0000 C CNN
F 1 "0" V 1550 2100 50 0000 C CNN
F 2 "" V 1480 2100 50 0001 C CNN
F 3 "~" H 1550 2100 50 0001 C CNN
1 1550 2100
0 1 1 0
$EndComp
$Comp
L Device:R R?
U 1 1 5F7AFBC7
P 1550 2200
F 0 "R?" V 1500 2350 50 0000 C CNN
F 1 "0" V 1550 2200 50 0000 C CNN
F 2 "" V 1480 2200 50 0001 C CNN
F 3 "~" H 1550 2200 50 0001 C CNN
1 1550 2200
0 1 1 0
$EndComp
Wire Wire Line
1300 2100 1400 2100
Wire Wire Line
1300 2200 1400 2200
Wire Wire Line
900 2500 900 2600
Wire Wire Line
900 2600 950 2600
Wire Wire Line
1000 2600 1000 2500
Wire Wire Line
950 2600 950 2700
Connection ~ 950 2600
Wire Wire Line
950 2600 1000 2600
$Comp
L power:GND #PWR?
U 1 1 5F7B6FBF
P 950 2700
F 0 "#PWR?" H 950 2450 50 0001 C CNN
F 1 "GND" H 955 2527 50 0000 C CNN
F 2 "" H 950 2700 50 0001 C CNN
F 3 "" H 950 2700 50 0001 C CNN
1 950 2700
1 0 0 -1
$EndComp
$Comp
L Device:Crystal Y?
U 1 1 5F7B8331
P 4200 2300
F 0 "Y?" V 4154 2431 50 0000 L CNN
F 1 "12M" V 4245 2431 50 0000 L CNN
F 2 "" H 4200 2300 50 0001 C CNN
F 3 "~" H 4200 2300 50 0001 C CNN
1 4200 2300
0 1 1 0
$EndComp
$Comp
L Device:C C?
U 1 1 5F7B9DAD
P 3950 2550
F 0 "C?" V 4100 2550 50 0000 C CNN
F 1 "20p" V 3789 2550 50 0000 C CNN
F 2 "" H 3988 2400 50 0001 C CNN
F 3 "~" H 3950 2550 50 0001 C CNN
1 3950 2550
0 1 -1 0
$EndComp
$Comp
L Device:C C?
U 1 1 5F7BD5C2
P 3950 2050
F 0 "C?" V 4100 2050 50 0000 C CNN
F 1 "20p" V 3789 2050 50 0000 C CNN
F 2 "" H 3988 1900 50 0001 C CNN
F 3 "~" H 3950 2050 50 0001 C CNN
1 3950 2050
0 1 1 0
$EndComp
Wire Wire Line
4100 2050 4200 2050
Wire Wire Line
4200 2050 4200 2150
Wire Wire Line
4200 2450 4200 2550
Wire Wire Line
4200 2550 4100 2550
Wire Wire Line
5150 2400 4650 2400
Wire Wire Line
4650 2400 4650 2550
Wire Wire Line
4650 2550 4200 2550
Connection ~ 4200 2550
Wire Wire Line
5150 2200 4650 2200
Wire Wire Line
4650 2200 4650 2050
Wire Wire Line
4650 2050 4200 2050
Connection ~ 4200 2050
Wire Wire Line
3800 2050 3700 2050
Wire Wire Line
3700 2050 3700 2300
Wire Wire Line
3700 2550 3800 2550
Wire Wire Line
3700 2300 3600 2300
Connection ~ 3700 2300
Wire Wire Line
3700 2300 3700 2550
$Comp
L power:GND #PWR?
U 1 1 5F7CC94D
P 3600 2300
F 0 "#PWR?" H 3600 2050 50 0001 C CNN
F 1 "GND" V 3605 2172 50 0000 R CNN
F 2 "" H 3600 2300 50 0001 C CNN
F 3 "" H 3600 2300 50 0001 C CNN
1 3600 2300
0 1 1 0
$EndComp
Wire Notes Line
4550 1800 3300 1800
Wire Notes Line
3300 1800 3300 2800
Wire Notes Line
3300 2800 4550 2800
Wire Notes Line
4550 2800 4550 1800
Text Notes 3350 2000 0 50 ~ 0
Only for\nCH340G
Text Notes 4200 2000 0 50 ~ 0
DNP for\nCH340C
Wire Wire Line
5150 2000 4750 2000
Text Label 4750 1900 0 50 ~ 0
USB_DP
Wire Wire Line
4750 1900 5150 1900
Text Label 4750 2000 0 50 ~ 0
USB_DM
Wire Wire Line
1700 2100 2100 2100
Text Label 2100 2100 2 50 ~ 0
USB_DP
Wire Wire Line
2100 2200 1700 2200
Text Label 2100 2200 2 50 ~ 0
USB_DM
Wire Wire Line
5550 2600 5550 2700
$Comp
L power:GND #PWR?
U 1 1 5F7EE5AE
P 5550 2700
F 0 "#PWR?" H 5550 2450 50 0001 C CNN
F 1 "GND" H 5555 2527 50 0000 C CNN
F 2 "" H 5550 2700 50 0001 C CNN
F 3 "" H 5550 2700 50 0001 C CNN
1 5550 2700
1 0 0 -1
$EndComp
$Comp
L power:+3V3 #PWR?
U 1 1 5F7F16A8
P 5500 1200
F 0 "#PWR?" H 5500 1050 50 0001 C CNN
F 1 "+3V3" H 5515 1373 50 0000 C CNN
F 2 "" H 5500 1200 50 0001 C CNN
F 3 "" H 5500 1200 50 0001 C CNN
1 5500 1200
1 0 0 -1
$EndComp
Wire Wire Line
5500 1200 5500 1300
Wire Wire Line
5500 1300 5450 1300
Wire Wire Line
5450 1300 5450 1400
Wire Wire Line
5500 1300 5550 1300
Wire Wire Line
5550 1300 5550 1400
Connection ~ 5500 1300
Wire Wire Line
5950 1600 6300 1600
Wire Wire Line
5950 1700 6300 1700
Text HLabel 6300 1600 2 50 Output ~ 0
USB_UART_IN
Text HLabel 6300 1700 2 50 Input ~ 0
USB_UART_OUT
Wire Wire Line
5950 2300 6300 2300
Text HLabel 6300 2300 2 50 Output ~ 0
USB_UART_DTR
NoConn ~ 5950 1900
NoConn ~ 5950 2000
NoConn ~ 5950 2100
NoConn ~ 5950 2200
NoConn ~ 5950 2400
NoConn ~ 5150 1700
$Comp
L Device:D_Schottky D?
U 1 1 5F853296
P 1550 1900
F 0 "D?" H 1550 1684 50 0000 C CNN
F 1 "Schottky" H 1550 1775 50 0000 C CNN
F 2 "" H 1550 1900 50 0001 C CNN
F 3 "~" H 1550 1900 50 0001 C CNN
1 1550 1900
-1 0 0 1
$EndComp
Wire Wire Line
1800 1900 2000 1900
$Comp
L Device:Fuse F?
U 1 1 5F857219
P 2150 1900
F 0 "F?" V 1953 1900 50 0000 C CNN
F 1 "2A" V 2044 1900 50 0000 C CNN
F 2 "" V 2080 1900 50 0001 C CNN
F 3 "~" H 2150 1900 50 0001 C CNN
1 2150 1900
0 1 1 0
$EndComp
Wire Wire Line
2300 1900 2400 1900
Wire Wire Line
2400 1900 2400 1800
$Comp
L Connector:Screw_Terminal_01x02 J?
U 1 1 5F876E47
P 850 1400
F 0 "J?" H 768 1075 50 0000 C CNN
F 1 "Power" H 768 1166 50 0000 C CNN
F 2 "" H 850 1400 50 0001 C CNN
F 3 "~" H 850 1400 50 0001 C CNN
1 850 1400
-1 0 0 1
$EndComp
Text Label 1800 1900 0 50 ~ 0
VIN
Connection ~ 1800 1900
Wire Wire Line
1050 1400 1800 1400
Wire Wire Line
1800 1400 1800 1900
Wire Wire Line
1050 1300 1800 1300
$Comp
L power:GND #PWR?
U 1 1 5F8B42B2
P 1800 1300
F 0 "#PWR?" H 1800 1050 50 0001 C CNN
F 1 "GND" V 1805 1172 50 0000 R CNN
F 2 "" H 1800 1300 50 0001 C CNN
F 3 "" H 1800 1300 50 0001 C CNN
1 1800 1300
0 -1 -1 0
$EndComp
$Comp
L power:+5V #PWR?
U 1 1 5F8B4A28
P 2400 1800
F 0 "#PWR?" H 2400 1650 50 0001 C CNN
F 1 "+5V" H 2415 1973 50 0000 C CNN
F 2 "" H 2400 1800 50 0001 C CNN
F 3 "" H 2400 1800 50 0001 C CNN
1 2400 1800
1 0 0 -1
$EndComp
$Comp
L power:+5V #PWR?
U 1 1 5F8B5D26
P 9400 4650
F 0 "#PWR?" H 9400 4500 50 0001 C CNN
F 1 "+5V" H 9415 4823 50 0000 C CNN
F 2 "" H 9400 4650 50 0001 C CNN
F 3 "" H 9400 4650 50 0001 C CNN
1 9400 4650
1 0 0 -1
$EndComp
$Comp
L power:+5V #PWR?
U 1 1 5F8B64D4
P 8400 1350
F 0 "#PWR?" H 8400 1200 50 0001 C CNN
F 1 "+5V" H 8415 1523 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
8400 1350 8400 1450
Wire Wire Line
8400 2550 8400 2650
$Comp
L power:GND #PWR?
U 1 1 5F8BC4E7
P 8400 2650
F 0 "#PWR?" H 8400 2400 50 0001 C CNN
F 1 "GND" H 8405 2477 50 0000 C CNN
F 2 "" H 8400 2650 50 0001 C CNN
F 3 "" H 8400 2650 50 0001 C CNN
1 8400 2650
1 0 0 -1
$EndComp
NoConn ~ 1300 2300
$Comp
L Connector:Screw_Terminal_01x03 J?
U 1 1 5F8DE004
P 1100 4300
F 0 "J?" H 1018 3975 50 0000 C CNN
F 1 "AUDIO-IN" H 1018 4066 50 0000 C CNN
F 2 "" H 1100 4300 50 0001 C CNN
F 3 "~" H 1100 4300 50 0001 C CNN
1 1100 4300
-1 0 0 1
$EndComp
$Comp
L Connector:AudioJack3 J?
U 1 1 5F8DF7AD
P 1300 5000
F 0 "J?" H 1020 4933 50 0000 R CNN
F 1 "AUDIO-IN" H 1020 5024 50 0000 R CNN
F 2 "" H 1300 5000 50 0001 C CNN
F 3 "~" H 1300 5000 50 0001 C CNN
1 1300 5000
1 0 0 1
$EndComp
Wire Wire Line
1500 5100 1600 5100
Wire Wire Line
1600 5100 1600 5200
$Comp
L power:GND #PWR?
U 1 1 5F8E3C62
P 1600 5200
F 0 "#PWR?" H 1600 4950 50 0001 C CNN
F 1 "GND" H 1605 5027 50 0000 C CNN
F 2 "" H 1600 5200 50 0001 C CNN
F 3 "" H 1600 5200 50 0001 C CNN
1 1600 5200
1 0 0 -1
$EndComp
Wire Wire Line
1300 4400 1400 4400
Wire Wire Line
1400 4400 1400 4500
$Comp
L power:GND #PWR?
U 1 1 5F8ED51F
P 1400 4500
F 0 "#PWR?" H 1400 4250 50 0001 C CNN
F 1 "GND" H 1405 4327 50 0000 C CNN
F 2 "" H 1400 4500 50 0001 C CNN
F 3 "" H 1400 4500 50 0001 C CNN
1 1400 4500
1 0 0 -1
$EndComp
Wire Wire Line
1300 4200 1750 4200
Text Label 1750 4200 2 50 ~ 0
AUDIO_IN_L
Text Label 1750 4300 2 50 ~ 0
AUDIO_IN_R
Wire Wire Line
1750 4300 1300 4300
$Comp
L Device:R R?
U 1 1 5F7A5219
P 3550 4550
F 0 "R?" V 3650 4550 50 0000 C CNN
F 1 "10k" V 3550 4550 50 0000 C CNN
F 2 "" V 3480 4550 50 0001 C CNN
F 3 "~" H 3550 4550 50 0001 C CNN
1 3550 4550
0 1 1 0
$EndComp
$Comp
L Device:R R?
U 1 1 5F7A5A42
P 3800 4800
F 0 "R?" H 3870 4846 50 0000 L CNN
F 1 "10k" H 3870 4755 50 0000 L CNN
F 2 "" V 3730 4800 50 0001 C CNN
F 3 "~" H 3800 4800 50 0001 C CNN
1 3800 4800
1 0 0 -1
$EndComp
$Comp
L Device:C C?
U 1 1 5F7AA6CA
P 3150 4350
F 0 "C?" V 2898 4350 50 0000 C CNN
F 1 "1u" V 2989 4350 50 0000 C CNN
F 2 "" H 3188 4200 50 0001 C CNN
F 3 "~" H 3150 4350 50 0001 C CNN
1 3150 4350
0 1 1 0
$EndComp
Wire Wire Line
3800 4650 3800 4550
Wire Wire Line
3800 4550 3700 4550
Wire Wire Line
3800 4550 3900 4550
Connection ~ 3800 4550
$Comp
L Device:R R?
U 1 1 5F7CBEDB
P 4200 4050
F 0 "R?" V 4300 4050 50 0000 C CNN
F 1 "10k" V 4200 4050 50 0000 C CNN
F 2 "" V 4130 4050 50 0001 C CNN
F 3 "~" H 4200 4050 50 0001 C CNN
1 4200 4050
0 1 -1 0
$EndComp
Wire Wire Line
3900 4350 3800 4350
Wire Wire Line
3800 4350 3800 4050
Wire Wire Line
3800 4050 4050 4050
Wire Wire Line
4350 4050 4600 4050
Wire Wire Line
4600 4050 4600 4450
Wire Wire Line
4600 4450 4500 4450
$Comp
L Device:R R?
U 1 1 5F7D8A7B
P 3550 4350
F 0 "R?" V 3650 4350 50 0000 C CNN
F 1 "10k" V 3550 4350 50 0000 C CNN
F 2 "" V 3480 4350 50 0001 C CNN
F 3 "~" H 3550 4350 50 0001 C CNN
1 3550 4350
0 1 1 0
$EndComp
Wire Wire Line
3700 4350 3800 4350
Connection ~ 3800 4350
Wire Wire Line
3300 4350 3400 4350
Wire Wire Line
3300 4550 3400 4550
$Comp
L power:GND #PWR?
U 1 1 5F7E6BF4
P 3800 5050
F 0 "#PWR?" H 3800 4800 50 0001 C CNN
F 1 "GND" H 3805 4877 50 0000 C CNN
F 2 "" H 3800 5050 50 0001 C CNN
F 3 "" H 3800 5050 50 0001 C CNN
1 3800 5050
1 0 0 -1
$EndComp
Wire Wire Line
3800 5050 3800 4950
Wire Wire Line
2250 4350 2800 4350
Text Label 2250 4350 0 50 ~ 0
AUDIO_IN_L
$Comp
L power:VDDA #PWR?
U 1 1 5F801221
P 3300 4550
F 0 "#PWR?" H 3300 4400 50 0001 C CNN
F 1 "VDDA" V 3318 4678 50 0000 L CNN
F 2 "" H 3300 4550 50 0001 C CNN
F 3 "" H 3300 4550 50 0001 C CNN
1 3300 4550
0 -1 -1 0
$EndComp
$Comp
L power:GND #PWR?
U 1 1 5F80CE85
P 1400 7000
F 0 "#PWR?" H 1400 6750 50 0001 C CNN
F 1 "GND" H 1405 6827 50 0000 C CNN
F 2 "" H 1400 7000 50 0001 C CNN
F 3 "" H 1400 7000 50 0001 C CNN
1 1400 7000
1 0 0 -1
$EndComp
$Comp
L power:VDDA #PWR?
U 1 1 5F80D8A2
P 1400 6200
F 0 "#PWR?" H 1400 6050 50 0001 C CNN
F 1 "VDDA" H 1417 6373 50 0000 C CNN
F 2 "" H 1400 6200 50 0001 C CNN
F 3 "" H 1400 6200 50 0001 C CNN
1 1400 6200
1 0 0 -1
$EndComp
Wire Wire Line
1400 6200 1400 6300
Wire Wire Line
1400 6900 1400 7000
Wire Wire Line
1500 4900 1950 4900
Text Label 1950 4900 2 50 ~ 0
AUDIO_IN_L
Text Label 1950 5000 2 50 ~ 0
AUDIO_IN_R
Wire Wire Line
1950 5000 1500 5000
Text HLabel 4700 4450 2 50 Output ~ 0
AUDIO_L
Wire Wire Line
4700 4450 4600 4450
Connection ~ 4600 4450
$Comp
L Device:R R?
U 1 1 5F849CCA
P 3550 6100
F 0 "R?" V 3650 6100 50 0000 C CNN
F 1 "10k" V 3550 6100 50 0000 C CNN
F 2 "" V 3480 6100 50 0001 C CNN
F 3 "~" H 3550 6100 50 0001 C CNN
1 3550 6100
0 1 1 0
$EndComp
$Comp
L Device:R R?
U 1 1 5F849CD4
P 3800 6350
F 0 "R?" H 3870 6396 50 0000 L CNN
F 1 "10k" H 3870 6305 50 0000 L CNN
F 2 "" V 3730 6350 50 0001 C CNN
F 3 "~" H 3800 6350 50 0001 C CNN
1 3800 6350
1 0 0 -1
$EndComp
$Comp
L Device:C C?
U 1 1 5F849CDE
P 3150 5900
F 0 "C?" V 2898 5900 50 0000 C CNN
F 1 "1u" V 2989 5900 50 0000 C CNN
F 2 "" H 3188 5750 50 0001 C CNN
F 3 "~" H 3150 5900 50 0001 C CNN
1 3150 5900
0 1 1 0
$EndComp
Wire Wire Line
3800 6200 3800 6100
Wire Wire Line
3800 6100 3700 6100
Wire Wire Line
3800 6100 3900 6100
Connection ~ 3800 6100
$Comp
L Device:R R?
U 1 1 5F849CEC
P 4200 5600
F 0 "R?" V 4300 5600 50 0000 C CNN
F 1 "10k" V 4200 5600 50 0000 C CNN
F 2 "" V 4130 5600 50 0001 C CNN
F 3 "~" H 4200 5600 50 0001 C CNN
1 4200 5600
0 1 -1 0
$EndComp
Wire Wire Line
3900 5900 3800 5900
Wire Wire Line
3800 5900 3800 5600
Wire Wire Line
3800 5600 4050 5600
Wire Wire Line
4350 5600 4600 5600
Wire Wire Line
4600 5600 4600 6000
Wire Wire Line
4600 6000 4500 6000
$Comp
L Device:R R?
U 1 1 5F849CFC
P 3550 5900
F 0 "R?" V 3650 5900 50 0000 C CNN
F 1 "10k" V 3550 5900 50 0000 C CNN
F 2 "" V 3480 5900 50 0001 C CNN
F 3 "~" H 3550 5900 50 0001 C CNN
1 3550 5900
0 1 1 0
$EndComp
Wire Wire Line
3700 5900 3800 5900
Connection ~ 3800 5900
Wire Wire Line
3300 5900 3400 5900
Wire Wire Line
3300 6100 3400 6100
$Comp
L power:GND #PWR?
U 1 1 5F849D0A
P 3800 6600
F 0 "#PWR?" H 3800 6350 50 0001 C CNN
F 1 "GND" H 3805 6427 50 0000 C CNN
F 2 "" H 3800 6600 50 0001 C CNN
F 3 "" H 3800 6600 50 0001 C CNN
1 3800 6600
1 0 0 -1
$EndComp
Wire Wire Line
3800 6600 3800 6500
$Comp
L power:VDDA #PWR?
U 1 1 5F849D17
P 3300 6100
F 0 "#PWR?" H 3300 5950 50 0001 C CNN
F 1 "VDDA" V 3318 6228 50 0000 L CNN
F 2 "" H 3300 6100 50 0001 C CNN
F 3 "" H 3300 6100 50 0001 C CNN
1 3300 6100
0 -1 -1 0
$EndComp
Text HLabel 4700 6000 2 50 Output ~ 0
AUDIO_R
Wire Wire Line
4700 6000 4600 6000
Connection ~ 4600 6000
$Comp
L Amplifier_Operational:LM358 U?
U 1 1 5F8649CA
P 4200 4450
F 0 "U?" H 4200 4750 50 0000 C CNN
F 1 "LM358" H 4250 4650 50 0000 C CNN
F 2 "" H 4200 4450 50 0001 C CNN
F 3 "http://www.ti.com/lit/ds/symlink/lm2904-n.pdf" H 4200 4450 50 0001 C CNN
1 4200 4450
1 0 0 -1
$EndComp
$Comp
L Amplifier_Operational:LM358 U?
U 2 1 5F8689C1
P 4200 6000
F 0 "U?" H 4200 6300 50 0000 C CNN
F 1 "LM358" H 4250 6200 50 0000 C CNN
F 2 "" H 4200 6000 50 0001 C CNN
F 3 "http://www.ti.com/lit/ds/symlink/lm2904-n.pdf" H 4200 6000 50 0001 C CNN
2 4200 6000
1 0 0 -1
$EndComp
$Comp
L Amplifier_Operational:LM358 U?
U 3 1 5F86A645
P 1500 6600
F 0 "U?" H 1458 6646 50 0000 L CNN
F 1 "LM358" H 1458 6555 50 0000 L CNN
F 2 "" H 1500 6600 50 0001 C CNN
F 3 "http://www.ti.com/lit/ds/symlink/lm2904-n.pdf" H 1500 6600 50 0001 C CNN
3 1500 6600
1 0 0 -1
$EndComp
Text Notes 3500 7100 0 50 ~ 0
TODO: Set sensible\ngain for input stage.
$Comp
L Device:R R?
U 1 1 5F7C2195
P 2800 4600
F 0 "R?" H 2600 4650 50 0000 L CNN
F 1 "47k" H 2600 4550 50 0000 L CNN
F 2 "" V 2730 4600 50 0001 C CNN
F 3 "~" H 2800 4600 50 0001 C CNN
1 2800 4600
1 0 0 -1
$EndComp
Wire Wire Line
2800 4450 2800 4350
Connection ~ 2800 4350
Wire Wire Line
2800 4350 3000 4350
$Comp
L power:GND #PWR?
U 1 1 5F7DF715
P 2800 5050
F 0 "#PWR?" H 2800 4800 50 0001 C CNN
F 1 "GND" H 2805 4877 50 0000 C CNN
F 2 "" H 2800 5050 50 0001 C CNN
F 3 "" H 2800 5050 50 0001 C CNN
1 2800 5050
1 0 0 -1
$EndComp
Wire Wire Line
2800 5050 2800 4750
Wire Wire Line
2250 5900 2800 5900
Text Label 2250 5900 0 50 ~ 0
AUDIO_IN_R
$Comp
L Device:R R?
U 1 1 5F7F1A27
P 2800 6150
F 0 "R?" H 2600 6200 50 0000 L CNN
F 1 "47k" H 2600 6100 50 0000 L CNN
F 2 "" V 2730 6150 50 0001 C CNN
F 3 "~" H 2800 6150 50 0001 C CNN
1 2800 6150
1 0 0 -1
$EndComp
Wire Wire Line
2800 6000 2800 5900
Connection ~ 2800 5900
Wire Wire Line
2800 5900 3000 5900
$Comp
L power:GND #PWR?
U 1 1 5F7F1A34
P 2800 6600
F 0 "#PWR?" H 2800 6350 50 0001 C CNN
F 1 "GND" H 2805 6427 50 0000 C CNN
F 2 "" H 2800 6600 50 0001 C CNN
F 3 "" H 2800 6600 50 0001 C CNN
1 2800 6600
1 0 0 -1
$EndComp
Wire Wire Line
2800 6600 2800 6300
$EndSCHEMATC