batt display, low batt shutdown, timeout shutdown

This commit is contained in:
2021-03-27 14:00:37 +01:00
parent 79edcef8ce
commit 0146c32da4
14 changed files with 4962 additions and 3865 deletions

View File

@@ -196,6 +196,28 @@ X ~ 2 0 -150 50 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Jumper_SolderJumper_2_Open
#
DEF Jumper_SolderJumper_2_Open JP 0 0 Y N 1 F N
F0 "JP" 0 80 50 H V C CNN
F1 "Jumper_SolderJumper_2_Open" 0 -100 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
SolderJumper*Open*
$ENDFPLIST
DRAW
A -10 0 40 901 -901 0 1 0 N -10 40 -10 -40
A -10 0 40 901 -901 0 1 0 F -10 40 -10 -40
A 10 0 40 -899 899 0 1 0 N 10 -40 10 40
A 10 0 40 -899 899 0 1 0 F 10 -40 10 40
P 2 0 1 0 -10 40 -10 -40 N
P 2 0 1 0 10 40 10 -40 N
X A 1 -150 0 100 R 50 50 1 1 P
X B 2 150 0 100 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Regulator_Linear_TPS76333
#
DEF Regulator_Linear_TPS76333 U 0 10 Y Y 1 F N
@@ -236,6 +258,38 @@ X 3 3 200 -100 100 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Transistor_FET_BSS84
#
DEF Transistor_FET_BSS84 Q 0 20 Y N 1 F N
F0 "Q" 200 75 50 H V L CNN
F1 "Transistor_FET_BSS84" 200 0 50 H V L CNN
F2 "Package_TO_SOT_SMD:SOT-23" 200 -75 50 H I L CIN
F3 "" 0 0 50 H I L CNN
ALIAS VP0610T BSS84 NTR2101P BSS83P Si2319CDS IRLML6401 IRLML6402 DMG2301L AO3401A IRLML9301 IRLML5203 Si2371EDS TSM2301ACX FDN340P
$FPLIST
SOT?23*
$ENDFPLIST
DRAW
C 65 0 110 0 1 10 N
C 100 -70 10 0 1 0 F
C 100 70 10 0 1 0 F
P 2 0 1 0 10 0 -100 0 N
P 2 0 1 10 10 75 10 -75 N
P 2 0 1 10 30 -50 30 -90 N
P 2 0 1 10 30 20 30 -20 N
P 2 0 1 10 30 90 30 50 N
P 2 0 1 0 100 100 100 70 N
P 3 0 1 0 100 -100 100 0 30 0 N
P 4 0 1 0 30 70 130 70 130 -70 30 -70 N
P 4 0 1 0 90 0 50 15 50 -15 90 0 F
P 4 0 1 0 110 -20 115 -15 145 -15 150 -10 N
P 4 0 1 0 130 -15 115 10 145 10 130 -15 N
X G 1 -200 0 100 R 50 50 1 1 I
X S 2 100 -200 100 U 50 50 1 1 P
X D 3 100 200 100 D 50 50 1 1 P
ENDDRAW
ENDDEF
#
# dk_Barrel-Audio-Connectors_SJ1-3523N
#
DEF dk_Barrel-Audio-Connectors_SJ1-3523N CON 0 2 Y Y 1 F N

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
update=2021 March 23, Tuesday 22:13:16
update=2021 March 26, Friday 20:53:07
version=1
last_client=kicad
[general]
@@ -38,31 +38,31 @@ MinViaDrill=0.3
MinMicroViaDiameter=0.2
MinMicroViaDrill=0.09999999999999999
MinHoleToHole=0.25
TrackWidth1=0.25
TrackWidth1=0.254
TrackWidth2=0.3048
ViaDiameter1=0.8
ViaDrill1=0.4
dPairWidth1=0.2
dPairGap1=0.25
ViaDiameter1=0.8128
ViaDrill1=0.4064
dPairWidth1=0.2032
dPairGap1=0.254
dPairViaGap1=0.25
SilkLineWidth=0.12
SilkTextSizeV=1
SilkTextSizeH=1
SilkTextSizeThickness=0.15
SilkLineWidth=0.127
SilkTextSizeV=0.635
SilkTextSizeH=0.635
SilkTextSizeThickness=0.1016
SilkTextItalic=0
SilkTextUpright=1
CopperLineWidth=0.2
CopperTextSizeV=1.5
CopperTextSizeH=1.5
CopperTextThickness=0.3
CopperLineWidth=0.2032
CopperTextSizeV=0.635
CopperTextSizeH=0.635
CopperTextThickness=0.1016
CopperTextItalic=0
CopperTextUpright=1
EdgeCutLineWidth=0.05
CourtyardLineWidth=0.05
OthersLineWidth=0.15
OthersTextSizeV=1
OthersTextSizeH=1
OthersTextSizeThickness=0.15
EdgeCutLineWidth=0.0508
CourtyardLineWidth=0.0508
OthersLineWidth=0.1524
OthersTextSizeV=0.635
OthersTextSizeH=0.635
OthersTextSizeThickness=0.1016
OthersTextItalic=0
OthersTextUpright=1
SolderMaskClearance=0
@@ -238,23 +238,23 @@ Enabled=0
[pcbnew/Netclasses]
[pcbnew/Netclasses/Default]
Name=Default
Clearance=0.2
TrackWidth=0.25
ViaDiameter=0.8
ViaDrill=0.4
uViaDiameter=0.3
uViaDrill=0.1
dPairWidth=0.2
dPairGap=0.25
Clearance=0.2032
TrackWidth=0.254
ViaDiameter=0.8128
ViaDrill=0.4064
uViaDiameter=0.3048
uViaDrill=0.1016
dPairWidth=0.2032
dPairGap=0.254
dPairViaGap=0.25
[pcbnew/Netclasses/1]
Name=POWER
Clearance=0.2
Clearance=0.2032
TrackWidth=0.3048
ViaDiameter=0.8
ViaDrill=0.4
uViaDiameter=0.3
uViaDrill=0.1
dPairWidth=0.2
dPairGap=0.25
ViaDiameter=0.8128
ViaDrill=0.4064
uViaDiameter=0.3048
uViaDrill=0.1016
dPairWidth=0.2032
dPairGap=0.254
dPairViaGap=0.25

