direct measurement of ADC

This commit is contained in:
Joerg Lehmann 2020-10-30 11:04:19 +01:00
parent ab00760005
commit 909266750a
4 changed files with 2022 additions and 2365 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -6,7 +6,7 @@ encoding utf-8
Sheet 1 1 Sheet 1 1
Title "mini-beieli-pcb-cubecell" Title "mini-beieli-pcb-cubecell"
Date "2020-10-23" Date "2020-10-23"
Rev "4.1" Rev "4.2"
Comp "nbit Informatik GmbH" Comp "nbit Informatik GmbH"
Comment1 "" Comment1 ""
Comment2 "" Comment2 ""
@ -216,8 +216,6 @@ F 3 "" H 14100 7250 50 0001 C CNN
$EndComp $EndComp
Wire Wire Line Wire Wire Line
7000 0 8150 0 7000 0 8150 0
Text Label 14900 2950 0 50 ~ 0
VSUPERCAP
Wire Wire Line Wire Wire Line
14350 2950 14800 2950 14350 2950 14800 2950
Connection ~ 14350 2950 Connection ~ 14350 2950
@ -563,9 +561,6 @@ F 3 "~" H 14800 3100 50 0001 C CNN
1 14800 3100 1 14800 3100
1 0 0 -1 1 0 0 -1
$EndComp $EndComp
Connection ~ 14800 2950
Wire Wire Line
14800 2950 14900 2950
Wire Wire Line Wire Wire Line
14350 3350 14800 3350 14350 3350 14800 3350
Wire Wire Line Wire Wire Line
@ -918,121 +913,54 @@ Wire Wire Line
Connection ~ 3400 3050 Connection ~ 3400 3050
Wire Wire Line Wire Wire Line
3400 3050 3650 3050 3400 3050 3650 3050
Text Notes 3050 8700 0 118 ~ 24 Text Notes 3450 8700 0 118 ~ 24
ADC Read
Text Notes 6200 8700 0 118 ~ 24
Vext Control Vext Control
Text Label 3450 9000 0 50 ~ 0 Text Label 4200 9000 0 50 ~ 0
VSUPERCAP
$Comp
L Device:R R10
U 1 1 5F8A40C5
P 3450 9350
F 0 "R10" H 3550 9450 50 0000 L CNN
F 1 "220k" H 3550 9350 50 0000 L CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 3380 9350 50 0001 C CNN
F 3 "~" H 3450 9350 50 0001 C CNN
1 3450 9350
1 0 0 -1
$EndComp
Wire Wire Line
3450 9000 3450 9200
$Comp
L Transistor_FET:AO3401A Q1
U 1 1 5F8AFEB7
P 3350 9800
F 0 "Q1" H 3600 9900 50 0000 L CNN
F 1 "AO3401A" H 3600 9800 50 0000 L CNN
F 2 "Package_TO_SOT_SMD:SOT-23" H 3550 9725 50 0001 L CIN
F 3 "http://www.aosmd.com/pdfs/datasheet/AO3401A.pdf" H 3350 9800 50 0001 L CNN
1 3350 9800
1 0 0 -1
$EndComp
Wire Wire Line
3450 9500 3450 9550
Text Label 3750 9550 0 50 ~ 0
ADC
Wire Wire Line
3450 9550 3750 9550
Connection ~ 3450 9550
Wire Wire Line
3450 9550 3450 9600
Text Label 2400 9800 0 50 ~ 0
GPIO6
$Comp
L Device:R R9
U 1 1 5F8C96E0
P 2850 9800
F 0 "R9" V 2600 9800 50 0000 C CNN
F 1 "1K" V 2700 9800 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 2780 9800 50 0001 C CNN
F 3 "~" H 2850 9800 50 0001 C CNN
1 2850 9800
0 1 1 0
$EndComp
Wire Wire Line
3000 9800 3150 9800
Wire Wire Line
2400 9800 2700 9800
$Comp
L Device:R R11
U 1 1 5F8E190D
P 3450 10250
F 0 "R11" H 3550 10350 50 0000 L CNN
F 1 "100k" H 3550 10250 50 0000 L CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 3380 10250 50 0001 C CNN
F 3 "~" H 3450 10250 50 0001 C CNN
1 3450 10250
1 0 0 -1
$EndComp
Wire Wire Line
3450 10000 3450 10100
Text Label 6950 9000 0 50 ~ 0
VIN VIN
$Comp $Comp
L Transistor_FET:AO3401A Q2 L Transistor_FET:AO3401A Q2
U 1 1 5F92BEB1 U 1 1 5F92BEB1
P 6850 9800 P 4100 9800
F 0 "Q2" H 7100 9900 50 0000 L CNN F 0 "Q2" H 4350 9900 50 0000 L CNN
F 1 "AO3401A" H 7100 9800 50 0000 L CNN F 1 "AO3401A" H 4350 9800 50 0000 L CNN
F 2 "Package_TO_SOT_SMD:SOT-23" H 7050 9725 50 0001 L CIN F 2 "Package_TO_SOT_SMD:SOT-23" H 4300 9725 50 0001 L CIN
F 3 "http://www.aosmd.com/pdfs/datasheet/AO3401A.pdf" H 6850 9800 50 0001 L CNN F 3 "http://www.aosmd.com/pdfs/datasheet/AO3401A.pdf" H 4100 9800 50 0001 L CNN
1 6850 9800 1 4100 9800
1 0 0 1 1 0 0 1
$EndComp $EndComp
Text Label 5900 9800 0 50 ~ 0 Text Label 3150 9800 0 50 ~ 0
GPIO6 GPIO6
$Comp $Comp
L Device:R R12 L Device:R R12
U 1 1 5F92BEC1 U 1 1 5F92BEC1
P 6500 9550 P 3750 9550
F 0 "R12" H 6400 9450 50 0000 R CNN F 0 "R12" H 3650 9450 50 0000 R CNN
F 1 "10K" H 6400 9550 50 0000 R CNN F 1 "10K" H 3650 9550 50 0000 R CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6430 9550 50 0001 C CNN F 2 "Resistor_SMD:R_0603_1608Metric" V 3680 9550 50 0001 C CNN
F 3 "~" H 6500 9550 50 0001 C CNN F 3 "~" H 3750 9550 50 0001 C CNN
1 6500 9550 1 3750 9550
-1 0 0 1 -1 0 0 1
$EndComp $EndComp
Wire Wire Line Wire Wire Line
6950 10000 6950 10100 4200 10000 4200 10100
Wire Wire Line Wire Wire Line
6950 9000 6950 9300 4200 9000 4200 9300
Text Label 6950 10100 0 50 ~ 0 Text Label 4200 10100 0 50 ~ 0
VEXT VEXT
Wire Wire Line Wire Wire Line
6500 9300 6950 9300 3750 9300 4200 9300
Connection ~ 6950 9300 Connection ~ 4200 9300
Wire Wire Line Wire Wire Line
6950 9300 6950 9600 4200 9300 4200 9600
Wire Wire Line Wire Wire Line
6500 9300 6500 9400 3750 9300 3750 9400
Wire Wire Line Wire Wire Line
6500 9700 6500 9800 3750 9700 3750 9800
Wire Wire Line Wire Wire Line
5900 9800 6500 9800 3150 9800 3750 9800
Connection ~ 6500 9800 Connection ~ 3750 9800
Wire Wire Line Wire Wire Line
6500 9800 6650 9800 3750 9800 3900 9800
Text Notes 6200 4750 0 118 ~ 24 Text Notes 6200 4750 0 118 ~ 24
Serial Connector Serial Connector
Text Label 6900 5100 0 50 ~ 0 Text Label 6900 5100 0 50 ~ 0
@ -1132,12 +1060,12 @@ Wire Wire Line
$Comp $Comp
L power:PWR_FLAG #FLG0104 L power:PWR_FLAG #FLG0104
U 1 1 5F9CCEFC U 1 1 5F9CCEFC
P 6950 10100 P 4200 10100
F 0 "#FLG0104" H 6950 10175 50 0001 C CNN F 0 "#FLG0104" H 4200 10175 50 0001 C CNN
F 1 "PWR_FLAG" V 6950 10250 50 0000 L CNN F 1 "PWR_FLAG" V 4200 10250 50 0000 L CNN
F 2 "" H 6950 10100 50 0001 C CNN F 2 "" H 4200 10100 50 0001 C CNN
F 3 "~" H 6950 10100 50 0001 C CNN F 3 "~" H 4200 10100 50 0001 C CNN
1 6950 10100 1 4200 10100
0 -1 -1 0 0 -1 -1 0
$EndComp $EndComp
Wire Wire Line Wire Wire Line
@ -1192,17 +1120,6 @@ F 3 "" H 14950 8000 50 0001 C CNN
1 0 0 -1 1 0 0 -1
$EndComp $EndComp
$Comp $Comp
L power:GND #PWR0104
U 1 1 5FC3B18F
P 3450 10400
F 0 "#PWR0104" H 3450 10150 50 0001 C CNN
F 1 "GND" H 3500 10200 50 0000 C CNN
F 2 "" H 3450 10400 50 0001 C CNN
F 3 "" H 3450 10400 50 0001 C CNN
1 3450 10400
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0102 L power:GND #PWR0102
U 1 1 5FC56C76 U 1 1 5FC56C76
P 2600 4050 P 2600 4050
@ -1288,4 +1205,6 @@ Wire Wire Line
14350 3900 13850 3900 14350 3900 13850 3900
Connection ~ 14350 3900 Connection ~ 14350 3900
Connection ~ 13850 3900 Connection ~ 13850 3900
Text Label 14800 3350 0 50 ~ 0
ADC
$EndSCHEMATC $EndSCHEMATC

