From 625fda319eef883baecd7e751c3d9792111ed6ee Mon Sep 17 00:00:00 2001 From: LongHairedHacker Date: Sun, 14 Jun 2020 15:42:18 +0200 Subject: [PATCH] Added connectors --- mate-driver-cache.lib | 42 ++++++ mate-driver.sch | 336 +++++++++++++++++++++++++++--------------- 2 files changed, 259 insertions(+), 119 deletions(-) diff --git a/mate-driver-cache.lib b/mate-driver-cache.lib index 46a1851..5adaae8 100644 --- a/mate-driver-cache.lib +++ b/mate-driver-cache.lib @@ -29,6 +29,48 @@ X GND 6 -100 -400 100 U 50 50 1 1 P ENDDRAW ENDDEF # +# Connector_Generic_Conn_01x02 +# +DEF Connector_Generic_Conn_01x02 J 0 40 Y N 1 F N +F0 "J" 0 100 50 H V C CNN +F1 "Connector_Generic_Conn_01x02" 0 -200 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + Connector*:*_1x??_* +$ENDFPLIST +DRAW +S -50 -95 0 -105 1 1 6 N +S -50 5 0 -5 1 1 6 N +S -50 50 50 -150 1 1 10 f +X Pin_1 1 -200 0 150 R 50 50 1 1 P +X Pin_2 2 -200 -100 150 R 50 50 1 1 P +ENDDRAW +ENDDEF +# +# Connector_Generic_Conn_01x04 +# +DEF Connector_Generic_Conn_01x04 J 0 40 Y N 1 F N +F0 "J" 0 200 50 H V C CNN +F1 "Connector_Generic_Conn_01x04" 0 -300 50 H V C CNN +F2 "" 0 0 50 H I C CNN +F3 "" 0 0 50 H I C CNN +$FPLIST + Connector*:*_1x??_* +$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 150 50 -250 1 1 10 f +X Pin_1 1 -200 100 150 R 50 50 1 1 P +X Pin_2 2 -200 0 150 R 50 50 1 1 P +X Pin_3 3 -200 -100 150 R 50 50 1 1 P +X Pin_4 4 -200 -200 150 R 50 50 1 1 P +ENDDRAW +ENDDEF +# # Device_C # DEF Device_C C 0 10 N Y 1 F N diff --git a/mate-driver.sch b/mate-driver.sch index 5fa2dde..76641e9 100644 --- a/mate-driver.sch +++ b/mate-driver.sch @@ -1100,219 +1100,317 @@ $EndComp $Comp L MCU_Microchip_ATtiny:ATtiny2313A-SU U? U 1 1 5F07CF7B -P 2200 5750 -F 0 "U?" H 1550 6950 50 0000 C CNN -F 1 "ATtiny2313A-SU" H 1800 6850 50 0000 C CNN -F 2 "Package_SO:SOIC-20W_7.5x12.8mm_P1.27mm" H 2200 5750 50 0001 C CIN -F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/doc8246.pdf" H 2200 5750 50 0001 C CNN - 1 2200 5750 +P 5100 6050 +F 0 "U?" H 4450 7250 50 0000 C CNN +F 1 "ATtiny2313A-SU" H 4700 7150 50 0000 C CNN +F 2 "Package_SO:SOIC-20W_7.5x12.8mm_P1.27mm" H 5100 6050 50 0001 C CIN +F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/doc8246.pdf" H 5100 6050 50 0001 C CNN + 1 5100 6050 1 0 0 -1 $EndComp $Comp L power:GND #PWR? U 1 1 5F085446 -P 2200 7000 -F 0 "#PWR?" H 2200 6750 50 0001 C CNN -F 1 "GND" H 2205 6827 50 0000 C CNN -F 2 "" H 2200 7000 50 0001 C CNN -F 3 "" H 2200 7000 50 0001 C CNN - 1 2200 7000 +P 5100 7300 +F 0 "#PWR?" H 5100 7050 50 0001 C CNN +F 1 "GND" H 5105 7127 50 0000 C CNN +F 2 "" H 5100 7300 50 0001 C CNN +F 3 "" H 5100 7300 50 0001 C CNN + 1 5100 7300 1 0 0 -1 $EndComp Wire Wire Line - 2200 6850 2200 7000 + 5100 7150 5100 7300 Wire Wire Line - 2200 4650 2200 4400 + 5100 4950 5100 4700 $Comp L Device:R R? U 1 1 5F094B0D -P 1100 4700 -F 0 "R?" H 1170 4746 50 0000 L CNN -F 1 "18k" H 1170 4655 50 0000 L CNN -F 2 "" V 1030 4700 50 0001 C CNN -F 3 "~" H 1100 4700 50 0001 C CNN - 1 1100 4700 +P 4000 5000 +F 0 "R?" H 4070 5046 50 0000 L CNN +F 1 "18k" H 4070 4955 50 0000 L CNN +F 2 "" V 3930 5000 50 0001 C CNN +F 3 "~" H 4000 5000 50 0001 C CNN + 1 4000 5000 1 0 0 -1 $EndComp Wire Wire Line - 1100 4850 1100 4950 + 4000 5150 4000 5250 Wire Wire Line - 1100 4950 1600 4950 + 4000 5250 4500 5250 Wire Wire Line - 1100 4550 1100 4400 + 4000 4850 4000 4700 Wire Wire Line - 1100 4400 2200 4400 -Connection ~ 2200 4400 + 4000 4700 5100 4700 +Connection ~ 5100 4700 $Comp L Device:C C? U 1 1 5F0A84CB -P 1100 5200 -F 0 "C?" H 1215 5246 50 0000 L CNN -F 1 "100nF" H 1215 5155 50 0000 L CNN -F 2 "" H 1138 5050 50 0001 C CNN -F 3 "~" H 1100 5200 50 0001 C CNN - 1 1100 5200 +P 4000 5500 +F 0 "C?" H 4115 5546 50 0000 L CNN +F 1 "100nF" H 4115 5455 50 0000 L CNN +F 2 "" H 4038 5350 50 0001 C CNN +F 3 "~" H 4000 5500 50 0001 C CNN + 1 4000 5500 1 0 0 -1 $EndComp Wire Wire Line - 1100 5050 1100 4950 -Connection ~ 1100 4950 + 4000 5350 4000 5250 +Connection ~ 4000 5250 $Comp L power:GND #PWR? U 1 1 5F0AE8B9 -P 1100 5500 -F 0 "#PWR?" H 1100 5250 50 0001 C CNN -F 1 "GND" H 1105 5327 50 0000 C CNN -F 2 "" H 1100 5500 50 0001 C CNN -F 3 "" H 1100 5500 50 0001 C CNN - 1 1100 5500 +P 4000 5800 +F 0 "#PWR?" H 4000 5550 50 0001 C CNN +F 1 "GND" H 4005 5627 50 0000 C CNN +F 2 "" H 4000 5800 50 0001 C CNN +F 3 "" H 4000 5800 50 0001 C CNN + 1 4000 5800 1 0 0 -1 $EndComp Wire Wire Line - 1100 5350 1100 5500 + 4000 5650 4000 5800 $Comp L Device:C C? U 1 1 5F0BAC31 -P 2500 4150 -F 0 "C?" H 2615 4196 50 0000 L CNN -F 1 "100nF" H 2615 4105 50 0000 L CNN -F 2 "" H 2538 4000 50 0001 C CNN -F 3 "~" H 2500 4150 50 0001 C CNN - 1 2500 4150 +P 5400 4450 +F 0 "C?" H 5515 4496 50 0000 L CNN +F 1 "100nF" H 5515 4405 50 0000 L CNN +F 2 "" H 5438 4300 50 0001 C CNN +F 3 "~" H 5400 4450 50 0001 C CNN + 1 5400 4450 1 0 0 -1 $EndComp Wire Wire Line - 2200 3700 2200 3950 + 5100 4000 5100 4250 Wire Wire Line - 2200 3950 2500 3950 + 5100 4250 5400 4250 Wire Wire Line - 2500 3950 2500 4000 -Connection ~ 2200 3950 + 5400 4250 5400 4300 +Connection ~ 5100 4250 Wire Wire Line - 2200 3950 2200 4400 + 5100 4250 5100 4700 $Comp L power:GND #PWR? U 1 1 5F0C77EC -P 2500 4400 -F 0 "#PWR?" H 2500 4150 50 0001 C CNN -F 1 "GND" H 2505 4227 50 0000 C CNN -F 2 "" H 2500 4400 50 0001 C CNN -F 3 "" H 2500 4400 50 0001 C CNN - 1 2500 4400 +P 5400 4700 +F 0 "#PWR?" H 5400 4450 50 0001 C CNN +F 1 "GND" H 5405 4527 50 0000 C CNN +F 2 "" H 5400 4700 50 0001 C CNN +F 3 "" H 5400 4700 50 0001 C CNN + 1 5400 4700 1 0 0 -1 $EndComp Wire Wire Line - 2500 4300 2500 4400 -Text GLabel 1000 4950 0 50 Input ~ 0 + 5400 4600 5400 4700 +Text GLabel 3900 5250 0 50 Input ~ 0 RST Wire Wire Line - 1000 4950 1100 4950 + 3900 5250 4000 5250 $Comp L power:+5V #PWR? U 1 1 5F0D59A4 -P 2200 3700 -F 0 "#PWR?" H 2200 3550 50 0001 C CNN -F 1 "+5V" H 2215 3873 50 0000 C CNN -F 2 "" H 2200 3700 50 0001 C CNN -F 3 "" H 2200 3700 50 0001 C CNN - 1 2200 3700 +P 5100 4000 +F 0 "#PWR?" H 5100 3850 50 0001 C CNN +F 1 "+5V" H 5115 4173 50 0000 C CNN +F 2 "" H 5100 4000 50 0001 C CNN +F 3 "" H 5100 4000 50 0001 C CNN + 1 5100 4000 1 0 0 -1 $EndComp $Comp L Connector:AVR-ISP-6 J? U 1 1 5F0D9C3B -P 4600 6900 -F 0 "J?" H 4271 6996 50 0000 R CNN -F 1 "AVR-ISP-6" H 4271 6905 50 0000 R CNN -F 2 "" V 4350 6950 50 0001 C CNN -F 3 " ~" H 3325 6350 50 0001 C CNN - 1 4600 6900 - -1 0 0 -1 +P 1650 6700 +F 0 "J?" H 1321 6796 50 0000 R CNN +F 1 "AVR-ISP-6" H 1321 6705 50 0000 R CNN +F 2 "" V 1400 6750 50 0001 C CNN +F 3 " ~" H 375 6150 50 0001 C CNN + 1 1650 6700 + 1 0 0 -1 $EndComp $Comp L power:+5V #PWR? U 1 1 5F0DCBDD -P 4700 6300 -F 0 "#PWR?" H 4700 6150 50 0001 C CNN -F 1 "+5V" H 4715 6473 50 0000 C CNN -F 2 "" H 4700 6300 50 0001 C CNN -F 3 "" H 4700 6300 50 0001 C CNN - 1 4700 6300 - -1 0 0 -1 +P 1550 6100 +F 0 "#PWR?" H 1550 5950 50 0001 C CNN +F 1 "+5V" H 1565 6273 50 0000 C CNN +F 2 "" H 1550 6100 50 0001 C CNN +F 3 "" H 1550 6100 50 0001 C CNN + 1 1550 6100 + 1 0 0 -1 $EndComp $Comp L power:GND #PWR? U 1 1 5F0EB584 -P 4700 7400 -F 0 "#PWR?" H 4700 7150 50 0001 C CNN -F 1 "GND" H 4705 7227 50 0000 C CNN -F 2 "" H 4700 7400 50 0001 C CNN -F 3 "" H 4700 7400 50 0001 C CNN - 1 4700 7400 - 1 0 0 -1 +P 1550 7200 +F 0 "#PWR?" H 1550 6950 50 0001 C CNN +F 1 "GND" H 1555 7027 50 0000 C CNN +F 2 "" H 1550 7200 50 0001 C CNN +F 3 "" H 1550 7200 50 0001 C CNN + 1 1550 7200 + -1 0 0 -1 $EndComp Wire Wire Line - 4700 7400 4700 7300 + 1550 7200 1550 7100 Wire Wire Line - 4700 6300 4700 6400 -Text GLabel 4100 7000 0 50 Input ~ 0 + 1550 6100 1550 6200 +Text GLabel 2150 6800 2 50 Input ~ 0 RST -Text GLabel 4100 6900 0 50 Input ~ 0 +Text GLabel 2150 6700 2 50 Input ~ 0 SCK -Text GLabel 4100 6700 0 50 Input ~ 0 +Text GLabel 2150 6500 2 50 Input ~ 0 MISO -Text GLabel 4100 6800 0 50 Input ~ 0 +Text GLabel 2150 6600 2 50 Input ~ 0 MOSI Wire Wire Line - 4100 6700 4200 6700 + 2150 6500 2050 6500 Wire Wire Line - 4100 6800 4200 6800 + 2150 6600 2050 6600 Wire Wire Line - 4100 6900 4200 6900 + 2150 6700 2050 6700 Wire Wire Line - 4100 7000 4200 7000 -Text GLabel 2900 5650 2 50 Input ~ 0 + 2150 6800 2050 6800 +Text GLabel 5800 5950 2 50 Input ~ 0 SCK Wire Wire Line - 2800 5650 2900 5650 -Text GLabel 2900 5450 2 50 Input ~ 0 + 5700 5950 5800 5950 +Text GLabel 5800 5750 2 50 Input ~ 0 MOSI Wire Wire Line - 2800 5450 2900 5450 -Text GLabel 2900 5550 2 50 Input ~ 0 + 5700 5750 5800 5750 +Text GLabel 5800 5850 2 50 Input ~ 0 MISO Wire Wire Line - 2800 5550 2900 5550 -Text GLabel 2900 5150 2 50 Input ~ 0 + 5700 5850 5800 5850 +Text GLabel 5800 5450 2 50 Input ~ 0 PWM Wire Wire Line - 2800 5150 2900 5150 + 5700 5450 5800 5450 Wire Wire Line - 2800 6150 2900 6150 -Text GLabel 2900 6150 2 50 Input ~ 0 + 5700 6450 5800 6450 +Text GLabel 5800 6450 2 50 Input ~ 0 PPM-in -Text GLabel 2900 4950 2 50 Input ~ 0 +Text GLabel 5800 5250 2 50 Input ~ 0 H1 -Text GLabel 2900 5250 2 50 Input ~ 0 +Text GLabel 5800 5550 2 50 Input ~ 0 H2 -Text GLabel 2900 5350 2 50 Input ~ 0 +Text GLabel 5800 5650 2 50 Input ~ 0 L2 -Text GLabel 2900 5050 2 50 Input ~ 0 +Text GLabel 5800 5350 2 50 Input ~ 0 L1 Wire Wire Line - 2800 4950 2900 4950 + 5700 5250 5800 5250 Wire Wire Line - 2800 5050 2900 5050 + 5700 5350 5800 5350 Wire Wire Line - 2800 5250 2900 5250 + 5700 5550 5800 5550 Wire Wire Line - 2800 5350 2900 5350 -Text GLabel 2900 5850 2 50 Input ~ 0 + 5700 5650 5800 5650 +Text GLabel 5800 6150 2 50 Input ~ 0 RXD -Text GLabel 2900 5950 2 50 Input ~ 0 +Text GLabel 5800 6250 2 50 Input ~ 0 TXD Wire Wire Line - 2800 5850 2900 5850 + 5700 6150 5800 6150 Wire Wire Line - 2800 5950 2900 5950 + 5700 6250 5800 6250 +$Comp +L Connector_Generic:Conn_01x02 J? +U 1 1 5F1B68AE +P 1400 4000 +F 0 "J?" H 1318 4217 50 0000 C CNN +F 1 "Conn_01x02" H 1318 4126 50 0000 C CNN +F 2 "" H 1400 4000 50 0001 C CNN +F 3 "~" H 1400 4000 50 0001 C CNN + 1 1400 4000 + -1 0 0 -1 +$EndComp +$Comp +L Connector_Generic:Conn_01x02 J? +U 1 1 5F21E61A +P 1400 4600 +F 0 "J?" H 1318 4817 50 0000 C CNN +F 1 "Conn_01x02" H 1318 4726 50 0000 C CNN +F 2 "" H 1400 4600 50 0001 C CNN +F 3 "~" H 1400 4600 50 0001 C CNN + 1 1400 4600 + -1 0 0 -1 +$EndComp +$Comp +L Connector_Generic:Conn_01x04 J? +U 1 1 5F21FD4B +P 1400 5150 +F 0 "J?" H 1318 5467 50 0000 C CNN +F 1 "Conn_01x04" H 1318 5376 50 0000 C CNN +F 2 "" H 1400 5150 50 0001 C CNN +F 3 "~" H 1400 5150 50 0001 C CNN + 1 1400 5150 + -1 0 0 -1 +$EndComp +Text GLabel 1750 5050 2 50 Input ~ 0 +PPM-in +Text GLabel 1750 5150 2 50 Input ~ 0 +TXD +Text GLabel 1750 5250 2 50 Input ~ 0 +RXD +Text GLabel 1750 4600 2 50 Input ~ 0 +M1 +Text GLabel 1750 4700 2 50 Input ~ 0 +M2 +Wire Wire Line + 1600 4600 1750 4600 +Wire Wire Line + 1600 4700 1750 4700 +Wire Wire Line + 1600 5050 1750 5050 +Wire Wire Line + 1600 5150 1750 5150 +Wire Wire Line + 1600 5250 1750 5250 +Wire Wire Line + 1600 5350 1750 5350 +Wire Wire Line + 1750 5350 1750 5450 +Wire Wire Line + 1600 4000 1850 4000 +Wire Wire Line + 1850 4000 1850 3800 +Wire Wire Line + 1600 4100 1850 4100 +Wire Wire Line + 1850 4100 1850 4250 +$Comp +L power:GND #PWR? +U 1 1 5F265D5A +P 1850 4250 +F 0 "#PWR?" H 1850 4000 50 0001 C CNN +F 1 "GND" H 1855 4077 50 0000 C CNN +F 2 "" H 1850 4250 50 0001 C CNN +F 3 "" H 1850 4250 50 0001 C CNN + 1 1850 4250 + 1 0 0 -1 +$EndComp +$Comp +L power:+24V #PWR? +U 1 1 5F271466 +P 1850 3800 +F 0 "#PWR?" H 1850 3650 50 0001 C CNN +F 1 "+24V" H 1865 3973 50 0000 C CNN +F 2 "" H 1850 3800 50 0001 C CNN +F 3 "" H 1850 3800 50 0001 C CNN + 1 1850 3800 + 1 0 0 -1 +$EndComp +$Comp +L power:GND #PWR? +U 1 1 5F27180A +P 1750 5450 +F 0 "#PWR?" H 1750 5200 50 0001 C CNN +F 1 "GND" H 1755 5277 50 0000 C CNN +F 2 "" H 1750 5450 50 0001 C CNN +F 3 "" H 1750 5450 50 0001 C CNN + 1 1750 5450 + 1 0 0 -1 +$EndComp $EndSCHEMATC