View File

@@ -4,12 +4,12 @@ EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Title "Leo-Led-truck"
Date "2021-03-26"
Rev "v1.1"
Comp "hollandtricks.com"
Comment1 "designed by Willem"
Comment2 "www.electronicareparaties.nl"
Comment3 ""
Comment4 ""
$EndDescr
@@ -631,60 +631,60 @@ Wire Wire Line
$Comp
L Device:R R13
U 1 1 60403C7A
P 6250 2950
F 0 "R13" H 6320 2996 50 0000 L CNN
F 1 "100K" H 6320 2905 50 0000 L CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6180 2950 50 0001 C CNN
F 3 "~" H 6250 2950 50 0001 C CNN
1 6250 2950
P 6750 5600
F 0 "R13" H 6820 5646 50 0000 L CNN
F 1 "10K" H 6820 5555 50 0000 L CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6680 5600 50 0001 C CNN
F 3 "~" H 6750 5600 50 0001 C CNN
1 6750 5600
1 0 0 -1
$EndComp
$Comp
L Device:R R12
U 1 1 6040529B
P 6250 2500
F 0 "R12" H 6320 2546 50 0000 L CNN
F 1 "220K" H 6320 2455 50 0000 L CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6180 2500 50 0001 C CNN
F 3 "~" H 6250 2500 50 0001 C CNN
1 6250 2500
P 6750 5150
F 0 "R12" H 6820 5196 50 0000 L CNN
F 1 "4k7" H 6820 5105 50 0000 L CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6680 5150 50 0001 C CNN
F 3 "~" H 6750 5150 50 0001 C CNN
1 6750 5150
1 0 0 -1
$EndComp
Text GLabel 6400 2700 2 50 Input ~ 0
Text GLabel 6900 5350 2 50 Input ~ 0
MEAS_VBATT
Wire Wire Line
6400 2700 6250 2700
6900 5350 6750 5350
Wire Wire Line
6250 2700 6250 2650
6750 5350 6750 5300
Wire Wire Line
6250 2800 6250 2700
Connection ~ 6250 2700
6750 5450 6750 5350
Connection ~ 6750 5350
$Comp
L power:+BATT #PWR0117
U 1 1 60416333
P 6250 2150
F 0 "#PWR0117" H 6250 2000 50 0001 C CNN
F 1 "+BATT" H 6265 2323 50 0000 C CNN
F 2 "" H 6250 2150 50 0001 C CNN
F 3 "" H 6250 2150 50 0001 C CNN
1 6250 2150
P 6750 4250
F 0 "#PWR0117" H 6750 4100 50 0001 C CNN
F 1 "+BATT" H 6765 4423 50 0000 C CNN
F 2 "" H 6750 4250 50 0001 C CNN
F 3 "" H 6750 4250 50 0001 C CNN
1 6750 4250
1 0 0 -1
$EndComp
Wire Wire Line
6250 2150 6250 2350
6750 4800 6750 4900
$Comp
L power:GND #PWR0118
U 1 1 6041C5AA
P 6250 3300
F 0 "#PWR0118" H 6250 3050 50 0001 C CNN
F 1 "GND" H 6255 3127 50 0000 C CNN
F 2 "" H 6250 3300 50 0001 C CNN
F 3 "" H 6250 3300 50 0001 C CNN
1 6250 3300
P 6750 5950
F 0 "#PWR0118" H 6750 5700 50 0001 C CNN
F 1 "GND" H 6755 5777 50 0000 C CNN
F 2 "" H 6750 5950 50 0001 C CNN
F 3 "" H 6750 5950 50 0001 C CNN
1 6750 5950
1 0 0 -1
$EndComp
Wire Wire Line
6250 3300 6250 3100
6750 5950 6750 5850
Text GLabel 5500 1350 2 50 Input ~ 0
MEAS_VBATT
Wire Wire Line
@@ -847,18 +847,6 @@ Wire Wire Line
Wire Wire Line
2100 7300 2000 7300
$Comp
L Device:R R14
U 1 1 60310C7E
P 1350 7400
F 0 "R14" V 1450 7400 50 0000 C CNN
F 1 "0E" V 1550 7400 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 1280 7400 50 0001 C CNN
F 3 "~" H 1350 7400 50 0001 C CNN
F 4 "DNP" V 1350 7400 50 0000 C CNN "DNP"
1 1350 7400
0 1 1 0
$EndComp
$Comp
L power:VBUS #PWR0124
U 1 1 603121CD
P 900 7100
@@ -983,7 +971,6 @@ NoConn ~ 4200 2350
NoConn ~ 4200 2850
NoConn ~ 5300 2450
NoConn ~ 5300 2550
NoConn ~ 5300 2150
NoConn ~ 5300 2850
Wire Wire Line
4800 3050 4800 3450
@@ -1268,4 +1255,100 @@ Wire Wire Line
Connection ~ 8900 5000
Text GLabel 7450 1100 0 50 Input ~ 0
DET1
$Comp
L Transistor_FET:BSS84 Q1
U 1 1 605F95CF
P 6650 4600
F 0 "Q1" H 6854 4646 50 0000 L CNN
F 1 "BSS84" H 6854 4555 50 0000 L CNN
F 2 "Package_TO_SOT_SMD:SOT-23" H 6850 4525 50 0001 L CIN
F 3 "http://assets.nexperia.com/documents/data-sheet/BSS84.pdf" H 6650 4600 50 0001 L CNN
F 4 "FARNELL-1972673" H 6650 4600 50 0001 C CNN "ordercode"
1 6650 4600
1 0 0 -1
$EndComp
Wire Wire Line
6750 4250 6750 4300
$Comp
L Device:R R14
U 1 1 6060550D
P 6100 4450
F 0 "R14" H 6170 4496 50 0000 L CNN
F 1 "100K" H 6170 4405 50 0000 L CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6030 4450 50 0001 C CNN
F 3 "~" H 6100 4450 50 0001 C CNN
1 6100 4450
1 0 0 -1
$EndComp
Wire Wire Line
6100 4300 6750 4300
Connection ~ 6750 4300
Wire Wire Line
6750 4300 6750 4400
Wire Wire Line
6450 4600 6100 4600
Text GLabel 6000 4600 0 50 Input ~ 0
MEAS_EN
Wire Wire Line
6000 4600 6100 4600
Connection ~ 6100 4600
$Comp
L Device:C C10
U 1 1 6061C058
P 6350 5600
F 0 "C10" H 6465 5646 50 0000 L CNN
F 1 "C" H 6465 5555 50 0000 L CNN
F 2 "Capacitor_SMD:C_0603_1608Metric" H 6388 5450 50 0001 C CNN
F 3 "~" H 6350 5600 50 0001 C CNN
1 6350 5600
1 0 0 -1
$EndComp
Wire Wire Line
6350 5450 6350 5350
Wire Wire Line
6350 5350 6750 5350
Wire Wire Line
6350 5750 6350 5850
Wire Wire Line
6350 5850 6750 5850
Connection ~ 6750 5850
Wire Wire Line
6750 5850 6750 5750
Wire Wire Line
7300 4450 7300 4300
Wire Wire Line
7300 4300 6750 4300
Wire Wire Line
7300 4750 7300 4900
Wire Wire Line
7300 4900 6750 4900
Connection ~ 6750 4900
Wire Wire Line
6750 4900 6750 5000
$Comp
L Jumper:SolderJumper_2_Open JP2
U 1 1 6062BF4E
P 7300 4600
F 0 "JP2" V 7254 4668 50 0000 L CNN
F 1 "SolderJumper_2_Open" V 7345 4668 50 0000 L CNN
F 2 "Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm" H 7300 4600 50 0001 C CNN
F 3 "~" H 7300 4600 50 0001 C CNN
1 7300 4600
0 1 1 0
$EndComp
$Comp
L Jumper:SolderJumper_2_Open JP1
U 1 1 6064EF71
P 1350 7400
F 0 "JP1" H 1300 7150 50 0000 C CNN
F 1 "SolderJumper_2_Open" H 1350 7250 50 0000 C CNN
F 2 "Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm" H 1350 7400 50 0001 C CNN
F 3 "~" H 1350 7400 50 0001 C CNN
1 1350 7400
1 0 0 -1
$EndComp
Text GLabel 5500 2150 2 50 Input ~ 0
MEAS_EN
Wire Wire Line
5500 2150 5300 2150
$EndSCHEMATC

