fix pid usage at esp

This commit is contained in:
j3d1 2021-05-28 14:58:36 +02:00
parent fc3de6598a
commit deb6fd2109
5 changed files with 2929 additions and 1807 deletions

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "modules/rtos"]
path = modules/rtos
url = https://github.com/SuperHouse/esp-open-rtos.git

File diff suppressed because it is too large Load diff

View file

@ -161,8 +161,6 @@ NoConn ~ 5950 5700
NoConn ~ 5950 5800 NoConn ~ 5950 5800
NoConn ~ 5950 5900 NoConn ~ 5950 5900
NoConn ~ 5950 6600 NoConn ~ 5950 6600
NoConn ~ 5950 6100
NoConn ~ 5950 6200
NoConn ~ 5950 6300 NoConn ~ 5950 6300
NoConn ~ 5950 6400 NoConn ~ 5950 6400
NoConn ~ 5950 6500 NoConn ~ 5950 6500
@ -228,14 +226,10 @@ Wire Wire Line
1200 5000 1200 5100 1200 5000 1200 5100
Wire Wire Line Wire Wire Line
1000 4600 1200 4600 1000 4600 1200 4600
Text GLabel 3050 1750 0 50 Input ~ 0 Text GLabel 3000 1900 0 50 Input ~ 0
nRST nRST
Text GLabel 3050 1950 0 50 Input ~ 0 Text GLabel 3000 2100 0 50 Input ~ 0
EN EN
Text GLabel 4250 2650 2 50 Input ~ 0
GPIO15
Text GLabel 1250 2800 0 50 Input ~ 0
GPIO15
$Comp $Comp
L Device:R R5 L Device:R R5
U 1 1 6085845D U 1 1 6085845D
@ -339,11 +333,11 @@ Wire Wire Line
2000 2800 2000 2900 2000 2800 2000 2900
Wire Wire Line Wire Wire Line
1700 2800 2000 2800 1700 2800 2000 2800
Text GLabel 4250 1750 2 50 Input ~ 0 Text GLabel 4200 1900 2 50 Input ~ 0
FLSH FLSH
Text GLabel 4250 1950 2 50 Input ~ 0 Text GLabel 4200 2100 2 50 Input ~ 0
GPIO2 GPIO2
Text GLabel 4250 1850 2 50 Input ~ 0 Text GLabel 4200 2000 2 50 Input ~ 0
TXD0 TXD0
Text GLabel 5950 4700 2 50 Input ~ 0 Text GLabel 5950 4700 2 50 Input ~ 0
TXD0 TXD0
@ -369,7 +363,7 @@ Text GLabel 5950 5000 2 50 Input ~ 0
DTR DTR
Text GLabel 5950 4600 2 50 Input ~ 0 Text GLabel 5950 4600 2 50 Input ~ 0
RTS RTS
Text GLabel 4250 2050 2 50 Input ~ 0 Text GLabel 4200 2200 2 50 Input ~ 0
RXD0 RXD0
Wire Wire Line Wire Wire Line
5950 4900 6300 4900 5950 4900 6300 4900
@ -386,14 +380,14 @@ NoConn ~ 6300 4900
Wire Wire Line Wire Wire Line
5950 4500 6300 4500 5950 4500 6300 4500
NoConn ~ 6300 4500 NoConn ~ 6300 4500
NoConn ~ 3050 2450 NoConn ~ 3000 2600
Text GLabel 3050 2150 0 50 Input ~ 0 Text GLabel 3000 2300 0 50 Input ~ 0
ADC ADC
Text GLabel 9950 1800 0 50 Input ~ 0 Text GLabel 9950 1800 0 50 Input ~ 0
ADC ADC
Text GLabel 3050 2850 0 50 Input ~ 0 Text GLabel 4200 2700 2 50 Input ~ 0
SCLK SCLK
Text GLabel 3050 2750 0 50 Input ~ 0 Text GLabel 4200 2600 2 50 Input ~ 0
MOSI MOSI
$Comp $Comp
L Device:LED_Small D5 L Device:LED_Small D5
@ -567,160 +561,153 @@ Wire Wire Line
7350 2200 7350 2350 7350 2200 7350 2350
Wire Wire Line Wire Wire Line
7350 2550 7350 2700 7350 2550 7350 2700
Text GLabel 4250 2350 2 50 Input ~ 0 Text GLabel 8200 1000 0 50 Input ~ 0
SEN_12V SEN_12V
Text GLabel 4250 2450 2 50 Input ~ 0 Text GLabel 8150 800 0 50 Input ~ 0
SEN_5V SEN_5V
NoConn ~ 4250 2550 NoConn ~ 5000 2900
NoConn ~ 4250 2750
NoConn ~ 3050 2550
NoConn ~ 3050 2650
$Comp $Comp
L power:+3.3V #PWR0140 L power:+3.3V #PWR0140
U 1 1 60AFA7AB U 1 1 60AFA7AB
P 3650 1550 P 3600 1700
F 0 "#PWR0140" H 3650 1400 50 0001 C CNN F 0 "#PWR0140" H 3600 1550 50 0001 C CNN
F 1 "+3.3V" H 3665 1723 50 0000 C CNN F 1 "+3.3V" H 3615 1873 50 0000 C CNN
F 2 "" H 3650 1550 50 0001 C CNN F 2 "" H 3600 1700 50 0001 C CNN
F 3 "" H 3650 1550 50 0001 C CNN F 3 "" H 3600 1700 50 0001 C CNN
1 3650 1550 1 3600 1700
1 0 0 -1 1 0 0 -1
$EndComp $EndComp
$Comp $Comp
L power:GND #PWR0141 L power:GND #PWR0141
U 1 1 60AFADF5 U 1 1 60AFADF5
P 3650 3050 P 3600 3200
F 0 "#PWR0141" H 3650 2800 50 0001 C CNN F 0 "#PWR0141" H 3600 2950 50 0001 C CNN
F 1 "GND" H 3655 2877 50 0000 C CNN F 1 "GND" H 3605 3027 50 0000 C CNN
F 2 "" H 3650 3050 50 0001 C CNN F 2 "" H 3600 3200 50 0001 C CNN
F 3 "" H 3650 3050 50 0001 C CNN F 3 "" H 3600 3200 50 0001 C CNN
1 3650 3050 1 3600 3200
1 0 0 -1 1 0 0 -1
$EndComp $EndComp
Wire Wire Line Wire Wire Line
5450 2550 5450 2700 5700 2550 5700 2700
$Comp $Comp
L power:GND #PWR0131 L power:GND #PWR0131
U 1 1 6098FB62 U 1 1 6098FB62
P 5450 2700 P 5700 2700
F 0 "#PWR0131" H 5450 2450 50 0001 C CNN F 0 "#PWR0131" H 5700 2450 50 0001 C CNN
F 1 "GND" H 5455 2527 50 0000 C CNN F 1 "GND" H 5705 2527 50 0000 C CNN
F 2 "" H 5450 2700 50 0001 C CNN F 2 "" H 5700 2700 50 0001 C CNN
F 3 "" H 5450 2700 50 0001 C CNN F 3 "" H 5700 2700 50 0001 C CNN
1 5450 2700 1 5700 2700
1 0 0 -1 1 0 0 -1
$EndComp $EndComp
Wire Wire Line Wire Wire Line
5450 2100 5450 2350 5700 2100 5700 2350
Wire Wire Line Wire Wire Line
5450 1700 5450 1800 5700 1700 5700 1800
Wire Wire Line Wire Wire Line
5350 1700 5450 1700 5600 1700 5700 1700
$Comp $Comp
L Device:R R8 L Device:R R8
U 1 1 6098FB4A U 1 1 6098FB4A
P 5450 1950 P 5700 1950
F 0 "R8" H 5380 1904 50 0000 R CNN F 0 "R8" H 5630 1904 50 0000 R CNN
F 1 "51Ohm" H 5380 1995 50 0000 R CNN F 1 "51Ohm" H 5630 1995 50 0000 R CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 5380 1950 50 0001 C CNN F 2 "Resistor_SMD:R_0603_1608Metric" V 5630 1950 50 0001 C CNN
F 3 "~" H 5450 1950 50 0001 C CNN F 3 "~" H 5700 1950 50 0001 C CNN
F 4 "C23197" H 5450 1950 50 0001 C CNN "LCSC" F 4 "C23197" H 5700 1950 50 0001 C CNN "LCSC"
1 5450 1950 1 5700 1950
-1 0 0 1 -1 0 0 1
$EndComp $EndComp
$Comp $Comp
L Device:LED_Small D2 L Device:LED_Small D2
U 1 1 6098FB3C U 1 1 6098FB3C
P 5450 2450 P 5700 2450
F 0 "D2" V 5496 2380 50 0000 R CNN F 0 "D2" V 5746 2380 50 0000 R CNN
F 1 "RED" V 5405 2380 50 0000 R CNN F 1 "RED" V 5655 2380 50 0000 R CNN
F 2 "LED_SMD:LED_0603_1608Metric" V 5450 2450 50 0001 C CNN F 2 "LED_SMD:LED_0603_1608Metric" V 5700 2450 50 0001 C CNN
F 3 "~" V 5450 2450 50 0001 C CNN F 3 "~" V 5700 2450 50 0001 C CNN
F 4 "C2286" H 5450 2450 50 0001 C CNN "LCSC" F 4 "C2286" H 5700 2450 50 0001 C CNN "LCSC"
1 5450 2450 1 5700 2450
0 -1 -1 0 0 -1 -1 0
$EndComp $EndComp
Text GLabel 6950 5450 0 50 Input ~ 0 Text GLabel 8450 3550 0 50 Input ~ 0
TXD0 TXD0
$Comp $Comp
L Connector:Conn_01x04_Male J2 L Connector:Conn_01x04_Male J2
U 1 1 60B13D6D U 1 1 60B13D6D
P 7150 5550 P 8650 3650
F 0 "J2" H 7122 5432 50 0000 R CNN F 0 "J2" H 8622 3532 50 0000 R CNN
F 1 "Conn_01x04_Male" H 7122 5523 50 0000 R CNN F 1 "Conn_01x04_Male" H 8622 3623 50 0000 R CNN
F 2 "TerminalBlock:TerminalBlock_bornier-4_P5.08mm" H 7150 5550 50 0001 C CNN F 2 "TerminalBlock:TerminalBlock_bornier-4_P5.08mm" H 8650 3650 50 0001 C CNN
F 3 "~" H 7150 5550 50 0001 C CNN F 3 "~" H 8650 3650 50 0001 C CNN
1 7150 5550 1 8650 3650
-1 0 0 1 -1 0 0 1
$EndComp $EndComp
Wire Wire Line Wire Wire Line
6850 5650 6850 5750 8350 3750 8350 3850
Wire Wire Line Wire Wire Line
6950 5650 6850 5650 8450 3750 8350 3750
$Comp $Comp
L power:GND #PWR0126 L power:GND #PWR0126
U 1 1 608F6161 U 1 1 608F6161
P 6850 5750 P 8350 3850
F 0 "#PWR0126" H 6850 5500 50 0001 C CNN F 0 "#PWR0126" H 8350 3600 50 0001 C CNN
F 1 "GND" H 6855 5577 50 0000 C CNN F 1 "GND" H 8355 3677 50 0000 C CNN
F 2 "" H 6850 5750 50 0001 C CNN F 2 "" H 8350 3850 50 0001 C CNN
F 3 "" H 6850 5750 50 0001 C CNN F 3 "" H 8350 3850 50 0001 C CNN
1 6850 5750 1 8350 3850
1 0 0 -1 1 0 0 -1
$EndComp $EndComp
Text GLabel 6950 5550 0 50 Input ~ 0 Text GLabel 8450 3650 0 50 Input ~ 0
RXD0 RXD0
Text GLabel 9950 1300 0 50 Input ~ 0 Text GLabel 9950 1300 0 50 Input ~ 0
VOUT VOUT
Wire Wire Line Wire Wire Line
6250 2550 6250 2700 6500 2550 6500 2700
$Comp $Comp
L power:GND #PWR0130 L power:GND #PWR0130
U 1 1 6098FB5C U 1 1 6098FB5C
P 6250 2700 P 6500 2700
F 0 "#PWR0130" H 6250 2450 50 0001 C CNN F 0 "#PWR0130" H 6500 2450 50 0001 C CNN
F 1 "GND" H 6255 2527 50 0000 C CNN F 1 "GND" H 6505 2527 50 0000 C CNN
F 2 "" H 6250 2700 50 0001 C CNN F 2 "" H 6500 2700 50 0001 C CNN
F 3 "" H 6250 2700 50 0001 C CNN F 3 "" H 6500 2700 50 0001 C CNN
1 6250 2700 1 6500 2700
1 0 0 -1 1 0 0 -1
$EndComp $EndComp
Wire Wire Line Wire Wire Line
6250 2100 6250 2350 6500 2100 6500 2350
Wire Wire Line Wire Wire Line
6250 1700 6250 1800 6500 1700 6500 1800
Wire Wire Line Wire Wire Line
6150 1700 6250 1700 6400 1700 6500 1700
$Comp $Comp
L Device:R R10 L Device:R R10
U 1 1 6098FB50 U 1 1 6098FB50
P 6250 1950 P 6500 1950
F 0 "R10" H 6180 1904 50 0000 R CNN F 0 "R10" H 6430 1904 50 0000 R CNN
F 1 "51Ohm" H 6180 1995 50 0000 R CNN F 1 "51Ohm" H 6430 1995 50 0000 R CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6180 1950 50 0001 C CNN F 2 "Resistor_SMD:R_0603_1608Metric" V 6430 1950 50 0001 C CNN
F 3 "~" H 6250 1950 50 0001 C CNN F 3 "~" H 6500 1950 50 0001 C CNN
F 4 "C23197" H 6250 1950 50 0001 C CNN "LCSC" F 4 "C23197" H 6500 1950 50 0001 C CNN "LCSC"
1 6250 1950 1 6500 1950
-1 0 0 1 -1 0 0 1
$EndComp $EndComp
$Comp $Comp
L Device:LED_Small D3 L Device:LED_Small D3
U 1 1 6098FB42 U 1 1 6098FB42
P 6250 2450 P 6500 2450
F 0 "D3" V 6296 2380 50 0000 R CNN F 0 "D3" V 6546 2380 50 0000 R CNN
F 1 "RED" V 6205 2380 50 0000 R CNN F 1 "RED" V 6455 2380 50 0000 R CNN
F 2 "LED_SMD:LED_0603_1608Metric" V 6250 2450 50 0001 C CNN F 2 "LED_SMD:LED_0603_1608Metric" V 6500 2450 50 0001 C CNN
F 3 "~" V 6250 2450 50 0001 C CNN F 3 "~" V 6500 2450 50 0001 C CNN
F 4 "C2286" H 6250 2450 50 0001 C CNN "LCSC" F 4 "C2286" H 6500 2450 50 0001 C CNN "LCSC"
1 6250 2450 1 6500 2450
0 -1 -1 0 0 -1 -1 0
$EndComp $EndComp
Text GLabel 4250 2250 2 50 Input ~ 0 Text GLabel 8450 3450 0 50 Input ~ 0
GPIO5
Text GLabel 6950 5350 0 50 Input ~ 0
VOUT VOUT
Text GLabel 4250 2150 2 50 Input ~ 0
GPIO4
Wire Wire Line Wire Wire Line
8350 5650 8350 5750 8350 5650 8350 5750
Wire Wire Line Wire Wire Line
@ -789,12 +776,12 @@ $EndComp
$Comp $Comp
L Connector:Conn_01x02_Male J8 L Connector:Conn_01x02_Male J8
U 1 1 608FF8C5 U 1 1 608FF8C5
P 5550 1150 P 5800 1150
F 0 "J8" H 5522 1032 50 0000 R CNN F 0 "J8" H 5772 1032 50 0000 R CNN
F 1 "Conn_01x02_Male" H 5522 1123 50 0000 R CNN F 1 "Conn_01x02_Male" H 5772 1123 50 0000 R CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical" H 5550 1150 50 0001 C CNN F 2 "Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical" H 5800 1150 50 0001 C CNN
F 3 "~" H 5550 1150 50 0001 C CNN F 3 "~" H 5800 1150 50 0001 C CNN
1 5550 1150 1 5800 1150
-1 0 0 1 -1 0 0 1
$EndComp $EndComp
Text GLabel 1100 1250 0 50 Input ~ 0 Text GLabel 1100 1250 0 50 Input ~ 0
@ -816,90 +803,88 @@ NoConn ~ 4500 5200
$Comp $Comp
L Mechanical:MountingHole_Pad H1 L Mechanical:MountingHole_Pad H1
U 1 1 60A2A45B U 1 1 60A2A45B
P 10100 5300 P 3600 6350
F 0 "H1" V 10054 5450 50 0000 L CNN F 0 "H1" V 3554 6500 50 0000 L CNN
F 1 "MountingHole_Pad" V 10145 5450 50 0000 L CNN F 1 "MountingHole_Pad" V 3645 6500 50 0000 L CNN
F 2 "MountingHole:MountingHole_2.2mm_M2_Pad_Via" H 10100 5300 50 0001 C CNN F 2 "MountingHole:MountingHole_2.2mm_M2_Pad_Via" H 3600 6350 50 0001 C CNN
F 3 "~" H 10100 5300 50 0001 C CNN F 3 "~" H 3600 6350 50 0001 C CNN
1 10100 5300 1 3600 6350
0 1 1 0 0 1 1 0
$EndComp $EndComp
$Comp $Comp
L Mechanical:MountingHole_Pad H2 L Mechanical:MountingHole_Pad H2
U 1 1 60A2B21E U 1 1 60A2B21E
P 10100 5500 P 3600 6550
F 0 "H2" V 10054 5650 50 0000 L CNN F 0 "H2" V 3554 6700 50 0000 L CNN
F 1 "MountingHole_Pad" V 10145 5650 50 0000 L CNN F 1 "MountingHole_Pad" V 3645 6700 50 0000 L CNN
F 2 "MountingHole:MountingHole_2.2mm_M2_Pad_Via" H 10100 5500 50 0001 C CNN F 2 "MountingHole:MountingHole_2.2mm_M2_Pad_Via" H 3600 6550 50 0001 C CNN
F 3 "~" H 10100 5500 50 0001 C CNN F 3 "~" H 3600 6550 50 0001 C CNN
1 10100 5500 1 3600 6550
0 1 1 0 0 1 1 0
$EndComp $EndComp
$Comp $Comp
L Mechanical:MountingHole_Pad H3 L Mechanical:MountingHole_Pad H3
U 1 1 60A2BB4B U 1 1 60A2BB4B
P 10100 5700 P 3600 6750
F 0 "H3" V 10054 5850 50 0000 L CNN F 0 "H3" V 3554 6900 50 0000 L CNN
F 1 "MountingHole_Pad" V 10145 5850 50 0000 L CNN F 1 "MountingHole_Pad" V 3645 6900 50 0000 L CNN
F 2 "MountingHole:MountingHole_2.2mm_M2_Pad_Via" H 10100 5700 50 0001 C CNN F 2 "MountingHole:MountingHole_2.2mm_M2_Pad_Via" H 3600 6750 50 0001 C CNN
F 3 "~" H 10100 5700 50 0001 C CNN F 3 "~" H 3600 6750 50 0001 C CNN
1 10100 5700 1 3600 6750
0 1 1 0 0 1 1 0
$EndComp $EndComp
$Comp $Comp
L Mechanical:MountingHole_Pad H4 L Mechanical:MountingHole_Pad H4
U 1 1 60A2C3E0 U 1 1 60A2C3E0
P 10100 5900 P 3600 6950
F 0 "H4" V 10054 6050 50 0000 L CNN F 0 "H4" V 3554 7100 50 0000 L CNN
F 1 "MountingHole_Pad" V 10145 6050 50 0000 L CNN F 1 "MountingHole_Pad" V 3645 7100 50 0000 L CNN
F 2 "MountingHole:MountingHole_2.2mm_M2_Pad_Via" H 10100 5900 50 0001 C CNN F 2 "MountingHole:MountingHole_2.2mm_M2_Pad_Via" H 3600 6950 50 0001 C CNN
F 3 "~" H 10100 5900 50 0001 C CNN F 3 "~" H 3600 6950 50 0001 C CNN
1 10100 5900 1 3600 6950
0 1 1 0 0 1 1 0
$EndComp $EndComp
$Comp $Comp
L power:GND #PWR0148 L power:GND #PWR0148
U 1 1 60A2D214 U 1 1 60A2D214
P 9900 6000 P 3400 7050
F 0 "#PWR0148" H 9900 5750 50 0001 C CNN F 0 "#PWR0148" H 3400 6800 50 0001 C CNN
F 1 "GND" H 9905 5827 50 0000 C CNN F 1 "GND" H 3405 6877 50 0000 C CNN
F 2 "" H 9900 6000 50 0001 C CNN F 2 "" H 3400 7050 50 0001 C CNN
F 3 "" H 9900 6000 50 0001 C CNN F 3 "" H 3400 7050 50 0001 C CNN
1 9900 6000 1 3400 7050
1 0 0 -1 1 0 0 -1
$EndComp $EndComp
Wire Wire Line Wire Wire Line
10000 5300 9900 5300 3500 6350 3400 6350
Wire Wire Line Wire Wire Line
9900 5300 9900 5500 3400 6350 3400 6550
Wire Wire Line Wire Wire Line
10000 5500 9900 5500 3500 6550 3400 6550
Connection ~ 9900 5500 Connection ~ 3400 6550
Wire Wire Line Wire Wire Line
9900 5500 9900 5700 3400 6550 3400 6750
Wire Wire Line Wire Wire Line
10000 5700 9900 5700 3500 6750 3400 6750
Connection ~ 9900 5700 Connection ~ 3400 6750
Wire Wire Line Wire Wire Line
9900 5700 9900 5900 3400 6750 3400 6950
Wire Wire Line Wire Wire Line
10000 5900 9900 5900 3500 6950 3400 6950
Connection ~ 9900 5900 Connection ~ 3400 6950
Wire Wire Line Wire Wire Line
9900 5900 9900 6000 3400 6950 3400 7050
$Comp $Comp
L RF_Module:ESP-12E U1 L RF_Module:ESP-12E U1
U 1 1 6091C48A U 1 1 6091C48A
P 3650 2350 P 3600 2500
F 0 "U1" H 3650 3331 50 0000 C CNN F 0 "U1" H 3600 3481 50 0000 C CNN
F 1 "ESP-12E" H 3650 3240 50 0000 C CNN F 1 "ESP-12E" H 3600 3390 50 0000 C CNN
F 2 "RF_Module:ESP-12E" H 3650 2350 50 0001 C CNN F 2 "RF_Module:ESP-12E" H 3600 2500 50 0001 C CNN
F 3 "http://wiki.ai-thinker.com/_media/esp8266/esp8266_series_modules_user_manual_v1.1.pdf" H 3300 2450 50 0001 C CNN F 3 "http://wiki.ai-thinker.com/_media/esp8266/esp8266_series_modules_user_manual_v1.1.pdf" H 3250 2600 50 0001 C CNN
1 3650 2350 1 3600 2500
1 0 0 -1 1 0 0 -1
$EndComp $EndComp
Text GLabel 3050 2350 0 50 Input ~ 0
CS0
$Comp $Comp
L Connector:Conn_01x05_Male J13 L Connector:Conn_01x05_Male J13
U 1 1 6091C8BB U 1 1 6091C8BB
@ -930,17 +915,15 @@ Text GLabel 8450 4500 0 50 Input ~ 0
SCLK SCLK
Text GLabel 8450 4600 0 50 Input ~ 0 Text GLabel 8450 4600 0 50 Input ~ 0
MOSI MOSI
Text GLabel 8450 4700 0 50 Input ~ 0
CS0
Text GLabel 8450 4400 0 50 Input ~ 0 Text GLabel 8450 4400 0 50 Input ~ 0
VOUT VOUT
Text GLabel 5350 1700 0 50 Input ~ 0 Text GLabel 5600 1700 0 50 Input ~ 0
GPIO4 GPIO4
Text GLabel 5350 1150 0 50 Input ~ 0 Text GLabel 5600 1150 0 50 Input ~ 0
GPIO4 GPIO4
Text GLabel 6150 1700 0 50 Input ~ 0 Text GLabel 6400 1700 0 50 Input ~ 0
GPIO5 GPIO5
Text GLabel 5350 1050 0 50 Input ~ 0 Text GLabel 5600 1050 0 50 Input ~ 0
GPIO5 GPIO5
$Comp $Comp
L Device:Q_NPN_BEC Q2 L Device:Q_NPN_BEC Q2
@ -1115,4 +1098,205 @@ Wire Wire Line
2950 4600 2550 4600 2950 4600 2550 4600
Text GLabel 2350 4600 0 50 Input ~ 0 Text GLabel 2350 4600 0 50 Input ~ 0
FLSH FLSH
Text Notes 4550 2900 0 50 ~ 0
do not use
Wire Wire Line
5000 2900 4200 2900
NoConn ~ 3000 2900
NoConn ~ 3000 3000
NoConn ~ 4200 2500
$Comp
L Device:LED_Small D9
U 1 1 60BE9E4B
P 6400 6100
F 0 "D9" V 6446 6030 50 0000 R CNN
F 1 "RED" V 6355 6030 50 0000 R CNN
F 2 "LED_SMD:LED_0603_1608Metric" V 6400 6100 50 0001 C CNN
F 3 "~" V 6400 6100 50 0001 C CNN
F 4 "C2286" H 6400 6100 50 0001 C CNN "LCSC"
1 6400 6100
1 0 0 -1
$EndComp
$Comp
L Device:LED_Small D10
U 1 1 60BEE99B
P 6600 6200
F 0 "D10" V 6646 6130 50 0000 R CNN
F 1 "RED" V 6555 6130 50 0000 R CNN
F 2 "LED_SMD:LED_0603_1608Metric" V 6600 6200 50 0001 C CNN
F 3 "~" V 6600 6200 50 0001 C CNN
F 4 "C2286" H 6600 6200 50 0001 C CNN "LCSC"
1 6600 6200
1 0 0 -1
$EndComp
$Comp
L Device:R R17
U 1 1 60BF97A0
P 6850 6100
F 0 "R17" H 6780 6054 50 0000 R CNN
F 1 "51Ohm" H 6780 6145 50 0000 R CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6780 6100 50 0001 C CNN
F 3 "~" H 6850 6100 50 0001 C CNN
F 4 "C23197" H 6850 6100 50 0001 C CNN "LCSC"
1 6850 6100
0 -1 -1 0
$EndComp
$Comp
L Device:R R18
U 1 1 60BFE0F3
P 7150 6200
F 0 "R18" H 7080 6154 50 0000 R CNN
F 1 "51Ohm" H 7080 6245 50 0000 R CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 7080 6200 50 0001 C CNN
F 3 "~" H 7150 6200 50 0001 C CNN
F 4 "C23197" H 7150 6200 50 0001 C CNN "LCSC"
1 7150 6200
0 -1 -1 0
$EndComp
$Comp
L power:+3.3V #PWR0154
U 1 1 60BFE99B
P 7400 6000
F 0 "#PWR0154" H 7400 5850 50 0001 C CNN
F 1 "+3.3V" H 7450 6150 50 0000 C CNN
F 2 "" H 7400 6000 50 0001 C CNN
F 3 "" H 7400 6000 50 0001 C CNN
1 7400 6000
1 0 0 -1
$EndComp
Wire Wire Line
5950 6100 6300 6100
Wire Wire Line
5950 6200 6500 6200
Wire Wire Line
6500 6100 6700 6100
Wire Wire Line
6700 6200 7000 6200
Wire Wire Line
7000 6100 7400 6100
Wire Wire Line
7400 6100 7400 6000
Wire Wire Line
7300 6200 7400 6200
Wire Wire Line
7400 6200 7400 6100
Connection ~ 7400 6100
Text Label 6000 6100 0 50 ~ 0
TXLED
Text Label 6000 6200 0 50 ~ 0
RXLED
Text GLabel 7200 3550 0 50 Input ~ 0
TXD0
$Comp
L Connector:Conn_01x04_Male J15
U 1 1 60C2CB6F
P 7400 3650
F 0 "J15" H 7372 3532 50 0000 R CNN
F 1 "Conn_01x04_Male" H 7372 3623 50 0000 R CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical" H 7400 3650 50 0001 C CNN
F 3 "~" H 7400 3650 50 0001 C CNN
1 7400 3650
-1 0 0 1
$EndComp
Wire Wire Line
7100 3750 7100 3850
Wire Wire Line
7200 3750 7100 3750
$Comp
L power:GND #PWR0155
U 1 1 60C2CB77
P 7100 3850
F 0 "#PWR0155" H 7100 3600 50 0001 C CNN
F 1 "GND" H 7105 3677 50 0000 C CNN
F 2 "" H 7100 3850 50 0001 C CNN
F 3 "" H 7100 3850 50 0001 C CNN
1 7100 3850
1 0 0 -1
$EndComp
Text GLabel 7200 3650 0 50 Input ~ 0
RXD0
Text GLabel 7200 3450 0 50 Input ~ 0
VOUT
$Comp
L Connector:Conn_01x01_Female J16
U 1 1 60C8A000
P 10150 4500
F 0 "J16" H 10178 4526 50 0000 L CNN
F 1 "Testpoint_RST" H 10178 4435 50 0000 L CNN
F 2 "TestPoint:TestPoint_Pad_D2.0mm" H 10150 4500 50 0001 C CNN
F 3 "~" H 10150 4500 50 0001 C CNN
1 10150 4500
1 0 0 -1
$EndComp
$Comp
L Connector:Conn_01x01_Female J17
U 1 1 60C915D4
P 10150 4700
F 0 "J17" H 10178 4726 50 0000 L CNN
F 1 "Testpoint_RST" H 10178 4635 50 0000 L CNN
F 2 "TestPoint:TestPoint_Pad_D2.0mm" H 10150 4700 50 0001 C CNN
F 3 "~" H 10150 4700 50 0001 C CNN
1 10150 4700
1 0 0 -1
$EndComp
$Comp
L Connector:Conn_01x01_Female J18
U 1 1 60C91CA2
P 10150 4900
F 0 "J18" H 10178 4926 50 0000 L CNN
F 1 "Testpoint_RST" H 10178 4835 50 0000 L CNN
F 2 "TestPoint:TestPoint_Pad_D2.0mm" H 10150 4900 50 0001 C CNN
F 3 "~" H 10150 4900 50 0001 C CNN
1 10150 4900
1 0 0 -1
$EndComp
Text GLabel 9950 4500 0 50 Input ~ 0
SCLK
Text GLabel 9950 4700 0 50 Input ~ 0
MOSI
Text GLabel 9950 4900 0 50 Input ~ 0
CS0
$Comp
L Connector:Conn_01x01_Female J19
U 1 1 60CD9446
P 10150 5450
F 0 "J19" H 10178 5476 50 0000 L CNN
F 1 "Testpoint_RST" H 10178 5385 50 0000 L CNN
F 2 "TestPoint:TestPoint_Pad_D2.0mm" H 10150 5450 50 0001 C CNN
F 3 "~" H 10150 5450 50 0001 C CNN
1 10150 5450
1 0 0 -1
$EndComp
$Comp
L Connector:Conn_01x01_Female J20
U 1 1 60CD9BDE
P 10150 5650
F 0 "J20" H 10178 5676 50 0000 L CNN
F 1 "Testpoint_RST" H 10178 5585 50 0000 L CNN
F 2 "TestPoint:TestPoint_Pad_D2.0mm" H 10150 5650 50 0001 C CNN
F 3 "~" H 10150 5650 50 0001 C CNN
1 10150 5650
1 0 0 -1
$EndComp
Text GLabel 9950 5450 0 50 Input ~ 0
TXD0
Text GLabel 9950 5650 0 50 Input ~ 0
RXD0
NoConn ~ 3000 2500
Text GLabel 8450 4700 0 50 Input ~ 0
CS0
Text GLabel 1250 2800 0 50 Input ~ 0
CS0
Text GLabel 4200 2800 2 50 Input ~ 0
CS0
NoConn ~ 3000 2700
NoConn ~ 3000 2800
Text Notes 2950 3050 1 50 ~ 0
used in flash qio
NoConn ~ 8200 1000
NoConn ~ 8150 800
Text GLabel 4200 2300 2 50 Input ~ 0
GPIO4
Text GLabel 4200 2400 2 50 Input ~ 0
GPIO5
$EndSCHEMATC $EndSCHEMATC

