From 576272facee13f33dcb04fee5d1887bb2b6c97ee Mon Sep 17 00:00:00 2001 From: Fisch Date: Thu, 23 Jan 2020 00:11:28 +0100 Subject: [PATCH] start circuit --- touchcircuit/touchcircuit-cache.lib | 124 ++++++++++++++ touchcircuit/touchcircuit.kicad_pcb | 1 + touchcircuit/touchcircuit.pro | 33 ++++ touchcircuit/touchcircuit.sch | 254 ++++++++++++++++++++++++++++ 4 files changed, 412 insertions(+) create mode 100644 touchcircuit/touchcircuit-cache.lib create mode 100644 touchcircuit/touchcircuit.kicad_pcb create mode 100644 touchcircuit/touchcircuit.pro create mode 100644 touchcircuit/touchcircuit.sch diff --git a/touchcircuit/touchcircuit-cache.lib b/touchcircuit/touchcircuit-cache.lib new file mode 100644 index 0000000..525c1e6 --- /dev/null +++ b/touchcircuit/touchcircuit-cache.lib @@ -0,0 +1,124 @@ +EESchema-LIBRARY Version 2.4 +#encoding utf-8 +# +# Connector_Generic_Conn_01x01 +# +DEF Connector_Generic_Conn_01x01 J 0 40 Y N 1 F N +F0 "J" 0 100 50 H V C CNN +F1 "Connector_Generic_Conn_01x01" 0 -100 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + Connector*:* +$ENDFPLIST +DRAW +S -50 5 0 -5 1 1 6 N +S -50 50 50 -50 1 1 10 f +X Pin_1 1 -200 0 150 R 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Connector_Generic_Conn_02x05_Odd_Even +# +DEF Connector_Generic_Conn_02x05_Odd_Even J 0 40 Y N 1 F N +F0 "J" 50 300 50 H V C CNN +F1 "Connector_Generic_Conn_02x05_Odd_Even" 50 -300 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + Connector*:*_2x??_* +$ENDFPLIST +DRAW +S -50 -195 0 -205 1 1 6 N +S -50 -95 0 -105 1 1 6 N +S -50 5 0 -5 1 1 6 N +S -50 105 0 95 1 1 6 N +S -50 205 0 195 1 1 6 N +S -50 250 150 -250 1 1 10 f +S 150 -195 100 -205 1 1 6 N +S 150 -95 100 -105 1 1 6 N +S 150 5 100 -5 1 1 6 N +S 150 105 100 95 1 1 6 N +S 150 205 100 195 1 1 6 N +X Pin_1 1 -200 200 150 R 50 50 1 1 P +X Pin_10 10 300 -200 150 L 50 50 1 1 P +X Pin_2 2 300 200 150 L 50 50 1 1 P +X Pin_3 3 -200 100 150 R 50 50 1 1 P +X Pin_4 4 300 100 150 L 50 50 1 1 P +X Pin_5 5 -200 0 150 R 50 50 1 1 P +X Pin_6 6 300 0 150 L 50 50 1 1 P +X Pin_7 7 -200 -100 150 R 50 50 1 1 P +X Pin_8 8 300 -100 150 L 50 50 1 1 P +X Pin_9 9 -200 -200 150 R 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Device_R +# +DEF Device_R R 0 0 N Y 1 F N +F0 "R" 80 0 50 V V C CNN +F1 "Device_R" 0 0 50 V V C CNN +F2 "" -70 0 50 V I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + R_* +$ENDFPLIST +DRAW +S -40 -100 40 100 0 1 10 N +X ~ 1 0 150 50 D 50 50 1 1 P +X ~ 2 0 -150 50 U 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Transistor_BJT_BC337 +# +DEF Transistor_BJT_BC337 Q 0 0 Y N 1 F N +F0 "Q" 200 75 50 H V L CNN +F1 "Transistor_BJT_BC337" 200 0 50 H V L CNN +F2 "Package_TO_SOT_THT:TO-92_Inline" 200 -75 50 H I L CIN +F3 "" 0 0 50 H I L CNN +ALIAS BC546 BC548 BC549 BC550 BC337 BC338 +$FPLIST + TO?92* +$ENDFPLIST +DRAW +C 50 0 111 0 1 10 N +P 2 0 1 0 0 0 25 0 N +P 2 0 1 0 25 25 100 100 N +P 3 0 1 0 25 -25 100 -100 100 -100 N +P 3 0 1 20 25 75 25 -75 25 -75 N +P 5 0 1 0 50 -70 70 -50 90 -90 50 -70 50 -70 F +X C 1 100 200 100 D 50 50 1 1 P +X B 2 -200 0 200 R 50 50 1 1 I +X E 3 100 -200 100 U 50 50 1 1 P +ENDDRAW +ENDDEF +# +# power_GND +# +DEF power_GND #PWR 0 0 Y Y 1 F P +F0 "#PWR" 0 -250 50 H I C CNN +F1 "power_GND" 0 -150 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N +X GND 1 0 0 0 D 50 50 1 1 W N +ENDDRAW +ENDDEF +# +# power_VCC +# +DEF power_VCC #PWR 0 0 Y Y 1 F P +F0 "#PWR" 0 -150 50 H I C CNN +F1 "power_VCC" 0 150 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +DRAW +C 0 75 25 0 1 0 N +P 2 0 1 0 0 0 0 50 N +X VCC 1 0 0 0 U 50 50 1 1 W N +ENDDRAW +ENDDEF +# +#End Library diff --git a/touchcircuit/touchcircuit.kicad_pcb b/touchcircuit/touchcircuit.kicad_pcb new file mode 100644 index 0000000..02c8ecb --- /dev/null +++ b/touchcircuit/touchcircuit.kicad_pcb @@ -0,0 +1 @@ +(kicad_pcb (version 4) (host kicad "dummy file") ) diff --git a/touchcircuit/touchcircuit.pro b/touchcircuit/touchcircuit.pro new file mode 100644 index 0000000..152769c --- /dev/null +++ b/touchcircuit/touchcircuit.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/touchcircuit/touchcircuit.sch b/touchcircuit/touchcircuit.sch new file mode 100644 index 0000000..e42dbce --- /dev/null +++ b/touchcircuit/touchcircuit.sch @@ -0,0 +1,254 @@ +EESchema Schematic File Version 4 +EELAYER 26 0 +EELAYER END +$Descr A4 11693 8268 +encoding utf-8 +Sheet 1 1 +Title "" +Date "" +Rev "" +Comp "" +Comment1 "" +Comment2 "" +Comment3 "" +Comment4 "" +$EndDescr +$Comp +L Transistor_BJT:BC337 Q1 +U 1 1 5E28C7E6 +P 5150 3050 +F 0 "Q1" H 5341 3096 50 0000 L CNN +F 1 "BC337" H 5341 3005 50 0000 L CNN +F 2 "Package_TO_SOT_THT:TO-92_Inline" H 5350 2975 50 0001 L CIN +F 3 "http://www.nxp.com/documents/data_sheet/BC817_BC817W_BC337.pdf" H 5150 3050 50 0001 L CNN + 1 5150 3050 + 1 0 0 -1 +$EndComp +$Comp +L Transistor_BJT:BC337 Q2 +U 1 1 5E28C87E +P 5550 3350 +F 0 "Q2" H 5741 3396 50 0000 L CNN +F 1 "BC337" H 5741 3305 50 0000 L CNN +F 2 "Package_TO_SOT_THT:TO-92_Inline" H 5750 3275 50 0001 L CIN +F 3 "http://www.nxp.com/documents/data_sheet/BC817_BC817W_BC337.pdf" H 5550 3350 50 0001 L CNN + 1 5550 3350 + 1 0 0 -1 +$EndComp +$Comp +L power:VCC #PWR06 +U 1 1 5E28C915 +P 5650 1900 +F 0 "#PWR06" H 5650 1750 50 0001 C CNN +F 1 "VCC" H 5667 2073 50 0000 C CNN +F 2 "" H 5650 1900 50 0001 C CNN +F 3 "" H 5650 1900 50 0001 C CNN + 1 5650 1900 + 1 0 0 -1 +$EndComp +$Comp +L Device:R R4 +U 1 1 5E28C98C +P 5650 2300 +F 0 "R4" H 5720 2346 50 0000 L CNN +F 1 "100k" H 5720 2255 50 0000 L CNN +F 2 "" V 5580 2300 50 0001 C CNN +F 3 "~" H 5650 2300 50 0001 C CNN + 1 5650 2300 + 1 0 0 -1 +$EndComp +Wire Wire Line + 5650 2150 5650 1900 +Wire Wire Line + 5350 3350 5250 3350 +Wire Wire Line + 5250 3350 5250 3250 +Wire Wire Line + 5650 3150 5650 2800 +Wire Wire Line + 5250 2850 5250 2800 +Wire Wire Line + 5250 2800 5650 2800 +Connection ~ 5650 2800 +Wire Wire Line + 5650 2800 5650 2450 +$Comp +L power:GND #PWR07 +U 1 1 5E28CB2A +P 5650 3650 +F 0 "#PWR07" H 5650 3400 50 0001 C CNN +F 1 "GND" H 5655 3477 50 0000 C CNN +F 2 "" H 5650 3650 50 0001 C CNN +F 3 "" H 5650 3650 50 0001 C CNN + 1 5650 3650 + 1 0 0 -1 +$EndComp +Wire Wire Line + 5650 3650 5650 3550 +$Comp +L Connector_Generic:Conn_02x05_Odd_Even J1 +U 1 1 5E28CCD4 +P 1700 3700 +F 0 "J1" V 1704 3980 50 0000 L CNN +F 1 "Conn_02x05_Odd_Even" V 1795 3980 50 0000 L CNN +F 2 "" H 1700 3700 50 0001 C CNN +F 3 "~" H 1700 3700 50 0001 C CNN + 1 1700 3700 + 0 1 1 0 +$EndComp +$Comp +L power:VCC #PWR04 +U 1 1 5E28CE08 +P 1900 4050 +F 0 "#PWR04" H 1900 3900 50 0001 C CNN +F 1 "VCC" H 1918 4223 50 0000 C CNN +F 2 "" H 1900 4050 50 0001 C CNN +F 3 "" H 1900 4050 50 0001 C CNN + 1 1900 4050 + -1 0 0 1 +$EndComp +Wire Wire Line + 1900 4050 1900 4000 +Wire Wire Line + 1900 4050 1800 4050 +Wire Wire Line + 1800 4050 1800 4000 +Connection ~ 1900 4050 +$Comp +L power:GND #PWR03 +U 1 1 5E28CF97 +P 1700 4050 +F 0 "#PWR03" H 1700 3800 50 0001 C CNN +F 1 "GND" H 1705 3877 50 0000 C CNN +F 2 "" H 1700 4050 50 0001 C CNN +F 3 "" H 1700 4050 50 0001 C CNN + 1 1700 4050 + 1 0 0 -1 +$EndComp +Wire Wire Line + 1700 4050 1700 4000 +$Comp +L power:GND #PWR02 +U 1 1 5E28D094 +P 1500 3450 +F 0 "#PWR02" H 1500 3200 50 0001 C CNN +F 1 "GND" H 1505 3277 50 0000 C CNN +F 2 "" H 1500 3450 50 0001 C CNN +F 3 "" H 1500 3450 50 0001 C CNN + 1 1500 3450 + -1 0 0 1 +$EndComp +Wire Wire Line + 1500 3500 1500 3450 +$Comp +L Device:R R1 +U 1 1 5E28D1DB +P 950 3900 +F 0 "R1" H 1020 3946 50 0000 L CNN +F 1 "1000" H 1020 3855 50 0000 L CNN +F 2 "" V 880 3900 50 0001 C CNN +F 3 "~" H 950 3900 50 0001 C CNN + 1 950 3900 + 1 0 0 -1 +$EndComp +$Comp +L Device:R R2 +U 1 1 5E28D27B +P 950 4300 +F 0 "R2" H 1020 4346 50 0000 L CNN +F 1 "2200" H 1020 4255 50 0000 L CNN +F 2 "" V 880 4300 50 0001 C CNN +F 3 "~" H 950 4300 50 0001 C CNN + 1 950 4300 + 1 0 0 -1 +$EndComp +Wire Wire Line + 950 4150 950 4100 +Wire Wire Line + 950 4100 1500 4100 +Wire Wire Line + 1500 4100 1500 4000 +Connection ~ 950 4100 +Wire Wire Line + 950 4100 950 4050 +$Comp +L power:GND #PWR01 +U 1 1 5E28D57D +P 950 4500 +F 0 "#PWR01" H 950 4250 50 0001 C CNN +F 1 "GND" H 955 4327 50 0000 C CNN +F 2 "" H 950 4500 50 0001 C CNN +F 3 "" H 950 4500 50 0001 C CNN + 1 950 4500 + 1 0 0 -1 +$EndComp +Wire Wire Line + 950 4500 950 4450 +Text GLabel 950 3700 1 50 Input ~ 0 +TX_ARDUINO +Wire Wire Line + 950 3700 950 3750 +$Comp +L power:VCC #PWR05 +U 1 1 5E28DB6A +P 4450 1200 +F 0 "#PWR05" H 4450 1050 50 0001 C CNN +F 1 "VCC" H 4467 1373 50 0000 C CNN +F 2 "" H 4450 1200 50 0001 C CNN +F 3 "" H 4450 1200 50 0001 C CNN + 1 4450 1200 + 1 0 0 -1 +$EndComp +$Comp +L Connector_Generic:Conn_01x01 J2 +U 1 1 5E28DC81 +P 4450 1900 +F 0 "J2" V 4323 1980 50 0000 L CNN +F 1 "Comm" V 4414 1980 50 0000 L CNN +F 2 "" H 4450 1900 50 0001 C CNN +F 3 "~" H 4450 1900 50 0001 C CNN + 1 4450 1900 + 0 1 1 0 +$EndComp +Wire Wire Line + 4450 1300 4450 1200 +$Comp +L Device:R R3 +U 1 1 5E28E00E +P 4450 1450 +F 0 "R3" H 4520 1496 50 0000 L CNN +F 1 "1k" H 4520 1405 50 0000 L CNN +F 2 "" V 4380 1450 50 0001 C CNN +F 3 "~" H 4450 1450 50 0001 C CNN + 1 4450 1450 + 1 0 0 -1 +$EndComp +Wire Wire Line + 4450 1700 4450 1600 +$Comp +L Device:R R? +U 1 1 5E28E52C +P 4700 3050 +F 0 "R?" V 4493 3050 50 0000 C CNN +F 1 "1k" V 4584 3050 50 0000 C CNN +F 2 "" V 4630 3050 50 0001 C CNN +F 3 "~" H 4700 3050 50 0001 C CNN + 1 4700 3050 + 0 1 1 0 +$EndComp +Wire Wire Line + 4950 3050 4850 3050 +$Comp +L Connector_Generic:Conn_01x01 J? +U 1 1 5E28E8A3 +P 4250 3050 +F 0 "J?" H 4170 2825 50 0000 C CNN +F 1 "Comm" H 4170 2916 50 0000 C CNN +F 2 "" H 4250 3050 50 0001 C CNN +F 3 "~" H 4250 3050 50 0001 C CNN + 1 4250 3050 + -1 0 0 1 +$EndComp +Wire Wire Line + 4550 3050 4450 3050 +$EndSCHEMATC