This repository has been archived on 2023-12-22. You can view files and clone it, but cannot push or open issues or pull requests.
old-monorepo/Devices/Control/Hardware/Circuit/Control.sch

1357 lines
30 KiB
Text

EESchema Schematic File Version 4
EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title "LightControl Console"
Date "2021-08-10"
Rev "v00"
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 "Author: GHOSCHT"
$EndDescr
$Comp
L MCU_Microchip_ATmega:ATmega328P-AU U1
U 1 1 61124B57
P 1800 2500
F 0 "U1" H 1800 2650 50 0000 C CNN
F 1 "ATmega328P-AU" H 1750 2550 50 0000 C CNN
F 2 "Package_QFP:TQFP-32_7x7mm_P0.8mm" H 1800 2500 50 0001 C CIN
F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/ATmega328_P%20AVR%20MCU%20with%20picoPower%20Technology%20Data%20Sheet%2040001984A.pdf" H 1800 2500 50 0001 C CNN
1 1800 2500
1 0 0 -1
$EndComp
$Comp
L TYPE-C-31-M-12:TYPE-C-31-M-12 J3
U 1 1 6112D89A
P 8650 4650
F 0 "J3" H 8650 5317 50 0000 C CNN
F 1 "TYPE-C-31-M-12" H 8650 5226 50 0000 C CNN
F 2 "HRO_TYPE-C-31-M-12:HRO_TYPE-C-31-M-12" H 8650 4650 50 0001 L BNN
F 3 "https://datasheet.lcsc.com/lcsc/1811131825_Korean-Hroparts-Elec-TYPE-C-31-M-12_C165948.pdf" H 8650 4650 50 0001 L BNN
F 4 "3.31mm" H 8650 4650 50 0001 L BNN "MAXIMUM_PACKAGE_HEIGHT"
F 5 "Manufacturer Recommendations" H 8650 4650 50 0001 L BNN "STANDARD"
F 6 "A" H 8650 4650 50 0001 L BNN "PARTREV"
F 7 "HRO Electronics" H 8650 4650 50 0001 L BNN "MANUFACTURER"
1 8650 4650
1 0 0 -1
$EndComp
$Comp
L Jumper:SolderJumper_2_Open JP1
U 1 1 6113282A
P 6700 4300
F 0 "JP1" H 6700 4505 50 0000 C CNN
F 1 "SolderJumper" H 6700 4414 50 0000 C CNN
F 2 "Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm" H 6700 4300 50 0001 C CNN
F 3 "~" H 6700 4300 50 0001 C CNN
1 6700 4300
1 0 0 -1
$EndComp
Wire Wire Line
2400 1900 2500 1900
Wire Wire Line
2400 2000 2500 2000
$Comp
L power:VCC #PWR02
U 1 1 61153B27
P 1800 900
F 0 "#PWR02" H 1800 750 50 0001 C CNN
F 1 "VCC" H 1815 1073 50 0000 C CNN
F 2 "" H 1800 900 50 0001 C CNN
F 3 "" H 1800 900 50 0001 C CNN
1 1800 900
1 0 0 -1
$EndComp
Wire Wire Line
1800 900 1800 950
Wire Wire Line
1800 950 1900 950
Wire Wire Line
1900 950 1900 1000
Connection ~ 1800 950
Wire Wire Line
1800 950 1800 1000
$Comp
L power:GND #PWR03
U 1 1 6115A165
P 1800 4100
F 0 "#PWR03" H 1800 3850 50 0001 C CNN
F 1 "GND" H 1805 3927 50 0000 C CNN
F 2 "" H 1800 4100 50 0001 C CNN
F 3 "" H 1800 4100 50 0001 C CNN
1 1800 4100
1 0 0 -1
$EndComp
Wire Wire Line
1800 4000 1800 4100
Wire Wire Line
2400 2800 2500 2800
Wire Wire Line
2400 1600 2500 1600
Wire Wire Line
2400 1700 2500 1700
Wire Wire Line
2400 1800 2500 1800
$Comp
L power:VCC #PWR013
U 1 1 6116E743
P 7850 3850
F 0 "#PWR013" H 7850 3700 50 0001 C CNN
F 1 "VCC" V 7865 3977 50 0000 L CNN
F 2 "" H 7850 3850 50 0001 C CNN
F 3 "" H 7850 3850 50 0001 C CNN
1 7850 3850
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR014
U 1 1 6116FC1F
P 7850 5050
F 0 "#PWR014" H 7850 4800 50 0001 C CNN
F 1 "GND" V 7855 4922 50 0000 R CNN
F 2 "" H 7850 5050 50 0001 C CNN
F 3 "" H 7850 5050 50 0001 C CNN
1 7850 5050
0 1 1 0
$EndComp
$Comp
L power:GND #PWR021
U 1 1 6117066A
P 9450 5050
F 0 "#PWR021" H 9450 4800 50 0001 C CNN
F 1 "GND" V 9455 4922 50 0000 R CNN
F 2 "" H 9450 5050 50 0001 C CNN
F 3 "" H 9450 5050 50 0001 C CNN
1 9450 5050
0 -1 -1 0
$EndComp
$Comp
L power:GND #PWR019
U 1 1 61170DB1
P 8650 5450
F 0 "#PWR019" H 8650 5200 50 0001 C CNN
F 1 "GND" H 8655 5277 50 0000 C CNN
F 2 "" H 8650 5450 50 0001 C CNN
F 3 "" H 8650 5450 50 0001 C CNN
1 8650 5450
1 0 0 -1
$EndComp
Wire Wire Line
8400 5350 8400 5450
Wire Wire Line
8400 5450 8550 5450
Wire Wire Line
8900 5450 8900 5350
Connection ~ 8650 5450
Wire Wire Line
8650 5450 8750 5450
Wire Wire Line
8750 5350 8750 5450
Connection ~ 8750 5450
Wire Wire Line
8750 5450 8900 5450
Wire Wire Line
8550 5350 8550 5450
Connection ~ 8550 5450
Wire Wire Line
8550 5450 8650 5450
Wire Wire Line
7850 4250 7950 4250
Wire Wire Line
9350 4250 9450 4250
Wire Wire Line
9350 5050 9450 5050
Wire Wire Line
7850 5050 7950 5050
Wire Wire Line
2400 3000 2500 3000
Wire Wire Line
2400 3100 2500 3100
Wire Wire Line
2400 2700 2500 2700
Wire Wire Line
2400 2600 2500 2600
$Comp
L Jumper:SolderJumper_2_Open JP3
U 1 1 6118262C
P 6700 4900
F 0 "JP3" H 6700 5105 50 0000 C CNN
F 1 "SolderJumper" H 6700 5014 50 0000 C CNN
F 2 "Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm" H 6700 4900 50 0001 C CNN
F 3 "~" H 6700 4900 50 0001 C CNN
1 6700 4900
1 0 0 -1
$EndComp
Wire Wire Line
6500 4300 6550 4300
Wire Wire Line
6500 4600 6550 4600
Wire Wire Line
6500 4900 6550 4900
Wire Wire Line
6500 5200 6550 5200
Wire Wire Line
6850 4300 7000 4300
Wire Wire Line
7000 4300 7000 4450
Wire Wire Line
7000 4600 6850 4600
Wire Wire Line
6850 4900 7000 4900
Wire Wire Line
7000 4900 7000 5050
Wire Wire Line
7950 4550 7250 4550
Wire Wire Line
7250 4550 7250 4450
Wire Wire Line
7250 4450 7000 4450
Connection ~ 7000 4450
Wire Wire Line
7000 4450 7000 4600
Wire Wire Line
7950 4650 7250 4650
Wire Wire Line
7250 4650 7250 5050
Wire Wire Line
7250 5050 7000 5050
Connection ~ 7000 5050
Wire Wire Line
7000 5050 7000 5200
$Comp
L Jumper:SolderJumper_2_Open JP10
U 1 1 611A3577
P 10500 5200
F 0 "JP10" H 10500 5405 50 0000 C CNN
F 1 "SolderJumper" H 10500 5314 50 0000 C CNN
F 2 "Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm" H 10500 5200 50 0001 C CNN
F 3 "~" H 10500 5200 50 0001 C CNN
1 10500 5200
-1 0 0 1
$EndComp
$Comp
L Jumper:SolderJumper_2_Open JP8
U 1 1 611A3587
P 10500 4600
F 0 "JP8" H 10500 4805 50 0000 C CNN
F 1 "SolderJumper" H 10500 4714 50 0000 C CNN
F 2 "Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm" H 10500 4600 50 0001 C CNN
F 3 "~" H 10500 4600 50 0001 C CNN
1 10500 4600
-1 0 0 1
$EndComp
Wire Wire Line
10700 5200 10650 5200
Wire Wire Line
10700 4900 10650 4900
Wire Wire Line
10700 4600 10650 4600
Wire Wire Line
10700 4300 10650 4300
Wire Wire Line
10350 5200 10200 5200
Wire Wire Line
10200 5200 10200 5050
Wire Wire Line
10200 4900 10350 4900
Wire Wire Line
10350 4600 10200 4600
Wire Wire Line
10200 4600 10200 4450
Wire Wire Line
10200 4300 10350 4300
Wire Wire Line
9950 5050 10200 5050
Connection ~ 10200 5050
Wire Wire Line
10200 5050 10200 4900
Wire Wire Line
9950 4450 10200 4450
Connection ~ 10200 4450
Wire Wire Line
10200 4450 10200 4300
Wire Wire Line
9350 4550 9950 4550
Wire Wire Line
9950 4550 9950 4450
Wire Wire Line
9350 4650 9950 4650
Wire Wire Line
9950 4650 9950 5050
NoConn ~ 7950 4450
Wire Wire Line
6500 5500 6550 5500
Wire Wire Line
6850 5500 7350 5500
Wire Wire Line
7350 5500 7350 4750
Wire Wire Line
7350 4750 7950 4750
Wire Wire Line
10700 4000 10650 4000
Wire Wire Line
10350 4000 9850 4000
Wire Wire Line
9850 4000 9850 4450
Wire Wire Line
9850 4450 9350 4450
NoConn ~ 9350 4750
Wire Wire Line
2400 2200 2500 2200
Wire Wire Line
2400 2300 2500 2300
Wire Wire Line
2400 2400 2500 2400
Wire Wire Line
2400 2500 2500 2500
Wire Wire Line
2400 1300 2500 1300
Wire Wire Line
2400 1400 2500 1400
Wire Wire Line
2400 3200 2500 3200
Wire Wire Line
2400 3300 2500 3300
Wire Wire Line
2400 3400 2500 3400
Wire Wire Line
2400 3500 2500 3500
Wire Wire Line
2400 3600 2500 3600
Wire Wire Line
2400 3700 2500 3700
NoConn ~ 1200 1600
NoConn ~ 1200 1500
$Comp
L Connector_Generic:Conn_01x13 J4
U 1 1 61285557
P 8850 1500
F 0 "J4" H 8930 1542 50 0000 L CNN
F 1 "Conn_01x13" H 8930 1451 50 0000 L CNN
F 2 "Connector_PinHeader_1.00mm:PinHeader_1x13_P1.00mm_Vertical" H 8850 1500 50 0001 C CNN
F 3 "~" H 8850 1500 50 0001 C CNN
1 8850 1500
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR015
U 1 1 61289C4F
P 8550 900
F 0 "#PWR015" H 8550 650 50 0001 C CNN
F 1 "GND" V 8555 772 50 0000 R CNN
F 2 "" H 8550 900 50 0001 C CNN
F 3 "" H 8550 900 50 0001 C CNN
1 8550 900
0 1 1 0
$EndComp
Wire Wire Line
8550 900 8650 900
Wire Wire Line
8550 1000 8650 1000
Wire Wire Line
8550 1100 8650 1100
Wire Wire Line
8550 1200 8650 1200
Wire Wire Line
8550 1300 8650 1300
Wire Wire Line
8550 1400 8650 1400
Wire Wire Line
8550 1500 8650 1500
Wire Wire Line
8550 1600 8650 1600
Wire Wire Line
8550 1700 8650 1700
Wire Wire Line
8550 1800 8650 1800
Wire Wire Line
8550 1900 8650 1900
Wire Wire Line
8550 2000 8650 2000
Wire Wire Line
8550 2100 8650 2100
$Comp
L Connector_Generic:Conn_01x04 J6
U 1 1 613021A3
P 8850 2900
F 0 "J6" H 8930 2892 50 0000 L CNN
F 1 "Conn_01x04" H 8930 2801 50 0000 L CNN
F 2 "Connector_PinHeader_1.00mm:PinHeader_1x04_P1.00mm_Vertical" H 8850 2900 50 0001 C CNN
F 3 "~" H 8850 2900 50 0001 C CNN
1 8850 2900
1 0 0 -1
$EndComp
$Comp
L Connector_Generic:Conn_01x04 J5
U 1 1 613031C0
P 8850 2400
F 0 "J5" H 8930 2392 50 0000 L CNN
F 1 "Conn_01x04" H 8930 2301 50 0000 L CNN
F 2 "Connector_PinHeader_1.00mm:PinHeader_1x04_P1.00mm_Vertical" H 8850 2400 50 0001 C CNN
F 3 "~" H 8850 2400 50 0001 C CNN
1 8850 2400
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR016
U 1 1 613043F8
P 8550 2300
F 0 "#PWR016" H 8550 2050 50 0001 C CNN
F 1 "GND" V 8555 2172 50 0000 R CNN
F 2 "" H 8550 2300 50 0001 C CNN
F 3 "" H 8550 2300 50 0001 C CNN
1 8550 2300
0 1 1 0
$EndComp
$Comp
L power:GND #PWR017
U 1 1 6130498C
P 8550 2800
F 0 "#PWR017" H 8550 2550 50 0001 C CNN
F 1 "GND" V 8555 2672 50 0000 R CNN
F 2 "" H 8550 2800 50 0001 C CNN
F 3 "" H 8550 2800 50 0001 C CNN
1 8550 2800
0 1 1 0
$EndComp
$Comp
L power:VCC #PWR018
U 1 1 613057E4
P 8550 3100
F 0 "#PWR018" H 8550 2950 50 0001 C CNN
F 1 "VCC" V 8565 3227 50 0000 L CNN
F 2 "" H 8550 3100 50 0001 C CNN
F 3 "" H 8550 3100 50 0001 C CNN
1 8550 3100
0 -1 -1 0
$EndComp
Wire Wire Line
8550 2300 8650 2300
Wire Wire Line
8550 2400 8650 2400
Wire Wire Line
8550 2500 8650 2500
Wire Wire Line
8550 2600 8650 2600
Wire Wire Line
8550 2800 8650 2800
Wire Wire Line
8550 2900 8650 2900
Wire Wire Line
8550 3000 8650 3000
Wire Wire Line
8550 3100 8650 3100
Wire Notes Line
8150 750 8150 3200
Wire Notes Line
8150 3200 9450 3200
Wire Notes Line
9450 3200 9450 750
Wire Notes Line
9450 750 8150 750
Text Notes 8150 750 0 50 ~ 0
Failsafe breakout pins
Text Notes 8950 900 0 50 ~ 0
Encoders
Text Notes 8950 2300 0 50 ~ 0
UART
Text Notes 8950 2800 0 50 ~ 0
I2C
Wire Notes Line
10950 5750 10950 3550
Wire Notes Line
10950 3550 6250 3550
Wire Notes Line
6250 3550 6250 5750
Text Notes 6250 3550 0 50 ~ 0
USB C connector repurposed as communication header
Text Notes 6250 3650 0 50 ~ 10
CHOOSE PROTOCOL WITH JUMERS
Text GLabel 2500 1600 2 50 Input ~ 0
MOSI
Text GLabel 2500 1700 2 50 Input ~ 0
MISO
Text GLabel 2500 1800 2 50 Input ~ 0
SCK
Text GLabel 2500 1900 2 50 Input ~ 0
XTAL1
Text GLabel 2500 2000 2 50 Input ~ 0
XTAL2
Text GLabel 2500 2600 2 50 Input ~ 0
SDA
Text GLabel 2500 2700 2 50 Input ~ 0
SCL
Text GLabel 2500 2800 2 50 Input ~ 0
RST
Text GLabel 2500 3100 2 50 Input ~ 0
TX
Text GLabel 2500 3000 2 50 Input ~ 0
RX
Text GLabel 8550 2600 0 50 Input ~ 0
RST
Text GLabel 8550 2900 0 50 Input ~ 0
SDA
Text GLabel 8550 3000 0 50 Input ~ 0
SCL
Text GLabel 8550 1800 0 50 Input ~ 0
BTN1
Text GLabel 8550 1900 0 50 Input ~ 0
BTN2
Text GLabel 8550 2000 0 50 Input ~ 0
BTN3
Text GLabel 8550 2100 0 50 Input ~ 0
BTN4
Text GLabel 8550 1000 0 50 Input ~ 0
ENC1A
Text GLabel 8550 1200 0 50 Input ~ 0
ENC2A
Text GLabel 8550 1400 0 50 Input ~ 0
ENC3A
Text GLabel 8550 1500 0 50 Input ~ 0
ENC3B
Text GLabel 8550 1100 0 50 Input ~ 0
ENC1B
Text GLabel 8550 1300 0 50 Input ~ 0
ENC2B
Text GLabel 8550 1600 0 50 Input ~ 0
ENC4A
Text GLabel 8550 1700 0 50 Input ~ 0
ENC4B
Text GLabel 10700 4300 2 50 Input ~ 0
TX
Text GLabel 10700 4900 2 50 Input ~ 0
RX
Text GLabel 6500 5200 0 50 Input ~ 0
TX
Text GLabel 6500 4600 0 50 Input ~ 0
RX
Text GLabel 6500 4300 0 50 Input ~ 0
SDA
Text GLabel 6500 4900 0 50 Input ~ 0
SCL
Text GLabel 10700 4600 2 50 Input ~ 0
SCL
Text GLabel 10700 5200 2 50 Input ~ 0
SDA
Text GLabel 6500 5500 0 50 Input ~ 0
RST
Text Notes 0 150 0 79 ~ 16
Todo: add reset button, status rgb led and power led
Wire Wire Line
7000 5200 6850 5200
Text GLabel 10700 4000 2 50 Input ~ 0
RST
NoConn ~ 1200 1300
Wire Notes Line
6250 5750 10950 5750
Text Notes 1800 6950 0 50 ~ 0
ERC Flags
Wire Notes Line
2650 6950 1800 6950
Wire Notes Line
2650 7600 2650 6950
Wire Notes Line
1800 7600 2650 7600
Wire Notes Line
1800 6950 1800 7600
Wire Wire Line
2400 7200 2400 7350
Wire Wire Line
2050 7200 2050 7350
$Comp
L power:PWR_FLAG #FLG02
U 1 1 61261DA9
P 2400 7200
F 0 "#FLG02" H 2400 7275 50 0001 C CNN
F 1 "PWR_FLAG" H 2400 7373 50 0000 C CNN
F 2 "" H 2400 7200 50 0001 C CNN
F 3 "~" H 2400 7200 50 0001 C CNN
1 2400 7200
1 0 0 -1
$EndComp
$Comp
L power:PWR_FLAG #FLG01
U 1 1 61261172
P 2050 7350
F 0 "#FLG01" H 2050 7425 50 0001 C CNN
F 1 "PWR_FLAG" H 2050 7523 50 0000 C CNN
F 2 "" H 2050 7350 50 0001 C CNN
F 3 "~" H 2050 7350 50 0001 C CNN
1 2050 7350
-1 0 0 1
$EndComp
$Comp
L power:GND #PWR06
U 1 1 6125F0D6
P 2400 7350
F 0 "#PWR06" H 2400 7100 50 0001 C CNN
F 1 "GND" H 2405 7177 50 0000 C CNN
F 2 "" H 2400 7350 50 0001 C CNN
F 3 "" H 2400 7350 50 0001 C CNN
1 2400 7350
1 0 0 -1
$EndComp
$Comp
L power:VCC #PWR05
U 1 1 6125E759
P 2050 7200
F 0 "#PWR05" H 2050 7050 50 0001 C CNN
F 1 "VCC" H 2065 7373 50 0000 C CNN
F 2 "" H 2050 7200 50 0001 C CNN
F 3 "" H 2050 7200 50 0001 C CNN
1 2050 7200
1 0 0 -1
$EndComp
Text GLabel 6550 6950 2 50 Input ~ 0
RST
Text GLabel 6550 6850 2 50 Input ~ 0
SCK
Text GLabel 6550 6650 2 50 Input ~ 0
MISO
Text GLabel 6550 6750 2 50 Input ~ 0
MOSI
Text GLabel 1950 5950 1 50 Input ~ 0
RST
Text GLabel 1300 6050 1 50 Input ~ 0
XTAL2
Text GLabel 700 6050 1 50 Input ~ 0
XTAL1
Text Notes 3800 6000 0 50 ~ 0
Power LED
Wire Notes Line
5100 6000 3800 6000
Wire Notes Line
5100 7550 5100 6000
Wire Notes Line
3800 7550 5100 7550
Wire Notes Line
3800 6000 3800 7550
$Comp
L Device:LED D1
U 1 1 6113FB23
P 3900 7000
F 0 "D1" V 3939 6882 50 0000 R CNN
F 1 "17-21/BHC-XL2M2TY/3T" V 3848 6882 50 0000 R CNN
F 2 "LED_SMD:LED_0805_2012Metric_Castellated" H 3900 7000 50 0001 C CNN
F 3 "~" H 3900 7000 50 0001 C CNN
1 3900 7000
0 -1 -1 0
$EndComp
$Comp
L Device:R R2
U 1 1 6114AFDD
P 3900 6550
F 0 "R2" H 3830 6504 50 0000 R CNN
F 1 "200" H 3830 6595 50 0000 R CNN
F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder" V 3830 6550 50 0001 C CNN
F 3 "~" H 3900 6550 50 0001 C CNN
1 3900 6550
-1 0 0 1
$EndComp
$Comp
L power:GND #PWR010
U 1 1 61161984
P 3900 7300
F 0 "#PWR010" H 3900 7050 50 0001 C CNN
F 1 "GND" H 3905 7127 50 0000 C CNN
F 2 "" H 3900 7300 50 0001 C CNN
F 3 "" H 3900 7300 50 0001 C CNN
1 3900 7300
1 0 0 -1
$EndComp
$Comp
L power:VCC #PWR09
U 1 1 6116263D
P 3900 6250
F 0 "#PWR09" H 3900 6100 50 0001 C CNN
F 1 "VCC" H 3915 6423 50 0000 C CNN
F 2 "" H 3900 6250 50 0001 C CNN
F 3 "" H 3900 6250 50 0001 C CNN
1 3900 6250
1 0 0 -1
$EndComp
Wire Wire Line
3900 6250 3900 6400
Wire Wire Line
3900 6700 3900 6850
Wire Wire Line
3900 7150 3900 7300
Text Notes 1800 5700 0 50 ~ 0
Reset pullup
Text Notes 2450 5700 0 50 ~ 0
ATmega decoupling
Wire Notes Line
2200 5700 1800 5700
Wire Notes Line
2200 6800 2200 5700
Wire Notes Line
1800 6800 2200 6800
Wire Notes Line
1800 5700 1800 6800
Wire Notes Line
2950 5700 2450 5700
Wire Notes Line
2950 6800 2950 5700
Wire Notes Line
2450 6800 2950 6800
Wire Notes Line
2450 5700 2450 6800
Text Notes 550 5700 0 50 ~ 0
ATmega oscillator
Wire Notes Line
1600 5700 550 5700
Wire Notes Line
1600 7100 1600 5700
Wire Notes Line
550 7100 1600 7100
Wire Notes Line
550 5700 550 7100
Text Notes 5200 6000 0 50 ~ 0
ICSP Flashing Header
Wire Notes Line
6900 6000 5200 6000
Wire Notes Line
6900 7650 6900 6000
Wire Notes Line
5200 7650 6900 7650
Wire Notes Line
5200 6000 5200 7650
Wire Wire Line
1950 5950 1950 6050
Wire Wire Line
1950 6350 1950 6450
$Comp
L power:VCC #PWR04
U 1 1 61167C00
P 1950 6450
F 0 "#PWR04" H 1950 6300 50 0001 C CNN
F 1 "VCC" H 1965 6623 50 0000 C CNN
F 2 "" H 1950 6450 50 0001 C CNN
F 3 "" H 1950 6450 50 0001 C CNN
1 1950 6450
-1 0 0 1
$EndComp
Wire Wire Line
6450 6950 6550 6950
Wire Wire Line
6450 6850 6550 6850
Wire Wire Line
6450 6750 6550 6750
Wire Wire Line
6450 6650 6550 6650
Wire Wire Line
5950 7250 5950 7350
Wire Wire Line
5950 6250 5950 6350
$Comp
L power:GND #PWR012
U 1 1 6116239D
P 5950 7350
F 0 "#PWR012" H 5950 7100 50 0001 C CNN
F 1 "GND" H 5955 7177 50 0000 C CNN
F 2 "" H 5950 7350 50 0001 C CNN
F 3 "" H 5950 7350 50 0001 C CNN
1 5950 7350
1 0 0 -1
$EndComp
$Comp
L power:VCC #PWR011
U 1 1 61161D0D
P 5950 6250
F 0 "#PWR011" H 5950 6100 50 0001 C CNN
F 1 "VCC" H 5965 6423 50 0000 C CNN
F 2 "" H 5950 6250 50 0001 C CNN
F 3 "" H 5950 6250 50 0001 C CNN
1 5950 6250
1 0 0 -1
$EndComp
$Comp
L Connector:AVR-ISP-6 J2
U 1 1 61134728
P 6050 6850
F 0 "J2" H 5721 6946 50 0000 R CNN
F 1 "AVR-ISP-6" H 5721 6855 50 0000 R CNN
F 2 "AVR-ISP:AVR-ISP" V 5800 6900 50 0001 C CNN
F 3 " ~" H 4775 6300 50 0001 C CNN
1 6050 6850
1 0 0 -1
$EndComp
$Comp
L Device:Crystal Y1
U 1 1 6113484F
P 1000 6300
F 0 "Y1" H 1000 6568 50 0000 C CNN
F 1 "16MHz" H 1000 6477 50 0000 C CNN
F 2 "Crystal:Crystal_SMD_HC49-SD_HandSoldering" H 1000 6300 50 0001 C CNN
F 3 "~" H 1000 6300 50 0001 C CNN
1 1000 6300
1 0 0 -1
$EndComp
$Comp
L Device:C C1
U 1 1 6113DC2F
P 700 6550
F 0 "C1" H 815 6596 50 0000 L CNN
F 1 "22p" H 815 6505 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder" H 738 6400 50 0001 C CNN
F 3 "~" H 700 6550 50 0001 C CNN
1 700 6550
1 0 0 -1
$EndComp
$Comp
L Device:C C2
U 1 1 611448F1
P 1300 6550
F 0 "C2" H 1415 6596 50 0000 L CNN
F 1 "22p" H 1415 6505 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder" H 1338 6400 50 0001 C CNN
F 3 "~" H 1300 6550 50 0001 C CNN
1 1300 6550
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR01
U 1 1 611452AB
P 1000 6800
F 0 "#PWR01" H 1000 6550 50 0001 C CNN
F 1 "GND" H 1005 6627 50 0000 C CNN
F 2 "" H 1000 6800 50 0001 C CNN
F 3 "" H 1000 6800 50 0001 C CNN
1 1000 6800
1 0 0 -1
$EndComp
Wire Wire Line
700 6300 700 6400
Wire Wire Line
1300 6300 1300 6400
Wire Wire Line
700 6700 700 6800
Wire Wire Line
700 6800 1000 6800
Wire Wire Line
1300 6800 1300 6700
Wire Wire Line
1000 6800 1300 6800
Connection ~ 1000 6800
Wire Wire Line
700 6300 850 6300
Wire Wire Line
1150 6300 1300 6300
Wire Wire Line
700 6050 700 6300
Connection ~ 700 6300
Wire Wire Line
1300 6050 1300 6300
Connection ~ 1300 6300
Wire Wire Line
2600 6400 2600 6500
Wire Wire Line
2600 6000 2600 6100
$Comp
L Device:C C3
U 1 1 6115564D
P 2600 6250
F 0 "C3" H 2715 6296 50 0000 L CNN
F 1 "100n" H 2715 6205 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder" H 2638 6100 50 0001 C CNN
F 3 "~" H 2600 6250 50 0001 C CNN
1 2600 6250
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR08
U 1 1 61155121
P 2600 6500
F 0 "#PWR08" H 2600 6250 50 0001 C CNN
F 1 "GND" H 2605 6327 50 0000 C CNN
F 2 "" H 2600 6500 50 0001 C CNN
F 3 "" H 2600 6500 50 0001 C CNN
1 2600 6500
1 0 0 -1
$EndComp
$Comp
L power:VCC #PWR07
U 1 1 61154991
P 2600 6000
F 0 "#PWR07" H 2600 5850 50 0001 C CNN
F 1 "VCC" H 2615 6173 50 0000 C CNN
F 2 "" H 2600 6000 50 0001 C CNN
F 3 "" H 2600 6000 50 0001 C CNN
1 2600 6000
1 0 0 -1
$EndComp
$Comp
L Connector:Screw_Terminal_01x03 J1
U 1 1 6117AFF9
P 10100 1100
F 0 "J1" H 10180 1142 50 0000 L CNN
F 1 "Screw_Terminal_01x03" H 10180 1051 50 0000 L CNN
F 2 "CUI_TB006-508-03BE:CUI_TB006-508-03BE" H 10100 1100 50 0001 C CNN
F 3 "~" H 10100 1100 50 0001 C CNN
1 10100 1100
1 0 0 -1
$EndComp
$Comp
L TYPE-C-31-M-12:TYPE-C-31-M-12 J7
U 1 1 6118AF6C
P 4400 2250
F 0 "J7" H 4400 2917 50 0000 C CNN
F 1 "TYPE-C-31-M-12" H 4400 2826 50 0000 C CNN
F 2 "HRO_TYPE-C-31-M-12:HRO_TYPE-C-31-M-12" H 4400 2250 50 0001 L BNN
F 3 "https://datasheet.lcsc.com/lcsc/1811131825_Korean-Hroparts-Elec-TYPE-C-31-M-12_C165948.pdf" H 4400 2250 50 0001 L BNN
F 4 "3.31mm" H 4400 2250 50 0001 L BNN "MAXIMUM_PACKAGE_HEIGHT"
F 5 "Manufacturer Recommendations" H 4400 2250 50 0001 L BNN "STANDARD"
F 6 "A" H 4400 2250 50 0001 L BNN "PARTREV"
F 7 "HRO Electronics" H 4400 2250 50 0001 L BNN "MANUFACTURER"
1 4400 2250
1 0 0 -1
$EndComp
$Comp
L Interface_USB:CH340C U2
U 1 1 6118DFFB
P 6650 2150
F 0 "U2" H 6500 2000 50 0000 C CNN
F 1 "CH340C" H 6500 1900 50 0000 C CNN
F 2 "Package_SO:SOIC-16_3.9x9.9mm_P1.27mm" H 6700 1600 50 0001 L CNN
F 3 "https://datasheet.lcsc.com/szlcsc/Jiangsu-Qin-Heng-CH340C_C84681.pdf" H 6300 2950 50 0001 C CNN
1 6650 2150
1 0 0 -1
$EndComp
$Comp
L Connector:Screw_Terminal_01x03 J?
U 1 1 61192611
P 10100 1650
F 0 "J?" H 10180 1692 50 0000 L CNN
F 1 "Screw_Terminal_01x03" H 10180 1601 50 0000 L CNN
F 2 "CUI_TB006-508-03BE:CUI_TB006-508-03BE" H 10100 1650 50 0001 C CNN
F 3 "~" H 10100 1650 50 0001 C CNN
1 10100 1650
1 0 0 -1
$EndComp
$Comp
L Device:R R?
U 1 1 611931AE
P 2000 5550
F 0 "R?" V 1793 5550 50 0000 C CNN
F 1 "120" V 1884 5550 50 0000 C CNN
F 2 "" V 1930 5550 50 0001 C CNN
F 3 "~" H 2000 5550 50 0001 C CNN
1 2000 5550
0 1 1 0
$EndComp
$Comp
L Device:R R1
U 1 1 611669B4
P 1950 6200
F 0 "R1" H 2020 6246 50 0000 L CNN
F 1 "10k" H 2020 6155 50 0000 L CNN
F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder" V 1880 6200 50 0001 C CNN
F 3 "~" H 1950 6200 50 0001 C CNN
1 1950 6200
1 0 0 -1
$EndComp
Text Notes 1700 5300 0 50 ~ 0
add switchable 120ohm resistor to stop reset
$Comp
L Jumper:SolderJumper_2_Bridged JP?
U 1 1 6119BC53
P 6700 4600
F 0 "JP?" H 6700 4805 50 0000 C CNN
F 1 "SolderJumper_Bridged" H 6700 4714 50 0000 C CNN
F 2 "" H 6700 4600 50 0001 C CNN
F 3 "~" H 6700 4600 50 0001 C CNN
1 6700 4600
1 0 0 -1
$EndComp
$Comp
L Jumper:SolderJumper_2_Bridged JP?
U 1 1 6119D4AD
P 6700 5200
F 0 "JP?" H 6700 5405 50 0000 C CNN
F 1 "SolderJumper_Bridged" H 6700 5314 50 0000 C CNN
F 2 "" H 6700 5200 50 0001 C CNN
F 3 "~" H 6700 5200 50 0001 C CNN
1 6700 5200
1 0 0 -1
$EndComp
$Comp
L Jumper:SolderJumper_2_Bridged JP?
U 1 1 6119DE73
P 6700 5500
F 0 "JP?" H 6700 5705 50 0000 C CNN
F 1 "SolderJumper_Bridged" H 6700 5614 50 0000 C CNN
F 2 "" H 6700 5500 50 0001 C CNN
F 3 "~" H 6700 5500 50 0001 C CNN
1 6700 5500
1 0 0 -1
$EndComp
$Comp
L Jumper:SolderJumper_2_Bridged JP?
U 1 1 6119E34D
P 10500 4000
F 0 "JP?" H 10500 4205 50 0000 C CNN
F 1 "SolderJumper_Bridged" H 10500 4114 50 0000 C CNN
F 2 "" H 10500 4000 50 0001 C CNN
F 3 "~" H 10500 4000 50 0001 C CNN
1 10500 4000
1 0 0 -1
$EndComp
$Comp
L Jumper:SolderJumper_2_Bridged JP?
U 1 1 6119F385
P 10500 4300
F 0 "JP?" H 10500 4505 50 0000 C CNN
F 1 "SolderJumper_Bridged" H 10500 4414 50 0000 C CNN
F 2 "" H 10500 4300 50 0001 C CNN
F 3 "~" H 10500 4300 50 0001 C CNN
1 10500 4300
1 0 0 -1
$EndComp
$Comp
L Jumper:SolderJumper_2_Bridged JP?
U 1 1 6119F7AD
P 10500 4900
F 0 "JP?" H 10500 5105 50 0000 C CNN
F 1 "SolderJumper_Bridged" H 10500 5014 50 0000 C CNN
F 2 "" H 10500 4900 50 0001 C CNN
F 3 "~" H 10500 4900 50 0001 C CNN
1 10500 4900
1 0 0 -1
$EndComp
Text GLabel 8550 2400 0 50 Input ~ 0
TX
Text GLabel 8550 2500 0 50 Input ~ 0
RX
Text GLabel 7150 1750 2 50 Input ~ 0
RX
Text GLabel 7150 1850 2 50 Input ~ 0
TX
Text GLabel 3600 2150 0 50 Input ~ 0
D+
Text GLabel 3600 2250 0 50 Input ~ 0
D-
Text GLabel 5200 2250 2 50 Input ~ 0
D+
Text GLabel 5200 2150 2 50 Input ~ 0
D-
Text GLabel 6150 2150 0 50 Input ~ 0
D-
Text GLabel 6150 2050 0 50 Input ~ 0
D+
Wire Wire Line
3600 2150 3700 2150
Wire Wire Line
3600 2250 3700 2250
Wire Wire Line
5100 2150 5200 2150
Wire Wire Line
5100 2250 5200 2250
Wire Wire Line
6150 2050 6250 2050
Wire Wire Line
6150 2150 6250 2150
Wire Wire Line
7050 1750 7150 1750
Wire Wire Line
7050 1850 7150 1850
$Comp
L Device:C C?
U 1 1 6124E822
P 7300 2550
F 0 "C?" H 7415 2596 50 0000 L CNN
F 1 "100n" H 7415 2505 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder" H 7338 2400 50 0001 C CNN
F 3 "~" H 7300 2550 50 0001 C CNN
1 7300 2550
0 1 1 0
$EndComp
Text GLabel 7550 2550 2 50 Input ~ 0
RST
Wire Wire Line
7050 2550 7150 2550
Wire Wire Line
7450 2550 7550 2550
Text Notes 3250 5700 0 50 ~ 0
CH340C decoupling
Wire Notes Line
3750 5700 3250 5700
Wire Notes Line
3750 6800 3750 5700
Wire Notes Line
3250 6800 3750 6800
Wire Notes Line
3250 5700 3250 6800
Wire Wire Line
3400 6400 3400 6500
Wire Wire Line
3400 6000 3400 6100
$Comp
L Device:C C?
U 1 1 612767EE
P 3400 6250
F 0 "C?" H 3515 6296 50 0000 L CNN
F 1 "100n" H 3515 6205 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder" H 3438 6100 50 0001 C CNN
F 3 "~" H 3400 6250 50 0001 C CNN
1 3400 6250
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
U 1 1 612767F4
P 3400 6500
F 0 "#PWR?" H 3400 6250 50 0001 C CNN
F 1 "GND" H 3405 6327 50 0000 C CNN
F 2 "" H 3400 6500 50 0001 C CNN
F 3 "" H 3400 6500 50 0001 C CNN
1 3400 6500
1 0 0 -1
$EndComp
$Comp
L power:VCC #PWR?
U 1 1 612767FA
P 3400 6000
F 0 "#PWR?" H 3400 5850 50 0001 C CNN
F 1 "VCC" H 3415 6173 50 0000 C CNN
F 2 "" H 3400 6000 50 0001 C CNN
F 3 "" H 3400 6000 50 0001 C CNN
1 3400 6000
1 0 0 -1
$EndComp
$Comp
L power:VCC #PWR?
U 1 1 6127D497
P 6650 1400
F 0 "#PWR?" H 6650 1250 50 0001 C CNN
F 1 "VCC" H 6665 1573 50 0000 C CNN
F 2 "" H 6650 1400 50 0001 C CNN
F 3 "" H 6650 1400 50 0001 C CNN
1 6650 1400
1 0 0 -1
$EndComp
Wire Wire Line
6650 1400 6650 1550
$Comp
L power:GND #PWR?
U 1 1 61285B81
P 6650 2850
F 0 "#PWR?" H 6650 2600 50 0001 C CNN
F 1 "GND" H 6655 2677 50 0000 C CNN
F 2 "" H 6650 2850 50 0001 C CNN
F 3 "" H 6650 2850 50 0001 C CNN
1 6650 2850
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
U 1 1 6129550D
P 6100 1400
F 0 "#PWR?" H 6100 1150 50 0001 C CNN
F 1 "GND" H 6105 1227 50 0000 C CNN
F 2 "" H 6100 1400 50 0001 C CNN
F 3 "" H 6100 1400 50 0001 C CNN
1 6100 1400
0 1 1 0
$EndComp
$Comp
L Device:C C?
U 1 1 61296637
P 6400 1400
F 0 "C?" H 6515 1446 50 0000 L CNN
F 1 "100n" H 6515 1355 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder" H 6438 1250 50 0001 C CNN
F 3 "~" H 6400 1400 50 0001 C CNN
1 6400 1400
0 -1 -1 0
$EndComp
Wire Wire Line
6550 1400 6550 1550
Wire Wire Line
6100 1400 6250 1400
NoConn ~ 7050 2050
NoConn ~ 7050 2150
NoConn ~ 7050 2250
NoConn ~ 7050 2350
NoConn ~ 7050 2450
NoConn ~ 6250 1850
$Comp
L power:GND #PWR?
U 1 1 612D8ED6
P 4400 3050
F 0 "#PWR?" H 4400 2800 50 0001 C CNN
F 1 "GND" H 4405 2877 50 0000 C CNN
F 2 "" H 4400 3050 50 0001 C CNN
F 3 "" H 4400 3050 50 0001 C CNN
1 4400 3050
1 0 0 -1
$EndComp
Wire Wire Line
4150 2950 4150 3050
Wire Wire Line
4150 3050 4300 3050
Wire Wire Line
4650 3050 4650 2950
Connection ~ 4400 3050
Wire Wire Line
4400 3050 4500 3050
Wire Wire Line
4500 2950 4500 3050
Connection ~ 4500 3050
Wire Wire Line
4500 3050 4650 3050
Wire Wire Line
4300 2950 4300 3050
Connection ~ 4300 3050
Wire Wire Line
4300 3050 4400 3050
$Comp
L power:GND #PWR?
U 1 1 612E0E05
P 3600 2650
F 0 "#PWR?" H 3600 2400 50 0001 C CNN
F 1 "GND" V 3605 2522 50 0000 R CNN
F 2 "" H 3600 2650 50 0001 C CNN
F 3 "" H 3600 2650 50 0001 C CNN
1 3600 2650
0 1 1 0
$EndComp
Wire Wire Line
3600 2650 3700 2650
$Comp
L power:GND #PWR?
U 1 1 612E9092
P 5200 2650
F 0 "#PWR?" H 5200 2400 50 0001 C CNN
F 1 "GND" V 5205 2522 50 0000 R CNN
F 2 "" H 5200 2650 50 0001 C CNN
F 3 "" H 5200 2650 50 0001 C CNN
1 5200 2650
0 -1 -1 0
$EndComp
Wire Wire Line
5200 2650 5100 2650
$Comp
L power:VCC #PWR?
U 1 1 612F2964
P 3600 1850
F 0 "#PWR?" H 3600 1700 50 0001 C CNN
F 1 "VCC" V 3615 1977 50 0000 L CNN
F 2 "" H 3600 1850 50 0001 C CNN
F 3 "" H 3600 1850 50 0001 C CNN
1 3600 1850
0 -1 -1 0
$EndComp
Wire Wire Line
3600 1850 3700 1850
$Comp
L power:VCC #PWR?
U 1 1 612FAFB2
P 5200 1850
F 0 "#PWR?" H 5200 1700 50 0001 C CNN
F 1 "VCC" V 5215 1977 50 0000 L CNN
F 2 "" H 5200 1850 50 0001 C CNN
F 3 "" H 5200 1850 50 0001 C CNN
1 5200 1850
0 1 1 0
$EndComp
Wire Wire Line
5200 1850 5100 1850
$Comp
L Device:R R?
U 1 1 61303408
P 7850 4100
F 0 "R?" H 7780 4054 50 0000 R CNN
F 1 "100" H 7780 4145 50 0000 R CNN
F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder" V 7780 4100 50 0001 C CNN
F 3 "~" H 7850 4100 50 0001 C CNN
1 7850 4100
1 0 0 -1
$EndComp
Wire Wire Line
7850 3850 7850 3950
Wire Wire Line
6650 2750 6650 2850
$Comp
L power:VCC #PWR?
U 1 1 6132AA97
P 9450 3850
F 0 "#PWR?" H 9450 3700 50 0001 C CNN
F 1 "VCC" V 9465 3977 50 0000 L CNN
F 2 "" H 9450 3850 50 0001 C CNN
F 3 "" H 9450 3850 50 0001 C CNN
1 9450 3850
1 0 0 -1
$EndComp
$Comp
L Device:R R?
U 1 1 6132AA9D
P 9450 4100
F 0 "R?" H 9380 4054 50 0000 R CNN
F 1 "100" H 9380 4145 50 0000 R CNN
F 2 "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder" V 9380 4100 50 0001 C CNN
F 3 "~" H 9450 4100 50 0001 C CNN
1 9450 4100
1 0 0 -1
$EndComp
NoConn ~ 5100 2050
NoConn ~ 5100 2350
NoConn ~ 3700 2050
NoConn ~ 3700 2350
$Comp
L power:GND #PWR?
U 1 1 613557BF
P 9800 1750
F 0 "#PWR?" H 9800 1500 50 0001 C CNN
F 1 "GND" H 9805 1577 50 0000 C CNN
F 2 "" H 9800 1750 50 0001 C CNN
F 3 "" H 9800 1750 50 0001 C CNN
1 9800 1750
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
U 1 1 61356B7F
P 9800 1200
F 0 "#PWR?" H 9800 950 50 0001 C CNN
F 1 "GND" H 9805 1027 50 0000 C CNN
F 2 "" H 9800 1200 50 0001 C CNN
F 3 "" H 9800 1200 50 0001 C CNN
1 9800 1200
1 0 0 -1
$EndComp
Text GLabel 9800 1000 0 50 Input ~ 0
SIG1A
Text GLabel 9800 1100 0 50 Input ~ 0
SIG1B
Text GLabel 9800 1550 0 50 Input ~ 0
SIG2A
Text GLabel 9800 1650 0 50 Input ~ 0
SIG2B
Wire Wire Line
9800 1000 9900 1000
Wire Wire Line
9800 1100 9900 1100
Wire Wire Line
9800 1200 9900 1200
Wire Wire Line
9800 1550 9900 1550
Wire Wire Line
9800 1650 9900 1650
Wire Wire Line
9800 1750 9900 1750
Wire Wire Line
2400 1500 2500 1500
Text GLabel 2500 1400 2 50 Input ~ 0
SIG1A
Text GLabel 2500 1500 2 50 Input ~ 0
SIG1B
Text GLabel 2500 3500 2 50 Input ~ 0
SIG2A
Text GLabel 2500 3600 2 50 Input ~ 0
SIG2B
Wire Wire Line
9450 3850 9450 3950
$EndSCHEMATC