From 1f58d49295a8e531055d6416acef581a17858f7b Mon Sep 17 00:00:00 2001 From: Fisch Date: Sun, 14 Mar 2021 17:05:13 +0100 Subject: [PATCH] draw schematic for power latch circuit --- scale_hardware/scale_hardware.pro | 33 +++ scale_hardware/scale_hardware.sch | 410 ++++++++++++++++++++++++++++++ 2 files changed, 443 insertions(+) create mode 100644 scale_hardware/scale_hardware.pro create mode 100644 scale_hardware/scale_hardware.sch diff --git a/scale_hardware/scale_hardware.pro b/scale_hardware/scale_hardware.pro new file mode 100644 index 0000000..152769c --- /dev/null +++ b/scale_hardware/scale_hardware.pro @@ -0,0 +1,33 @@ +update=22/05/2015 07:44:53 +version=1 +last_client=kicad +[general] +version=1 +RootSch= +BoardNm= +[pcbnew] +version=1 +LastNetListRead= +UseCmpFile=1 +PadDrill=0.600000000000 +PadDrillOvalY=0.600000000000 +PadSizeH=1.500000000000 +PadSizeV=1.500000000000 +PcbTextSizeV=1.500000000000 +PcbTextSizeH=1.500000000000 +PcbTextThickness=0.300000000000 +ModuleTextSizeV=1.000000000000 +ModuleTextSizeH=1.000000000000 +ModuleTextSizeThickness=0.150000000000 +SolderMaskClearance=0.000000000000 +SolderMaskMinWidth=0.000000000000 +DrawSegmentWidth=0.200000000000 +BoardOutlineThickness=0.100000000000 +ModuleOutlineThickness=0.150000000000 +[cvpcb] +version=1 +NetIExt=net +[eeschema] +version=1 +LibDir= +[eeschema/libraries] diff --git a/scale_hardware/scale_hardware.sch b/scale_hardware/scale_hardware.sch new file mode 100644 index 0000000..fa36b45 --- /dev/null +++ b/scale_hardware/scale_hardware.sch @@ -0,0 +1,410 @@ +EESchema Schematic File Version 4 +EELAYER 30 0 +EELAYER END +$Descr A4 11693 8268 +encoding utf-8 +Sheet 1 1 +Title "" +Date "" +Rev "" +Comp "" +Comment1 "" +Comment2 "" +Comment3 "" +Comment4 "" +$EndDescr +$Comp +L Device:R R5 +U 1 1 604E2CEB +P 5000 1950 +F 0 "R5" H 5070 1996 50 0000 L CNN +F 1 "10k" H 5070 1905 50 0000 L CNN +F 2 "" V 4930 1950 50 0001 C CNN +F 3 "~" H 5000 1950 50 0001 C CNN + 1 5000 1950 + 1 0 0 -1 +$EndComp +$Comp +L Transistor_BJT:BC327 Q2 +U 1 1 604E30F3 +P 5250 2200 +F 0 "Q2" H 5441 2154 50 0000 L CNN +F 1 "BC327" H 5441 2245 50 0000 L CNN +F 2 "Package_TO_SOT_THT:TO-92_Inline" H 5450 2125 50 0001 L CIN +F 3 "http://www.onsemi.com/pub_link/Collateral/BC327-D.PDF" H 5250 2200 50 0001 L CNN + 1 5250 2200 + 1 0 0 1 +$EndComp +$Comp +L Transistor_BJT:BC337 Q1 +U 1 1 604E3992 +P 4400 2550 +F 0 "Q1" H 4591 2596 50 0000 L CNN +F 1 "BC337" H 4591 2505 50 0000 L CNN +F 2 "Package_TO_SOT_THT:TO-92_Inline" H 4600 2475 50 0001 L CIN +F 3 "https://diotec.com/tl_files/diotec/files/pdf/datasheets/bc337.pdf" H 4400 2550 50 0001 L CNN + 1 4400 2550 + 1 0 0 -1 +$EndComp +$Comp +L Connector:Conn_01x01_Female Jbat1 +U 1 1 604E465F +P 1450 1700 +F 0 "Jbat1" H 1342 1475 50 0000 C CNN +F 1 "bat_positive" H 1342 1566 50 0000 C CNN +F 2 "" H 1450 1700 50 0001 C CNN +F 3 "~" H 1450 1700 50 0001 C CNN + 1 1450 1700 + -1 0 0 1 +$EndComp +$Comp +L Connector:Conn_01x01_Female Jbat2 +U 1 1 604E5347 +P 1500 3050 +F 0 "Jbat2" H 1392 2825 50 0000 C CNN +F 1 "bat_negative" H 1392 2916 50 0000 C CNN +F 2 "" H 1500 3050 50 0001 C CNN +F 3 "~" H 1500 3050 50 0001 C CNN + 1 1500 3050 + -1 0 0 1 +$EndComp +$Comp +L Connector:Conn_01x01_Female Jout1 +U 1 1 604E571D +P 6450 2400 +F 0 "Jout1" H 6478 2426 50 0000 L CNN +F 1 "output_positive" H 6478 2335 50 0000 L CNN +F 2 "" H 6450 2400 50 0001 C CNN +F 3 "~" H 6450 2400 50 0001 C CNN + 1 6450 2400 + 1 0 0 -1 +$EndComp +$Comp +L Connector:Conn_01x01_Female Jout2 +U 1 1 604E59B9 +P 6450 3050 +F 0 "Jout2" H 6478 3076 50 0000 L CNN +F 1 "output_negative" H 6478 2985 50 0000 L CNN +F 2 "" H 6450 3050 50 0001 C CNN +F 3 "~" H 6450 3050 50 0001 C CNN + 1 6450 3050 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR01 +U 1 1 604E7C2A +P 1850 3200 +F 0 "#PWR01" H 1850 2950 50 0001 C CNN +F 1 "GND" H 1855 3027 50 0000 C CNN +F 2 "" H 1850 3200 50 0001 C CNN +F 3 "" H 1850 3200 50 0001 C CNN + 1 1850 3200 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR05 +U 1 1 604E7ED1 +P 6200 3350 +F 0 "#PWR05" H 6200 3100 50 0001 C CNN +F 1 "GND" H 6205 3177 50 0000 C CNN +F 2 "" H 6200 3350 50 0001 C CNN +F 3 "" H 6200 3350 50 0001 C CNN + 1 6200 3350 + 1 0 0 -1 +$EndComp +Wire Wire Line + 6250 3050 6200 3050 +Wire Wire Line + 6200 3050 6200 3350 +Wire Wire Line + 1700 3050 1850 3050 +Wire Wire Line + 1850 3050 1850 3200 +$Comp +L Diode:1N4148 D2 +U 1 1 604E97D0 +P 6000 2400 +F 0 "D2" H 6000 2183 50 0000 C CNN +F 1 "1N4148" H 6000 2274 50 0000 C CNN +F 2 "Diode_THT:D_DO-35_SOD27_P7.62mm_Horizontal" H 6000 2225 50 0001 C CNN +F 3 "https://assets.nexperia.com/documents/data-sheet/1N4148_1N4448.pdf" H 6000 2400 50 0001 C CNN + 1 6000 2400 + -1 0 0 1 +$EndComp +Wire Wire Line + 6250 2400 6150 2400 +Wire Wire Line + 5850 2400 5550 2400 +Wire Wire Line + 5350 1700 5350 2000 +Wire Wire Line + 5000 1800 5000 1700 +Connection ~ 5000 1700 +Wire Wire Line + 5000 1700 5350 1700 +Wire Wire Line + 5050 2200 5000 2200 +Wire Wire Line + 5000 2200 5000 2100 +$Comp +L Device:R R4 +U 1 1 604FFABC +P 4700 2200 +F 0 "R4" V 4907 2200 50 0000 C CNN +F 1 "100" V 4816 2200 50 0000 C CNN +F 2 "" V 4630 2200 50 0001 C CNN +F 3 "~" H 4700 2200 50 0001 C CNN + 1 4700 2200 + 0 -1 -1 0 +$EndComp +Wire Wire Line + 4850 2200 5000 2200 +Connection ~ 5000 2200 +Wire Wire Line + 4500 2350 4500 2200 +Wire Wire Line + 4500 2200 4550 2200 +$Comp +L Device:R R6 +U 1 1 60500C69 +P 5550 2550 +F 0 "R6" H 5620 2596 50 0000 L CNN +F 1 "2k2" H 5620 2505 50 0000 L CNN +F 2 "" V 5480 2550 50 0001 C CNN +F 3 "~" H 5550 2550 50 0001 C CNN + 1 5550 2550 + 1 0 0 -1 +$EndComp +Connection ~ 5550 2400 +Wire Wire Line + 5550 2400 5350 2400 +$Comp +L Device:R R7 +U 1 1 60501346 +P 5550 3000 +F 0 "R7" H 5620 3046 50 0000 L CNN +F 1 "1k" H 5620 2955 50 0000 L CNN +F 2 "" V 5480 3000 50 0001 C CNN +F 3 "~" H 5550 3000 50 0001 C CNN + 1 5550 3000 + 1 0 0 -1 +$EndComp +Wire Wire Line + 5550 2850 5550 2750 +$Comp +L power:GND #PWR04 +U 1 1 60503378 +P 5550 3350 +F 0 "#PWR04" H 5550 3100 50 0001 C CNN +F 1 "GND" H 5555 3177 50 0000 C CNN +F 2 "" H 5550 3350 50 0001 C CNN +F 3 "" H 5550 3350 50 0001 C CNN + 1 5550 3350 + 1 0 0 -1 +$EndComp +Wire Wire Line + 5550 3350 5550 3150 +$Comp +L Connector:Conn_01x01_Female Js1 +U 1 1 60503D41 +P 6450 2750 +F 0 "Js1" H 6478 2776 50 0000 L CNN +F 1 "vbat_sense" H 6478 2685 50 0000 L CNN +F 2 "" H 6450 2750 50 0001 C CNN +F 3 "~" H 6450 2750 50 0001 C CNN + 1 6450 2750 + 1 0 0 -1 +$EndComp +Wire Wire Line + 6250 2750 5550 2750 +Connection ~ 5550 2750 +Wire Wire Line + 5550 2750 5550 2700 +$Comp +L Device:R R3 +U 1 1 6050F9A6 +P 4100 2800 +F 0 "R3" H 4170 2846 50 0000 L CNN +F 1 "10k" H 4170 2755 50 0000 L CNN +F 2 "" V 4030 2800 50 0001 C CNN +F 3 "~" H 4100 2800 50 0001 C CNN + 1 4100 2800 + 1 0 0 -1 +$EndComp +Wire Wire Line + 4200 2550 4100 2550 +Wire Wire Line + 4100 2550 4100 2650 +$Comp +L Connector:Conn_01x01_Female Jt3 +U 1 1 6051059E +P 2900 2350 +F 0 "Jt3" H 2750 2400 50 0000 C CNN +F 1 "touch_negative" H 3200 2350 50 0000 C CNN +F 2 "" H 2900 2350 50 0001 C CNN +F 3 "~" H 2900 2350 50 0001 C CNN + 1 2900 2350 + -1 0 0 1 +$EndComp +$Comp +L power:GND #PWR03 +U 1 1 60511BF1 +P 4500 3350 +F 0 "#PWR03" H 4500 3100 50 0001 C CNN +F 1 "GND" H 4505 3177 50 0000 C CNN +F 2 "" H 4500 3350 50 0001 C CNN +F 3 "" H 4500 3350 50 0001 C CNN + 1 4500 3350 + 1 0 0 -1 +$EndComp +Wire Wire Line + 4500 3350 4500 3100 +Wire Wire Line + 4100 2950 4100 3100 +Wire Wire Line + 4100 3100 4500 3100 +Connection ~ 4500 3100 +Wire Wire Line + 4500 3100 4500 2750 +$Comp +L Connector:Conn_01x01_Female Jt1 +U 1 1 60517CF8 +P 2900 2050 +F 0 "Jt1" H 2700 2100 50 0000 L CNN +F 1 "touch_positive" H 2950 2050 50 0000 L CNN +F 2 "" H 2900 2050 50 0001 C CNN +F 3 "~" H 2900 2050 50 0001 C CNN + 1 2900 2050 + -1 0 0 1 +$EndComp +$Comp +L Connector:Conn_01x01_Female Jt2 +U 1 1 60518072 +P 2900 2200 +F 0 "Jt2" H 2750 2250 50 0000 C CNN +F 1 "touch_signal" H 3200 2200 50 0000 C CNN +F 2 "" H 2900 2200 50 0001 C CNN +F 3 "~" H 2900 2200 50 0001 C CNN + 1 2900 2200 + -1 0 0 1 +$EndComp +$Comp +L Device:R R1 +U 1 1 60518D78 +P 3700 2200 +F 0 "R1" V 3493 2200 50 0000 C CNN +F 1 "1k" V 3584 2200 50 0000 C CNN +F 2 "" V 3630 2200 50 0001 C CNN +F 3 "~" H 3700 2200 50 0001 C CNN + 1 3700 2200 + 0 1 1 0 +$EndComp +$Comp +L Device:R R2 +U 1 1 605193A0 +P 3700 2500 +F 0 "R2" V 3493 2500 50 0000 C CNN +F 1 "1k" V 3584 2500 50 0000 C CNN +F 2 "" V 3630 2500 50 0001 C CNN +F 3 "~" H 3700 2500 50 0001 C CNN + 1 3700 2500 + 0 1 1 0 +$EndComp +Wire Wire Line + 3850 2500 4100 2500 +Wire Wire Line + 4100 2500 4100 2550 +Connection ~ 4100 2550 +Wire Wire Line + 4100 2500 4100 2200 +Wire Wire Line + 4100 2200 3850 2200 +Connection ~ 4100 2500 +Wire Wire Line + 3550 2200 3100 2200 +$Comp +L Device:LED D1 +U 1 1 60536DA5 +P 3250 1850 +F 0 "D1" V 3289 1732 50 0000 R CNN +F 1 "LED" V 3198 1732 50 0000 R CNN +F 2 "" H 3250 1850 50 0001 C CNN +F 3 "~" H 3250 1850 50 0001 C CNN + 1 3250 1850 + 0 -1 -1 0 +$EndComp +Wire Wire Line + 3250 2000 3250 2050 +Wire Wire Line + 3250 2050 3100 2050 +Connection ~ 3250 1700 +Wire Wire Line + 3250 1700 5000 1700 +Wire Wire Line + 1650 1700 1850 1700 +$Comp +L power:GND #PWR02 +U 1 1 605429CF +P 3200 3200 +F 0 "#PWR02" H 3200 2950 50 0001 C CNN +F 1 "GND" H 3205 3027 50 0000 C CNN +F 2 "" H 3200 3200 50 0001 C CNN +F 3 "" H 3200 3200 50 0001 C CNN + 1 3200 3200 + 1 0 0 -1 +$EndComp +Wire Wire Line + 3200 3200 3200 2350 +Wire Wire Line + 3200 2350 3100 2350 +Text Notes 3100 1650 0 50 ~ 0 +LED for dropping voltage\nfrom 6-8.4v to around 5v +$Comp +L Connector:Conn_01x01_Female Jen1 +U 1 1 6054FCD6 +P 2900 2500 +F 0 "Jen1" H 2750 2550 50 0000 C CNN +F 1 "enable" H 3200 2500 50 0000 C CNN +F 2 "" H 2900 2500 50 0001 C CNN +F 3 "~" H 2900 2500 50 0001 C CNN + 1 2900 2500 + -1 0 0 1 +$EndComp +Wire Wire Line + 3100 2500 3550 2500 +Text Notes 5900 2100 0 50 ~ 0 +0.6V voltage drop\nneeded if battery is full (8.4V)\nvoltage drop of transistor not sufficient +Text Notes 7100 2550 0 50 ~ 0 +Output voltage range with 2S LiPo\nwill be good enough for 3v3 reg\non esp8266 +Text Notes 1100 1350 0 50 ~ 0 +2S LiPo Battery. 6V - 8.4V\nAdditional BMS is recommended +$Comp +L Device:CP C? +U 1 1 6055C859 +P 1850 1950 +F 0 "C?" H 1968 1996 50 0000 L CNN +F 1 "10uF" H 1968 1905 50 0000 L CNN +F 2 "" H 1888 1800 50 0001 C CNN +F 3 "~" H 1850 1950 50 0001 C CNN + 1 1850 1950 + 1 0 0 -1 +$EndComp +Wire Wire Line + 1850 1800 1850 1700 +Connection ~ 1850 1700 +Wire Wire Line + 1850 1700 3250 1700 +Wire Wire Line + 1850 2100 1850 3050 +Connection ~ 1850 3050 +Text Notes 2450 1900 0 50 ~ 0 +Debo Touch +Wire Notes Line + 2300 1800 2900 1800 +Wire Notes Line + 2900 1800 2900 2450 +Wire Notes Line + 2900 2450 2300 2450 +Wire Notes Line + 2300 2450 2300 1800 +$EndSCHEMATC