SolarLader_Hardware/Microcontroller.sch

591 lines
12 KiB
Plaintext
Raw Normal View History

EESchema Schematic File Version 2
LIBS:power
LIBS:device
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:stm32
LIBS:bytewerk-drivers
LIBS:bytewerk-opamp
LIBS:bytewerk-diodes
LIBS:SolarLader-cache
EELAYER 25 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 2 3
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L STM32F030K6 U201
U 1 1 5761A64E
P 3650 3050
F 0 "U201" H 2100 4650 50 0000 C CNN
F 1 "STM32F030K6" H 4950 1450 50 0000 C CNN
F 2 "SMD_Packages:TQFP-32" H 3650 2950 50 0000 C CIN
F 3 "" H 3650 3050 50 0000 C CNN
1 3650 3050
1 0 0 -1
$EndComp
Text HLabel 6000 1850 2 60 Input ~ 0
VInSense
Text HLabel 6000 1950 2 60 Input ~ 0
VOutSense
Text HLabel 6000 2050 2 60 Input ~ 0
CurrentSense
Text HLabel 6000 2650 2 60 Output ~ 0
SW_on
Text HLabel 6000 2750 2 60 Output ~ 0
BootstrapPulse
Wire Wire Line
6000 1850 5450 1850
Wire Wire Line
6000 1950 5450 1950
Wire Wire Line
5450 2050 6000 2050
Wire Wire Line
6000 2650 5450 2650
Wire Wire Line
5450 2750 6000 2750
Wire Wire Line
3550 1350 3550 1050
Wire Wire Line
3550 1050 3850 1050
Wire Wire Line
3850 1050 3850 1350
Wire Wire Line
3650 950 3650 1350
Connection ~ 3650 1050
$Comp
L +3.3V #PWR012
U 1 1 5761AD0C
P 3650 950
F 0 "#PWR012" H 3650 800 50 0001 C CNN
F 1 "+3.3V" H 3650 1090 50 0000 C CNN
F 2 "" H 3650 950 50 0000 C CNN
F 3 "" H 3650 950 50 0000 C CNN
1 3650 950
1 0 0 -1
$EndComp
$Comp
L GND #PWR013
U 1 1 5761AD2F
P 3700 4850
F 0 "#PWR013" H 3700 4600 50 0001 C CNN
F 1 "GND" H 3700 4700 50 0000 C CNN
F 2 "" H 3700 4850 50 0000 C CNN
F 3 "" H 3700 4850 50 0000 C CNN
1 3700 4850
1 0 0 -1
$EndComp
Wire Wire Line
3650 4750 3650 4800
Wire Wire Line
3650 4800 3750 4800
Wire Wire Line
3750 4800 3750 4750
Wire Wire Line
3700 4800 3700 4850
Connection ~ 3700 4800
$Comp
L C C203
U 1 1 5761AD6C
P 10100 1150
F 0 "C203" H 10125 1250 50 0000 L CNN
F 1 "100nF" H 10125 1050 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603_HandSoldering" H 10138 1000 50 0001 C CNN
F 3 "" H 10100 1150 50 0000 C CNN
1 10100 1150
1 0 0 -1
$EndComp
$Comp
L C C204
U 1 1 5761ADD1
P 10450 1150
F 0 "C204" H 10475 1250 50 0000 L CNN
F 1 "100nF" H 10475 1050 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603_HandSoldering" H 10488 1000 50 0001 C CNN
F 3 "" H 10450 1150 50 0000 C CNN
1 10450 1150
1 0 0 -1
$EndComp
$Comp
L C C205
U 1 1 5761ADF4
P 10750 1150
F 0 "C205" H 10775 1250 50 0000 L CNN
F 1 "100nF" H 10775 1050 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603_HandSoldering" H 10788 1000 50 0001 C CNN
F 3 "" H 10750 1150 50 0000 C CNN
1 10750 1150
1 0 0 -1
$EndComp
Wire Wire Line
10100 1300 10100 1400
Wire Wire Line
10100 1400 10750 1400
Wire Wire Line
10750 1400 10750 1300
Wire Wire Line
10450 1300 10450 1500
Connection ~ 10450 1400
Wire Wire Line
10100 1000 10100 900
Wire Wire Line
10100 900 10750 900
Wire Wire Line
10750 900 10750 1000
Wire Wire Line
10450 800 10450 1000
Connection ~ 10450 900
$Comp
L +3.3V #PWR014
U 1 1 5761B30C
P 10450 800
F 0 "#PWR014" H 10450 650 50 0001 C CNN
F 1 "+3.3V" H 10450 940 50 0000 C CNN
F 2 "" H 10450 800 50 0000 C CNN
F 3 "" H 10450 800 50 0000 C CNN
1 10450 800
1 0 0 -1
$EndComp
$Comp
L GND #PWR015
U 1 1 5761B323
P 10450 1500
F 0 "#PWR015" H 10450 1250 50 0001 C CNN
F 1 "GND" H 10450 1350 50 0000 C CNN
F 2 "" H 10450 1500 50 0000 C CNN
F 3 "" H 10450 1500 50 0000 C CNN
1 10450 1500
1 0 0 -1
$EndComp
$Comp
L CONN_01X06 P202
U 1 1 5761B5EA
P 5950 7400
F 0 "P202" H 5950 7750 50 0000 C CNN
F 1 "CONN_SWD" V 6050 7400 50 0000 C CNN
F 2 "Pin_Arrays:pin_array_1x06" H 5950 7400 50 0001 C CNN
F 3 "" H 5950 7400 50 0000 C CNN
1 5950 7400
1 0 0 -1
$EndComp
$Comp
L +3.3V #PWR016
U 1 1 5761B82B
P 5650 7050
F 0 "#PWR016" H 5650 6900 50 0001 C CNN
F 1 "+3.3V" H 5650 7190 50 0000 C CNN
F 2 "" H 5650 7050 50 0000 C CNN
F 3 "" H 5650 7050 50 0000 C CNN
1 5650 7050
1 0 0 -1
$EndComp
Wire Wire Line
5650 7050 5650 7150
Wire Wire Line
5650 7150 5750 7150
NoConn ~ 5750 7650
Wire Wire Line
5750 7250 5200 7250
Text Label 5200 7250 0 60 ~ 0
SWCLK
Text Label 5200 7450 0 60 ~ 0
SWDIO
Text Label 5200 7550 0 60 ~ 0
RST_N
Wire Wire Line
5200 7550 5750 7550
Wire Wire Line
5750 7450 5200 7450
$Comp
L GND #PWR017
U 1 1 5761B92E
P 5050 7450
F 0 "#PWR017" H 5050 7200 50 0001 C CNN
F 1 "GND" H 5050 7300 50 0000 C CNN
F 2 "" H 5050 7450 50 0000 C CNN
F 3 "" H 5050 7450 50 0000 C CNN
1 5050 7450
1 0 0 -1
$EndComp
Wire Wire Line
5050 7450 5050 7350
Wire Wire Line
5050 7350 5750 7350
Text Label 1250 1850 0 60 ~ 0
RST_N
Wire Wire Line
1250 1850 1850 1850
$Comp
L R R201
U 1 1 5761B9EF
P 1700 1600
F 0 "R201" V 1780 1600 50 0000 C CNN
F 1 "10k" V 1700 1600 50 0000 C CNN
F 2 "Resistors_SMD:R_0603_HandSoldering" V 1630 1600 50 0001 C CNN
F 3 "" H 1700 1600 50 0000 C CNN
1 1700 1600
1 0 0 -1
$EndComp
$Comp
L +3.3V #PWR018
U 1 1 5761BA36
P 1700 1350
F 0 "#PWR018" H 1700 1200 50 0001 C CNN
F 1 "+3.3V" H 1700 1490 50 0000 C CNN
F 2 "" H 1700 1350 50 0000 C CNN
F 3 "" H 1700 1350 50 0000 C CNN
1 1700 1350
1 0 0 -1
$EndComp
Wire Wire Line
1700 1350 1700 1450
Wire Wire Line
1700 1750 1700 1850
Connection ~ 1700 1850
Text Label 6000 4150 2 60 ~ 0
UART_TX
Text Label 6000 4250 2 60 ~ 0
UART_RX
Wire Wire Line
6000 4250 5450 4250
Wire Wire Line
6000 4150 5450 4150
$Comp
L R R202
U 1 1 5761C479
P 1700 2300
F 0 "R202" V 1780 2300 50 0000 C CNN
F 1 "10k" V 1700 2300 50 0000 C CNN
F 2 "Resistors_SMD:R_0603_HandSoldering" V 1630 2300 50 0001 C CNN
F 3 "" H 1700 2300 50 0000 C CNN
1 1700 2300
1 0 0 -1
$EndComp
Wire Wire Line
1700 2150 1700 2050
Wire Wire Line
1700 2050 1850 2050
$Comp
L GND #PWR019
U 1 1 5761C4F8
P 1700 2500
F 0 "#PWR019" H 1700 2250 50 0001 C CNN
F 1 "GND" H 1700 2350 50 0000 C CNN
F 2 "" H 1700 2500 50 0000 C CNN
F 3 "" H 1700 2500 50 0000 C CNN
1 1700 2500
1 0 0 -1
$EndComp
Wire Wire Line
1700 2500 1700 2450
$Comp
L Crystal Y201
U 1 1 5761C583
P 1500 3600
F 0 "Y201" H 1500 3750 50 0000 C CNN
F 1 "8MHz" H 1500 3450 50 0000 C CNN
F 2 "Crystals:Crystal_HC49-U_Vertical" H 1500 3600 50 0001 C CNN
F 3 "" H 1500 3600 50 0000 C CNN
1 1500 3600
0 1 1 0
$EndComp
$Comp
L C C201
U 1 1 5761C5EC
P 1050 3400
F 0 "C201" H 1075 3500 50 0000 L CNN
F 1 "22pF" H 1075 3300 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603_HandSoldering" H 1088 3250 50 0001 C CNN
F 3 "" H 1050 3400 50 0000 C CNN
1 1050 3400
0 1 1 0
$EndComp
$Comp
L C C202
U 1 1 5761C689
P 1050 3800
F 0 "C202" H 1075 3900 50 0000 L CNN
F 1 "22pF" H 1075 3700 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603_HandSoldering" H 1088 3650 50 0001 C CNN
F 3 "" H 1050 3800 50 0000 C CNN
1 1050 3800
0 1 1 0
$EndComp
Wire Wire Line
1200 3800 1750 3800
Wire Wire Line
1750 3800 1750 3650
Wire Wire Line
1750 3650 1850 3650
Wire Wire Line
1850 3550 1750 3550
Wire Wire Line
1750 3550 1750 3400
Wire Wire Line
1750 3400 1200 3400
Wire Wire Line
1500 3450 1500 3400
Connection ~ 1500 3400
Wire Wire Line
1500 3750 1500 3800
Connection ~ 1500 3800
$Comp
L GND #PWR020
U 1 1 5761C7B1
P 800 3900
F 0 "#PWR020" H 800 3650 50 0001 C CNN
F 1 "GND" H 800 3750 50 0000 C CNN
F 2 "" H 800 3900 50 0000 C CNN
F 3 "" H 800 3900 50 0000 C CNN
1 800 3900
1 0 0 -1
$EndComp
Wire Wire Line
800 3400 800 3900
Wire Wire Line
800 3400 900 3400
Wire Wire Line
900 3800 800 3800
Connection ~ 800 3800
$Comp
L CONN_01X03 P201
U 1 1 5761CA19
P 4300 7300
F 0 "P201" H 4300 7500 50 0000 C CNN
F 1 "CONN_UART" V 4400 7300 50 0000 C CNN
F 2 "Pin_Arrays:pin_array_1x03" H 4300 7300 50 0001 C CNN
F 3 "" H 4300 7300 50 0000 C CNN
1 4300 7300
1 0 0 -1
$EndComp
Text Label 3700 7200 0 60 ~ 0
UART_TX
Text Label 3700 7300 0 60 ~ 0
UART_RX
$Comp
L GND #PWR021
U 1 1 5761CBD6
P 4000 7500
F 0 "#PWR021" H 4000 7250 50 0001 C CNN
F 1 "GND" H 4000 7350 50 0000 C CNN
F 2 "" H 4000 7500 50 0000 C CNN
F 3 "" H 4000 7500 50 0000 C CNN
1 4000 7500
1 0 0 -1
$EndComp
Wire Wire Line
4000 7500 4000 7400
Wire Wire Line
4000 7400 4100 7400
Wire Wire Line
4100 7300 3700 7300
Wire Wire Line
3700 7200 4100 7200
Text Label 5950 3250 2 60 ~ 0
SWCLK
Text Label 5950 3150 2 60 ~ 0
SWDIO
Wire Wire Line
5950 3150 5450 3150
Wire Wire Line
5450 3250 5950 3250
Text Label 5950 2550 2 60 ~ 0
DISP_D3
Text Label 5950 2450 2 60 ~ 0
DISP_D2
Text Label 5950 2350 2 60 ~ 0
DISP_D1
Text Label 5950 2250 2 60 ~ 0
DISP_D0
Wire Wire Line
5950 2550 5450 2550
Wire Wire Line
5450 2450 5950 2450
Wire Wire Line
5950 2350 5450 2350
Wire Wire Line
5450 2250 5950 2250
Text Label 5950 3050 2 60 ~ 0
DISP_RS
Text Label 5950 2950 2 60 ~ 0
DISP_RW
Text Label 5950 2850 2 60 ~ 0
DISP_E
Wire Wire Line
5450 3050 5950 3050
Wire Wire Line
5950 2950 5450 2950
Wire Wire Line
5450 2850 5950 2850
$Comp
L GND #PWR022
U 1 1 5769B34E
P 9550 3100
F 0 "#PWR022" H 9550 2850 50 0001 C CNN
F 1 "GND" H 9550 2950 50 0000 C CNN
F 2 "" H 9550 3100 50 0000 C CNN
F 3 "" H 9550 3100 50 0000 C CNN
1 9550 3100
1 0 0 -1
$EndComp
$Comp
L +5V #PWR023
U 1 1 5769B3C8
P 9950 2200
F 0 "#PWR023" H 9950 2050 50 0001 C CNN
F 1 "+5V" H 9950 2340 50 0000 C CNN
F 2 "" H 9950 2200 50 0000 C CNN
F 3 "" H 9950 2200 50 0000 C CNN
1 9950 2200
1 0 0 -1
$EndComp
Wire Wire Line
9950 2200 9950 2600
Wire Wire Line
9950 2600 10450 2600
$Comp
L R R203
U 1 1 5769B472
P 9550 2500
F 0 "R203" V 9630 2500 50 0000 C CNN
F 1 "N.B." V 9550 2500 50 0000 C CNN
F 2 "Resistors_SMD:R_0603_HandSoldering" V 9480 2500 50 0001 C CNN
F 3 "" H 9550 2500 50 0000 C CNN
1 9550 2500
-1 0 0 1
$EndComp
$Comp
L R R204
U 1 1 5769B5EC
P 9550 2900
F 0 "R204" V 9630 2900 50 0000 C CNN
F 1 "470" V 9550 2900 50 0000 C CNN
F 2 "Resistors_SMD:R_0603_HandSoldering" V 9480 2900 50 0001 C CNN
F 3 "" H 9550 2900 50 0000 C CNN
1 9550 2900
-1 0 0 1
$EndComp
Wire Wire Line
9550 2650 9550 2750
Wire Wire Line
9550 2700 10450 2700
Connection ~ 9550 2700
Wire Wire Line
9550 2350 9550 2300
Wire Wire Line
9550 2300 9950 2300
Connection ~ 9950 2300
Wire Wire Line
9550 3100 9550 3050
Text Label 9700 2700 0 60 ~ 0
DISP_CONTRAST
$Comp
L GND #PWR024
U 1 1 5769B953
P 10200 2350
F 0 "#PWR024" H 10200 2100 50 0001 C CNN
F 1 "GND" H 10200 2200 50 0000 C CNN
F 2 "" H 10200 2350 50 0000 C CNN
F 3 "" H 10200 2350 50 0000 C CNN
1 10200 2350
1 0 0 -1
$EndComp
Wire Wire Line
10200 2350 10200 2300
Wire Wire Line
10200 2300 10350 2300
Wire Wire Line
10350 2300 10350 2500
Wire Wire Line
10350 2500 10450 2500
Text Label 9700 2800 0 60 ~ 0
DISP_RS
Wire Wire Line
10450 2800 9700 2800
Text Label 9700 2900 0 60 ~ 0
DISP_RW
Text Label 9700 3000 0 60 ~ 0
DISP_E
Wire Wire Line
9700 3000 10450 3000
Wire Wire Line
10450 2900 9700 2900
Text Label 9950 3800 0 60 ~ 0
DISP_D3
Text Label 9950 3700 0 60 ~ 0
DISP_D2
Text Label 9950 3600 0 60 ~ 0
DISP_D1
Text Label 9950 3500 0 60 ~ 0
DISP_D0
Wire Wire Line
9950 3800 10450 3800
Wire Wire Line
10450 3700 9950 3700
Wire Wire Line
9950 3600 10450 3600
Wire Wire Line
10450 3500 9950 3500
$Comp
L CONN_01X16 P203
U 1 1 5769C283
P 10650 3250
F 0 "P203" H 10650 4100 50 0000 C CNN
F 1 "CONN_DISP" V 10750 3250 50 0000 C CNN
F 2 "Pin_Headers:Pin_Header_Straight_1x16" H 10650 3250 50 0001 C CNN
F 3 "" H 10650 3250 50 0000 C CNN
1 10650 3250
1 0 0 -1
$EndComp
NoConn ~ 10450 3100
NoConn ~ 10450 3200
NoConn ~ 10450 3300
NoConn ~ 10450 3400
NoConn ~ 10450 3900
NoConn ~ 10450 4000
Text HLabel 6000 3350 2 60 Output ~ 0
LOAD_on
Wire Wire Line
6000 3350 5450 3350
NoConn ~ 5450 4050
NoConn ~ 5450 3950
NoConn ~ 5450 3850
NoConn ~ 5450 3750
NoConn ~ 5450 3650
NoConn ~ 5450 2150
$EndSCHEMATC