View File

@ -6,7 +6,7 @@ encoding utf-8
Sheet 1 1 Sheet 1 1
Title "mini-beieli-pcb-cubecell" Title "mini-beieli-pcb-cubecell"
Date "2020-10-23" Date "2020-10-23"
Rev "4.1" Rev "4.2"
Comp "nbit Informatik GmbH" Comp "nbit Informatik GmbH"
Comment1 "" Comment1 ""
Comment2 "" Comment2 ""
@ -216,8 +216,6 @@ F 3 "" H 14100 7250 50 0001 C CNN
$EndComp $EndComp
Wire Wire Line Wire Wire Line
7000 0 8150 0 7000 0 8150 0
Text Label 14900 2950 0 50 ~ 0
VSUPERCAP
Wire Wire Line Wire Wire Line
14350 2950 14800 2950 14350 2950 14800 2950
Connection ~ 14350 2950 Connection ~ 14350 2950
@ -563,9 +561,6 @@ F 3 "~" H 14800 3100 50 0001 C CNN
1 14800 3100 1 14800 3100
1 0 0 -1 1 0 0 -1
$EndComp $EndComp
Connection ~ 14800 2950
Wire Wire Line
14800 2950 14900 2950
Wire Wire Line Wire Wire Line
14350 3350 14800 3350 14350 3350 14800 3350
Wire Wire Line Wire Wire Line
@ -918,121 +913,54 @@ Wire Wire Line
Connection ~ 3400 3050 Connection ~ 3400 3050
Wire Wire Line Wire Wire Line
3400 3050 3650 3050 3400 3050 3650 3050
Text Notes 3050 8700 0 118 ~ 24 Text Notes 3450 8700 0 118 ~ 24
ADC Read
Text Notes 6200 8700 0 118 ~ 24
Vext Control Vext Control
Text Label 3450 9000 0 50 ~ 0 Text Label 4200 9000 0 50 ~ 0
VSUPERCAP
$Comp
L Device:R R10
U 1 1 5F8A40C5
P 3450 9350
F 0 "R10" H 3550 9450 50 0000 L CNN
F 1 "220k" H 3550 9350 50 0000 L CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 3380 9350 50 0001 C CNN
F 3 "~" H 3450 9350 50 0001 C CNN
1 3450 9350
1 0 0 -1
$EndComp
Wire Wire Line
3450 9000 3450 9200
$Comp
L Transistor_FET:AO3401A Q1
U 1 1 5F8AFEB7
P 3350 9800
F 0 "Q1" H 3600 9900 50 0000 L CNN
F 1 "AO3401A" H 3600 9800 50 0000 L CNN
F 2 "Package_TO_SOT_SMD:SOT-23" H 3550 9725 50 0001 L CIN
F 3 "http://www.aosmd.com/pdfs/datasheet/AO3401A.pdf" H 3350 9800 50 0001 L CNN
1 3350 9800
1 0 0 -1
$EndComp
Wire Wire Line
3450 9500 3450 9550
Text Label 3750 9550 0 50 ~ 0
ADC
Wire Wire Line
3450 9550 3750 9550
Connection ~ 3450 9550
Wire Wire Line
3450 9550 3450 9600
Text Label 2400 9800 0 50 ~ 0
GPIO6
$Comp
L Device:R R9
U 1 1 5F8C96E0
P 2850 9800
F 0 "R9" V 2600 9800 50 0000 C CNN
F 1 "1K" V 2700 9800 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 2780 9800 50 0001 C CNN
F 3 "~" H 2850 9800 50 0001 C CNN
1 2850 9800
0 1 1 0
$EndComp
Wire Wire Line
3000 9800 3150 9800
Wire Wire Line
2400 9800 2700 9800
$Comp
L Device:R R11
U 1 1 5F8E190D
P 3450 10250
F 0 "R11" H 3550 10350 50 0000 L CNN
F 1 "100k" H 3550 10250 50 0000 L CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 3380 10250 50 0001 C CNN
F 3 "~" H 3450 10250 50 0001 C CNN
1 3450 10250
1 0 0 -1
$EndComp
Wire Wire Line
3450 10000 3450 10100
Text Label 6950 9000 0 50 ~ 0
VIN VIN
$Comp $Comp
L Transistor_FET:AO3401A Q2 L Transistor_FET:AO3401A Q2
U 1 1 5F92BEB1 U 1 1 5F92BEB1
P 6850 9800 P 4100 9800
F 0 "Q2" H 7100 9900 50 0000 L CNN F 0 "Q2" H 4350 9900 50 0000 L CNN
F 1 "AO3401A" H 7100 9800 50 0000 L CNN F 1 "AO3401A" H 4350 9800 50 0000 L CNN
F 2 "Package_TO_SOT_SMD:SOT-23" H 7050 9725 50 0001 L CIN F 2 "Package_TO_SOT_SMD:SOT-23" H 4300 9725 50 0001 L CIN
F 3 "http://www.aosmd.com/pdfs/datasheet/AO3401A.pdf" H 6850 9800 50 0001 L CNN F 3 "http://www.aosmd.com/pdfs/datasheet/AO3401A.pdf" H 4100 9800 50 0001 L CNN
1 6850 9800 1 4100 9800
1 0 0 1 1 0 0 1
$EndComp $EndComp
Text Label 5900 9800 0 50 ~ 0 Text Label 3150 9800 0 50 ~ 0
GPIO6 GPIO6
$Comp $Comp
L Device:R R12 L Device:R R12
U 1 1 5F92BEC1 U 1 1 5F92BEC1
P 6500 9550 P 3750 9550
F 0 "R12" H 6400 9450 50 0000 R CNN F 0 "R12" H 3650 9450 50 0000 R CNN
F 1 "10K" H 6400 9550 50 0000 R CNN F 1 "10K" H 3650 9550 50 0000 R CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6430 9550 50 0001 C CNN F 2 "Resistor_SMD:R_0603_1608Metric" V 3680 9550 50 0001 C CNN
F 3 "~" H 6500 9550 50 0001 C CNN F 3 "~" H 3750 9550 50 0001 C CNN
1 6500 9550 1 3750 9550
-1 0 0 1 -1 0 0 1
$EndComp $EndComp
Wire Wire Line Wire Wire Line
6950 10000 6950 10100 4200 10000 4200 10100
Wire Wire Line Wire Wire Line
6950 9000 6950 9300 4200 9000 4200 9300
Text Label 6950 10100 0 50 ~ 0 Text Label 4200 10100 0 50 ~ 0
VEXT VEXT
Wire Wire Line Wire Wire Line
6500 9300 6950 9300 3750 9300 4200 9300
Connection ~ 6950 9300 Connection ~ 4200 9300
Wire Wire Line Wire Wire Line
6950 9300 6950 9600 4200 9300 4200 9600
Wire Wire Line Wire Wire Line
6500 9300 6500 9400 3750 9300 3750 9400
Wire Wire Line Wire Wire Line
6500 9700 6500 9800 3750 9700 3750 9800
Wire Wire Line Wire Wire Line
5900 9800 6500 9800 3150 9800 3750 9800
Connection ~ 6500 9800 Connection ~ 3750 9800
Wire Wire Line Wire Wire Line
6500 9800 6650 9800 3750 9800 3900 9800
Text Notes 6200 4750 0 118 ~ 24 Text Notes 6200 4750 0 118 ~ 24
Serial Connector Serial Connector
Text Label 6900 5100 0 50 ~ 0 Text Label 6900 5100 0 50 ~ 0
@ -1132,12 +1060,12 @@ Wire Wire Line
$Comp $Comp
L power:PWR_FLAG #FLG0104 L power:PWR_FLAG #FLG0104
U 1 1 5F9CCEFC U 1 1 5F9CCEFC
P 6950 10100 P 4200 10100
F 0 "#FLG0104" H 6950 10175 50 0001 C CNN F 0 "#FLG0104" H 4200 10175 50 0001 C CNN
F 1 "PWR_FLAG" V 6950 10250 50 0000 L CNN F 1 "PWR_FLAG" V 4200 10250 50 0000 L CNN
F 2 "" H 6950 10100 50 0001 C CNN F 2 "" H 4200 10100 50 0001 C CNN
F 3 "~" H 6950 10100 50 0001 C CNN F 3 "~" H 4200 10100 50 0001 C CNN
1 6950 10100 1 4200 10100
0 -1 -1 0 0 -1 -1 0
$EndComp $EndComp
Wire Wire Line Wire Wire Line
@ -1192,17 +1120,6 @@ F 3 "" H 14950 8000 50 0001 C CNN
1 0 0 -1 1 0 0 -1
$EndComp $EndComp
$Comp $Comp
L power:GND #PWR0104
U 1 1 5FC3B18F
P 3450 10400
F 0 "#PWR0104" H 3450 10150 50 0001 C CNN
F 1 "GND" H 3500 10200 50 0000 C CNN
F 2 "" H 3450 10400 50 0001 C CNN
F 3 "" H 3450 10400 50 0001 C CNN
1 3450 10400
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0102 L power:GND #PWR0102
U 1 1 5FC56C76 U 1 1 5FC56C76
P 2600 4050 P 2600 4050
@ -1288,4 +1205,6 @@ Wire Wire Line
14350 3900 13850 3900 14350 3900 13850 3900
Connection ~ 14350 3900 Connection ~ 14350 3900
Connection ~ 13850 3900 Connection ~ 13850 3900
Text Label 14800 3350 0 50 ~ 0
ADC
$EndSCHEMATC $EndSCHEMATC