DeskControl/pcb/main/DeskControl.bak
Mark van Renswoude 72fd1af579 Finished v1 of the PCB layout
Completed initialisation sequence
Implemented screen system
2020-01-28 16:52:26 +01:00

615 lines
14 KiB
Plaintext

EESchema Schematic File Version 4
LIBS:DeskControl-cache
EELAYER 26 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L MCU_Microchip_ATmega:ATmega328-AU U1
U 1 1 5D753A97
P 5100 3400
F 0 "U1" H 4200 2050 50 0000 C CNN
F 1 "ATmega328-AU" H 4200 2150 50 0000 C CNN
F 2 "Housings_QFP:TQFP-32_7x7mm_Pitch0.8mm" H 5100 3400 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 5100 3400 50 0001 C CNN
1 5100 3400
1 0 0 -1
$EndComp
$Comp
L Connector_Generic:Conn_01x04 J2
U 1 1 5D753B7C
P 9400 2250
F 0 "J2" H 9479 2242 50 0000 L CNN
F 1 "VL54L0X" H 9479 2151 50 0000 L CNN
F 2 "Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mm" H 9400 2250 50 0001 C CNN
F 3 "~" H 9400 2250 50 0001 C CNN
1 9400 2250
1 0 0 -1
$EndComp
$Comp
L Connector_Generic:Conn_02x03_Odd_Even J1
U 1 1 5D753DE7
P 9350 3100
F 0 "J1" H 9400 3417 50 0000 C CNN
F 1 "PROG" H 9400 3326 50 0000 C CNN
F 2 "Pin_Headers:Pin_Header_Straight_2x03_Pitch2.54mm" H 9350 3100 50 0001 C CNN
F 3 "~" H 9350 3100 50 0001 C CNN
1 9350 3100
1 0 0 -1
$EndComp
Text GLabel 9150 3000 0 50 Input ~ 0
MISO
Text GLabel 9150 3100 0 50 Input ~ 0
SCK
Text GLabel 9150 3200 0 50 Input ~ 0
RST
Text GLabel 9650 3100 2 50 Input ~ 0
MOSI
$Comp
L power:+5V #PWR08
U 1 1 5D753EAE
P 9750 3000
F 0 "#PWR08" H 9750 2850 50 0001 C CNN
F 1 "+5V" H 9765 3173 50 0000 C CNN
F 2 "" H 9750 3000 50 0001 C CNN
F 3 "" H 9750 3000 50 0001 C CNN
1 9750 3000
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR09
U 1 1 5D753EEB
P 9750 3200
F 0 "#PWR09" H 9750 2950 50 0001 C CNN
F 1 "GND" H 9755 3027 50 0000 C CNN
F 2 "" H 9750 3200 50 0001 C CNN
F 3 "" H 9750 3200 50 0001 C CNN
1 9750 3200
1 0 0 -1
$EndComp
Wire Wire Line
9650 3000 9750 3000
Wire Wire Line
9650 3200 9750 3200
$Comp
L power:+5V #PWR04
U 1 1 5D753F2B
P 8900 2350
F 0 "#PWR04" H 8900 2200 50 0001 C CNN
F 1 "+5V" H 8915 2523 50 0000 C CNN
F 2 "" H 8900 2350 50 0001 C CNN
F 3 "" H 8900 2350 50 0001 C CNN
1 8900 2350
-1 0 0 1
$EndComp
$Comp
L power:GND #PWR06
U 1 1 5D753F42
P 9100 2450
F 0 "#PWR06" H 9100 2200 50 0001 C CNN
F 1 "GND" H 9105 2277 50 0000 C CNN
F 2 "" H 9100 2450 50 0001 C CNN
F 3 "" H 9100 2450 50 0001 C CNN
1 9100 2450
1 0 0 -1
$EndComp
Wire Wire Line
9100 2450 9200 2450
Wire Wire Line
9200 2350 8900 2350
Text GLabel 9200 2150 0 50 Input ~ 0
SDA
Text GLabel 9200 2250 0 50 Input ~ 0
SCL
$Comp
L power:+5V #PWR01
U 1 1 5D7540FC
P 900 900
F 0 "#PWR01" H 900 750 50 0001 C CNN
F 1 "+5V" H 915 1073 50 0000 C CNN
F 2 "" H 900 900 50 0001 C CNN
F 3 "" H 900 900 50 0001 C CNN
1 900 900
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR03
U 1 1 5D754134
P 900 1450
F 0 "#PWR03" H 900 1200 50 0001 C CNN
F 1 "GND" H 905 1277 50 0000 C CNN
F 2 "" H 900 1450 50 0001 C CNN
F 3 "" H 900 1450 50 0001 C CNN
1 900 1450
1 0 0 -1
$EndComp
$Comp
L power:PWR_FLAG #FLG02
U 1 1 5D754186
P 900 1450
F 0 "#FLG02" H 900 1525 50 0001 C CNN
F 1 "PWR_FLAG" H 900 1624 50 0000 C CNN
F 2 "" H 900 1450 50 0001 C CNN
F 3 "~" H 900 1450 50 0001 C CNN
1 900 1450
1 0 0 -1
$EndComp
$Comp
L power:PWR_FLAG #FLG01
U 1 1 5D7541A4
P 900 900
F 0 "#FLG01" H 900 975 50 0001 C CNN
F 1 "PWR_FLAG" H 900 1073 50 0000 C CNN
F 2 "" H 900 900 50 0001 C CNN
F 3 "~" H 900 900 50 0001 C CNN
1 900 900
-1 0 0 1
$EndComp
$Comp
L Device:C C3
U 1 1 5D754323
P 3900 2350
F 0 "C3" H 3785 2304 50 0000 R CNN
F 1 "100nF" H 3785 2395 50 0000 R CNN
F 2 "Capacitors_SMD:C_1206" H 3938 2200 50 0001 C CNN
F 3 "~" H 3900 2350 50 0001 C CNN
1 3900 2350
-1 0 0 1
$EndComp
$Comp
L power:GND #PWR07
U 1 1 5D75441A
P 3350 2750
F 0 "#PWR07" H 3350 2500 50 0001 C CNN
F 1 "GND" H 3355 2577 50 0000 C CNN
F 2 "" H 3350 2750 50 0001 C CNN
F 3 "" H 3350 2750 50 0001 C CNN
1 3350 2750
1 0 0 -1
$EndComp
$Comp
L Device:C C2
U 1 1 5D7545D2
P 3350 2350
F 0 "C2" H 3235 2304 50 0000 R CNN
F 1 "100nF" H 3235 2395 50 0000 R CNN
F 2 "Capacitors_SMD:C_1206" H 3388 2200 50 0001 C CNN
F 3 "~" H 3350 2350 50 0001 C CNN
1 3350 2350
-1 0 0 1
$EndComp
$Comp
L Device:C C1
U 1 1 5D75463E
P 2800 2350
F 0 "C1" H 2685 2304 50 0000 R CNN
F 1 "10uF" H 2685 2395 50 0000 R CNN
F 2 "Capacitors_Tantalum_SMD:CP_Tantalum_Case-D_EIA-7343-31_Reflow" H 2838 2200 50 0001 C CNN
F 3 "~" H 2800 2350 50 0001 C CNN
1 2800 2350
-1 0 0 1
$EndComp
Wire Wire Line
2800 2200 3100 2200
Wire Wire Line
3900 2200 4500 2200
$Comp
L power:+5V #PWR02
U 1 1 5D754E27
P 3100 1400
F 0 "#PWR02" H 3100 1250 50 0001 C CNN
F 1 "+5V" H 3115 1573 50 0000 C CNN
F 2 "" H 3100 1400 50 0001 C CNN
F 3 "" H 3100 1400 50 0001 C CNN
1 3100 1400
1 0 0 -1
$EndComp
Connection ~ 3100 2200
Wire Wire Line
3100 2200 3350 2200
Wire Wire Line
5200 1900 5200 1750
Wire Wire Line
5200 1750 5100 1750
Wire Wire Line
5100 1750 5100 1900
Wire Wire Line
5100 1750 3100 1750
Connection ~ 5100 1750
Wire Wire Line
3900 2500 3900 2650
Wire Wire Line
3900 2650 3350 2650
Wire Wire Line
3350 2650 3350 2750
Wire Wire Line
3350 2500 3350 2650
Connection ~ 3350 2650
Wire Wire Line
2800 2500 2800 2650
Wire Wire Line
2800 2650 3350 2650
NoConn ~ 4500 2400
NoConn ~ 4500 2500
Wire Wire Line
3100 1400 3100 1750
Connection ~ 3100 1750
Wire Wire Line
3100 1750 3100 2200
$Comp
L Device:C C4
U 1 1 5D75696A
P 6800 2700
F 0 "C4" V 7052 2700 50 0000 C CNN
F 1 "33pF" V 6961 2700 50 0000 C CNN
F 2 "Capacitors_SMD:C_1206" H 6838 2550 50 0001 C CNN
F 3 "~" H 6800 2700 50 0001 C CNN
1 6800 2700
0 -1 -1 0
$EndComp
$Comp
L Device:C C5
U 1 1 5D756A0E
P 6800 3150
F 0 "C5" V 7052 3150 50 0000 C CNN
F 1 "33pF" V 6961 3150 50 0000 C CNN
F 2 "Capacitors_SMD:C_1206" H 6838 3000 50 0001 C CNN
F 3 "~" H 6800 3150 50 0001 C CNN
1 6800 3150
0 -1 -1 0
$EndComp
$Comp
L power:GND #PWR010
U 1 1 5D756A8A
P 7100 3300
F 0 "#PWR010" H 7100 3050 50 0001 C CNN
F 1 "GND" H 7105 3127 50 0000 C CNN
F 2 "" H 7100 3300 50 0001 C CNN
F 3 "" H 7100 3300 50 0001 C CNN
1 7100 3300
1 0 0 -1
$EndComp
Wire Wire Line
6950 3150 7100 3150
Wire Wire Line
7100 3150 7100 3300
Wire Wire Line
6950 2700 7100 2700
Wire Wire Line
7100 2700 7100 3150
Connection ~ 7100 3150
$Comp
L Device:Crystal XTAL1
U 1 1 5D756FAB
P 6500 2950
F 0 "XTAL1" V 6550 3300 50 0000 R CNN
F 1 "16 Mhz" V 6450 3350 50 0000 R CNN
F 2 "Crystals:Crystal_HC49-U_Vertical" H 6500 2950 50 0001 C CNN
F 3 "~" H 6500 2950 50 0001 C CNN
1 6500 2950
0 -1 -1 0
$EndComp
Wire Wire Line
6500 2800 6500 2700
Wire Wire Line
6500 2700 6650 2700
Wire Wire Line
6500 3100 6500 3150
Wire Wire Line
6500 3150 6650 3150
Wire Wire Line
5700 2800 6050 2800
Wire Wire Line
6050 2800 6050 2700
Wire Wire Line
6050 2700 6500 2700
Connection ~ 6500 2700
Wire Wire Line
5700 2900 6050 2900
Wire Wire Line
6050 2900 6050 3150
Wire Wire Line
6050 3150 6500 3150
Connection ~ 6500 3150
Text GLabel 5700 3500 2 50 Input ~ 0
SDA
Text GLabel 5700 3600 2 50 Input ~ 0
SCL
Text GLabel 5700 2500 2 50 Input ~ 0
MOSI
Text GLabel 5700 2600 2 50 Input ~ 0
MISO
Text GLabel 5700 2700 2 50 Input ~ 0
SCK
$Comp
L Device:R R1
U 1 1 5D758534
P 6250 3550
F 0 "R1" H 6320 3596 50 0000 L CNN
F 1 "10k" H 6320 3505 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 6180 3550 50 0001 C CNN
F 3 "~" H 6250 3550 50 0001 C CNN
1 6250 3550
1 0 0 -1
$EndComp
$Comp
L power:+5V #PWR011
U 1 1 5D7585CC
P 6250 3400
F 0 "#PWR011" H 6250 3250 50 0001 C CNN
F 1 "+5V" H 6265 3573 50 0000 C CNN
F 2 "" H 6250 3400 50 0001 C CNN
F 3 "" H 6250 3400 50 0001 C CNN
1 6250 3400
1 0 0 -1
$EndComp
Wire Wire Line
5700 3700 6250 3700
Text GLabel 6450 3700 2 50 Input ~ 0
RST
Wire Wire Line
6250 3700 6450 3700
Connection ~ 6250 3700
$Comp
L power:GND #PWR012
U 1 1 5D75920D
P 5100 4900
F 0 "#PWR012" H 5100 4650 50 0001 C CNN
F 1 "GND" H 5105 4727 50 0000 C CNN
F 2 "" H 5100 4900 50 0001 C CNN
F 3 "" H 5100 4900 50 0001 C CNN
1 5100 4900
1 0 0 -1
$EndComp
$Comp
L Switch:SW_Push SW1
U 1 1 5D759C24
P 9300 4900
F 0 "SW1" H 9300 5185 50 0000 C CNN
F 1 "SW_Push" H 9300 5094 50 0000 C CNN
F 2 "SMD-BUTTON:SW4-SMD-5.2X5.2X1.5MM" H 9300 5100 50 0001 C CNN
F 3 "" H 9300 5100 50 0001 C CNN
1 9300 4900
1 0 0 -1
$EndComp
$Comp
L Switch:SW_Push SW2
U 1 1 5D759CB0
P 9300 5300
F 0 "SW2" H 9300 5585 50 0000 C CNN
F 1 "SW_Push" H 9300 5494 50 0000 C CNN
F 2 "SMD-BUTTON:SW4-SMD-5.2X5.2X1.5MM" H 9300 5500 50 0001 C CNN
F 3 "" H 9300 5500 50 0001 C CNN
1 9300 5300
1 0 0 -1
$EndComp
$Comp
L Switch:SW_Push SW3
U 1 1 5D759CF0
P 9300 5700
F 0 "SW3" H 9300 5985 50 0000 C CNN
F 1 "SW_Push" H 9300 5894 50 0000 C CNN
F 2 "SMD-BUTTON:SW4-SMD-5.2X5.2X1.5MM" H 9300 5900 50 0001 C CNN
F 3 "" H 9300 5900 50 0001 C CNN
1 9300 5700
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR05
U 1 1 5D75B49B
P 9600 5700
F 0 "#PWR05" H 9600 5450 50 0001 C CNN
F 1 "GND" H 9605 5527 50 0000 C CNN
F 2 "" H 9600 5700 50 0001 C CNN
F 3 "" H 9600 5700 50 0001 C CNN
1 9600 5700
1 0 0 -1
$EndComp
Wire Wire Line
9500 5700 9600 5700
Wire Wire Line
9500 5300 9600 5300
Wire Wire Line
9600 5300 9600 5700
Connection ~ 9600 5700
Wire Wire Line
9500 4900 9600 4900
Wire Wire Line
9600 4900 9600 5300
Connection ~ 9600 5300
NoConn ~ 5700 4100
NoConn ~ 5700 4300
$Comp
L Connector_Generic:Conn_01x08 J3
U 1 1 5D7651C5
P 9650 3850
F 0 "J3" H 9800 3900 50 0000 L CNN
F 1 "PoluluG2" H 9730 3801 50 0000 L CNN
F 2 "Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mm" H 9650 3850 50 0001 C CNN
F 3 "~" H 9650 3850 50 0001 C CNN
1 9650 3850
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR014
U 1 1 5D765563
P 9000 3550
F 0 "#PWR014" H 9000 3300 50 0001 C CNN
F 1 "GND" H 9005 3377 50 0000 C CNN
F 2 "" H 9000 3550 50 0001 C CNN
F 3 "" H 9000 3550 50 0001 C CNN
1 9000 3550
1 0 0 -1
$EndComp
Wire Wire Line
9000 3550 9450 3550
Text GLabel 5700 2200 2 50 Input ~ 0
LCD-DC
Text GLabel 5700 2300 2 50 Input ~ 0
LCD-RST
Text GLabel 5700 4600 2 50 Input ~ 0
LCD-BL
Text GLabel 5700 3100 2 50 Input ~ 0
M-PWM
Text GLabel 5700 3200 2 50 Input ~ 0
M-DIR
Text GLabel 5700 3300 2 50 Input ~ 0
M-SLP
Text GLabel 5700 3400 2 50 Input ~ 0
M-CS
Text GLabel 5700 4200 2 50 Input ~ 0
BTN-UP
Text GLabel 5700 4400 2 50 Input ~ 0
BTN-MENU
Text GLabel 5700 4500 2 50 Input ~ 0
BTN-DOWN
Text GLabel 9100 4900 0 50 Input ~ 0
BTN-UP
Text GLabel 9100 5300 0 50 Input ~ 0
BTN-MENU
Text GLabel 9100 5700 0 50 Input ~ 0
BTN-DOWN
Text GLabel 9450 4050 0 50 Input ~ 0
M-CS
Text GLabel 9450 3850 0 50 Input ~ 0
M-SLP
Text GLabel 9450 3650 0 50 Input ~ 0
M-DIR
Text GLabel 9450 3750 0 50 Input ~ 0
M-PWM
NoConn ~ 9450 3950
NoConn ~ 9450 4150
$Comp
L power:+5V #PWR0101
U 1 1 5E2FA39D
P 9150 4250
F 0 "#PWR0101" H 9150 4100 50 0001 C CNN
F 1 "+5V" H 9165 4423 50 0000 C CNN
F 2 "" H 9150 4250 50 0001 C CNN
F 3 "" H 9150 4250 50 0001 C CNN
1 9150 4250
-1 0 0 1
$EndComp
Wire Wire Line
9450 4250 9150 4250
$Comp
L Connector_Generic:Conn_01x02 J4
U 1 1 5E2FAE20
P 9400 1600
F 0 "J4" H 9479 1592 50 0000 L CNN
F 1 "PWR" H 9479 1501 50 0000 L CNN
F 2 "Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mm" H 9400 1600 50 0001 C CNN
F 3 "~" H 9400 1600 50 0001 C CNN
1 9400 1600
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0102
U 1 1 5E2FAFB3
P 9100 1700
F 0 "#PWR0102" H 9100 1450 50 0001 C CNN
F 1 "GND" H 9105 1527 50 0000 C CNN
F 2 "" H 9100 1700 50 0001 C CNN
F 3 "" H 9100 1700 50 0001 C CNN
1 9100 1700
1 0 0 -1
$EndComp
Wire Wire Line
9100 1700 9200 1700
Wire Wire Line
9200 1600 8900 1600
$Comp
L power:+12V #PWR0103
U 1 1 5E2FB825
P 8900 1600
F 0 "#PWR0103" H 8900 1450 50 0001 C CNN
F 1 "+12V" H 8915 1773 50 0000 C CNN
F 2 "" H 8900 1600 50 0001 C CNN
F 3 "" H 8900 1600 50 0001 C CNN
1 8900 1600
-1 0 0 1
$EndComp
$Comp
L power:+12V #PWR0104
U 1 1 5E2FBA44
P 1400 900
F 0 "#PWR0104" H 1400 750 50 0001 C CNN
F 1 "+12V" H 1415 1073 50 0000 C CNN
F 2 "" H 1400 900 50 0001 C CNN
F 3 "" H 1400 900 50 0001 C CNN
1 1400 900
1 0 0 -1
$EndComp
$Comp
L power:PWR_FLAG #FLG0101
U 1 1 5E2FBA8B
P 1400 900
F 0 "#FLG0101" H 1400 975 50 0001 C CNN
F 1 "PWR_FLAG" H 1400 1073 50 0000 C CNN
F 2 "" H 1400 900 50 0001 C CNN
F 3 "~" H 1400 900 50 0001 C CNN
1 1400 900
-1 0 0 1
$EndComp
NoConn ~ 5700 3900
NoConn ~ 5700 4000
NoConn ~ 5700 2400
$Comp
L Connector_Generic:Conn_01x07 J5
U 1 1 5E2FE0A5
P 7300 5400
F 0 "J5" H 7379 5392 50 0000 L CNN
F 1 "ST7789" H 7379 5301 50 0000 L CNN
F 2 "Pin_Headers:Pin_Header_Straight_1x04_Pitch2.54mm" H 7300 5400 50 0001 C CNN
F 3 "~" H 7300 5400 50 0001 C CNN
1 7300 5400
1 0 0 -1
$EndComp
Text GLabel 7100 5300 0 50 Input ~ 0
SCK
Text GLabel 7100 5400 0 50 Input ~ 0
MOSI
Text GLabel 7100 5500 0 50 Input ~ 0
LCD-RST
Text GLabel 7100 5600 0 50 Input ~ 0
LCD-DC
$Comp
L power:GND #PWR013
U 1 1 5E2FE81E
P 6450 5100
F 0 "#PWR013" H 6450 4850 50 0001 C CNN
F 1 "GND" H 6455 4927 50 0000 C CNN
F 2 "" H 6450 5100 50 0001 C CNN
F 3 "" H 6450 5100 50 0001 C CNN
1 6450 5100
1 0 0 -1
$EndComp
$Comp
L power:+5V #PWR015
U 1 1 5E2FEBC9
P 6650 5200
F 0 "#PWR015" H 6650 5050 50 0001 C CNN
F 1 "+5V" H 6665 5373 50 0000 C CNN
F 2 "" H 6650 5200 50 0001 C CNN
F 3 "" H 6650 5200 50 0001 C CNN
1 6650 5200
-1 0 0 1
$EndComp
Wire Wire Line
6650 5200 7100 5200
Wire Wire Line
7100 5100 6450 5100
Text GLabel 7100 5700 0 50 Input ~ 0
LCD-BL
$EndSCHEMATC