1
modules/rtos Submodule

@ -0,0 +1 @@
Subproject commit 503e66a500419e8863998b7ea784c5e26a7a5f7c

View file

@ -325,7 +325,7 @@ U 1 1 608E2DA3
P 8700 2700 P 8700 2700
F 0 "D7" V 8654 2780 50 0000 L CNN F 0 "D7" V 8654 2780 50 0000 L CNN
F 1 "Z 5V" V 8745 2780 50 0000 L CNN F 1 "Z 5V" V 8745 2780 50 0000 L CNN
F 2 "Diode_SMD:D_MiniMELF_Handsoldering" H 8700 2700 50 0001 C CNN F 2 "Diode_SMD:D_MiniMELF" H 8700 2700 50 0001 C CNN
F 3 "~" H 8700 2700 50 0001 C CNN F 3 "~" H 8700 2700 50 0001 C CNN
1 8700 2700 1 8700 2700
0 1 1 0 0 1 1 0
@ -336,7 +336,7 @@ U 1 1 608E7242
P 9450 2700 P 9450 2700
F 0 "D8" V 9404 2780 50 0000 L CNN F 0 "D8" V 9404 2780 50 0000 L CNN
F 1 "Z 12V" V 9495 2780 50 0000 L CNN F 1 "Z 12V" V 9495 2780 50 0000 L CNN
F 2 "Diode_SMD:D_MiniMELF_Handsoldering" H 9450 2700 50 0001 C CNN F 2 "Diode_SMD:D_MiniMELF" H 9450 2700 50 0001 C CNN
F 3 "~" H 9450 2700 50 0001 C CNN F 3 "~" H 9450 2700 50 0001 C CNN
1 9450 2700 1 9450 2700
0 1 1 0 0 1 1 0