View File

@@ -631,60 +631,60 @@ Wire Wire Line
$Comp
L Device:R R13
U 1 1 60403C7A
P 6250 2950
F 0 "R13" H 6320 2996 50 0000 L CNN
F 1 "100K" H 6320 2905 50 0000 L CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6180 2950 50 0001 C CNN
F 3 "~" H 6250 2950 50 0001 C CNN
1 6250 2950
P 6750 5600
F 0 "R13" H 6820 5646 50 0000 L CNN
F 1 "10K" H 6820 5555 50 0000 L CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6680 5600 50 0001 C CNN
F 3 "~" H 6750 5600 50 0001 C CNN
1 6750 5600
1 0 0 -1
$EndComp
$Comp
L Device:R R12
U 1 1 6040529B
P 6250 2500
F 0 "R12" H 6320 2546 50 0000 L CNN
F 1 "220K" H 6320 2455 50 0000 L CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6180 2500 50 0001 C CNN
F 3 "~" H 6250 2500 50 0001 C CNN
1 6250 2500
P 6750 5150
F 0 "R12" H 6820 5196 50 0000 L CNN
F 1 "4k7" H 6820 5105 50 0000 L CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6680 5150 50 0001 C CNN
F 3 "~" H 6750 5150 50 0001 C CNN
1 6750 5150
1 0 0 -1
$EndComp
Text GLabel 6400 2700 2 50 Input ~ 0
Text GLabel 6900 5350 2 50 Input ~ 0
MEAS_VBATT
Wire Wire Line
6400 2700 6250 2700
6900 5350 6750 5350
Wire Wire Line
6250 2700 6250 2650
6750 5350 6750 5300
Wire Wire Line
6250 2800 6250 2700
Connection ~ 6250 2700
6750 5450 6750 5350
Connection ~ 6750 5350
$Comp
L power:+BATT #PWR0117
U 1 1 60416333
P 6250 2150
F 0 "#PWR0117" H 6250 2000 50 0001 C CNN
F 1 "+BATT" H 6265 2323 50 0000 C CNN
F 2 "" H 6250 2150 50 0001 C CNN
F 3 "" H 6250 2150 50 0001 C CNN
1 6250 2150
P 6750 4250
F 0 "#PWR0117" H 6750 4100 50 0001 C CNN
F 1 "+BATT" H 6765 4423 50 0000 C CNN
F 2 "" H 6750 4250 50 0001 C CNN
F 3 "" H 6750 4250 50 0001 C CNN
1 6750 4250
1 0 0 -1
$EndComp
Wire Wire Line
6250 2150 6250 2350
6750 4800 6750 4900
$Comp
L power:GND #PWR0118
U 1 1 6041C5AA
P 6250 3300
F 0 "#PWR0118" H 6250 3050 50 0001 C CNN
F 1 "GND" H 6255 3127 50 0000 C CNN
F 2 "" H 6250 3300 50 0001 C CNN
F 3 "" H 6250 3300 50 0001 C CNN
1 6250 3300
P 6750 5950
F 0 "#PWR0118" H 6750 5700 50 0001 C CNN
F 1 "GND" H 6755 5777 50 0000 C CNN
F 2 "" H 6750 5950 50 0001 C CNN
F 3 "" H 6750 5950 50 0001 C CNN
1 6750 5950
1 0 0 -1
$EndComp
Wire Wire Line
6250 3300 6250 3100
6750 5950 6750 5850
Text GLabel 5500 1350 2 50 Input ~ 0
MEAS_VBATT
Wire Wire Line
@@ -847,18 +847,6 @@ Wire Wire Line
Wire Wire Line
2100 7300 2000 7300
$Comp
L Device:R R14
U 1 1 60310C7E
P 1350 7400
F 0 "R14" V 1450 7400 50 0000 C CNN
F 1 "0E" V 1550 7400 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 1280 7400 50 0001 C CNN
F 3 "~" H 1350 7400 50 0001 C CNN
F 4 "DNP" V 1350 7400 50 0000 C CNN "DNP"
1 1350 7400
0 1 1 0
$EndComp
$Comp
L power:VBUS #PWR0124
U 1 1 603121CD
P 900 7100
@@ -983,7 +971,6 @@ NoConn ~ 4200 2350
NoConn ~ 4200 2850
NoConn ~ 5300 2450
NoConn ~ 5300 2550
NoConn ~ 5300 2150
NoConn ~ 5300 2850
Wire Wire Line
4800 3050 4800 3450
@@ -1268,4 +1255,100 @@ Wire Wire Line
Connection ~ 8900 5000
Text GLabel 7450 1100 0 50 Input ~ 0
DET1
$Comp
L Transistor_FET:BSS84 Q1
U 1 1 605F95CF
P 6650 4600
F 0 "Q1" H 6854 4646 50 0000 L CNN
F 1 "BSS84" H 6854 4555 50 0000 L CNN
F 2 "Package_TO_SOT_SMD:SOT-23" H 6850 4525 50 0001 L CIN
F 3 "http://assets.nexperia.com/documents/data-sheet/BSS84.pdf" H 6650 4600 50 0001 L CNN
F 4 "FARNELL-1972673" H 6650 4600 50 0001 C CNN "ordercode"
1 6650 4600
1 0 0 -1
$EndComp
Wire Wire Line
6750 4250 6750 4300
$Comp
L Device:R R14
U 1 1 6060550D
P 6100 4450
F 0 "R14" H 6170 4496 50 0000 L CNN
F 1 "100K" H 6170 4405 50 0000 L CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6030 4450 50 0001 C CNN
F 3 "~" H 6100 4450 50 0001 C CNN
1 6100 4450
1 0 0 -1
$EndComp
Wire Wire Line
6100 4300 6750 4300
Connection ~ 6750 4300
Wire Wire Line
6750 4300 6750 4400
Wire Wire Line
6450 4600 6100 4600
Text GLabel 6000 4600 0 50 Input ~ 0
MEAS_EN
Wire Wire Line
6000 4600 6100 4600
Connection ~ 6100 4600
$Comp
L Device:C C10
U 1 1 6061C058
P 6350 5600
F 0 "C10" H 6465 5646 50 0000 L CNN
F 1 "C" H 6465 5555 50 0000 L CNN
F 2 "Capacitor_SMD:C_0603_1608Metric" H 6388 5450 50 0001 C CNN
F 3 "~" H 6350 5600 50 0001 C CNN
1 6350 5600
1 0 0 -1
$EndComp
Wire Wire Line
6350 5450 6350 5350
Wire Wire Line
6350 5350 6750 5350
Wire Wire Line
6350 5750 6350 5850
Wire Wire Line
6350 5850 6750 5850
Connection ~ 6750 5850
Wire Wire Line
6750 5850 6750 5750
Wire Wire Line
7300 4450 7300 4300
Wire Wire Line
7300 4300 6750 4300
Wire Wire Line
7300 4750 7300 4900
Wire Wire Line
7300 4900 6750 4900
Connection ~ 6750 4900
Wire Wire Line
6750 4900 6750 5000
$Comp
L Jumper:SolderJumper_2_Open JP2
U 1 1 6062BF4E
P 7300 4600
F 0 "JP2" V 7254 4668 50 0000 L CNN
F 1 "SolderJumper_2_Open" V 7345 4668 50 0000 L CNN
F 2 "Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm" H 7300 4600 50 0001 C CNN
F 3 "~" H 7300 4600 50 0001 C CNN
1 7300 4600
0 1 1 0
$EndComp
$Comp
L Jumper:SolderJumper_2_Open JP1
U 1 1 6064EF71
P 1350 7400
F 0 "JP1" H 1300 7150 50 0000 C CNN
F 1 "SolderJumper_2_Open" H 1350 7250 50 0000 C CNN
F 2 "Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm" H 1350 7400 50 0001 C CNN
F 3 "~" H 1350 7400 50 0001 C CNN
1 1350 7400
1 0 0 -1
$EndComp
Text GLabel 5500 2150 2 50 Input ~ 0
MEAS_EN
Wire Wire Line
5500 2150 5300 2150
$EndSCHEMATC