summaryrefslogtreecommitdiff
path: root/OpenPLC_modules/motor/motor.sch
diff options
context:
space:
mode:
Diffstat (limited to 'OpenPLC_modules/motor/motor.sch')
-rw-r--r--OpenPLC_modules/motor/motor.sch398
1 files changed, 398 insertions, 0 deletions
diff --git a/OpenPLC_modules/motor/motor.sch b/OpenPLC_modules/motor/motor.sch
new file mode 100644
index 0000000..278e126
--- /dev/null
+++ b/OpenPLC_modules/motor/motor.sch
@@ -0,0 +1,398 @@
+EESchema Schematic File Version 4
+LIBS:motor-cache
+EELAYER 26 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date ""
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+Wire Wire Line
+ 3600 4100 3800 4100
+Wire Wire Line
+ 3600 4200 3800 4200
+Wire Wire Line
+ 3600 4300 3800 4300
+Wire Wire Line
+ 3600 4400 3800 4400
+Text Label 3600 4100 2 50 ~ 0
+GND
+Text Label 3600 4200 2 50 ~ 0
+sw1
+Text Label 3600 4300 2 50 ~ 0
+sw2
+Text Label 3600 4400 2 50 ~ 0
+sw3
+Wire Wire Line
+ 5350 4600 5350 4750
+Wire Wire Line
+ 5350 4750 5450 4750
+Wire Wire Line
+ 5750 4750 5750 4600
+Wire Wire Line
+ 5650 4600 5650 4750
+Connection ~ 5650 4750
+Wire Wire Line
+ 5650 4750 5750 4750
+Wire Wire Line
+ 5450 4600 5450 4750
+Connection ~ 5450 4750
+Wire Wire Line
+ 5450 4750 5550 4750
+$Comp
+L power:GND #PWR0101
+U 1 1 5C2DBC6F
+P 5550 4850
+F 0 "#PWR0101" H 5550 4600 50 0001 C CNN
+F 1 "GND" H 5555 4677 50 0000 C CNN
+F 2 "" H 5550 4850 50 0001 C CNN
+F 3 "" H 5550 4850 50 0001 C CNN
+ 1 5550 4850
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5550 4850 5550 4750
+Connection ~ 5550 4750
+Wire Wire Line
+ 5550 4750 5650 4750
+$Comp
+L Connector:Screw_Terminal_01x02 J3
+U 1 1 5C2DBD8E
+P 7350 3250
+F 0 "J3" V 7223 3330 50 0000 L CNN
+F 1 "motor" H 7450 3200 50 0000 L CNN
+F 2 "TerminalBlocks_Phoenix:TerminalBlock_Phoenix_MPT-2.54mm_2pol" H 7350 3250 50 0001 C CNN
+F 3 "~" H 7350 3250 50 0001 C CNN
+ 1 7350 3250
+ 1 0 0 -1
+$EndComp
+NoConn ~ 6050 3800
+NoConn ~ 5050 3800
+$Comp
+L power:+5V #PWR0102
+U 1 1 5C2DEEA9
+P 5450 2650
+F 0 "#PWR0102" H 5450 2500 50 0001 C CNN
+F 1 "+5V" H 5465 2823 50 0000 C CNN
+F 2 "" H 5450 2650 50 0001 C CNN
+F 3 "" H 5450 2650 50 0001 C CNN
+ 1 5450 2650
+ 1 0 0 -1
+$EndComp
+$Comp
+L power:+12V #PWR0103
+U 1 1 5C2DEF1F
+P 5650 2650
+F 0 "#PWR0103" H 5650 2500 50 0001 C CNN
+F 1 "+12V" H 5665 2823 50 0000 C CNN
+F 2 "" H 5650 2650 50 0001 C CNN
+F 3 "" H 5650 2650 50 0001 C CNN
+ 1 5650 2650
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5450 2800 5450 2700
+Wire Wire Line
+ 5050 3600 4750 3600
+Wire Wire Line
+ 4750 3600 4750 2700
+Wire Wire Line
+ 4750 2700 5450 2700
+Connection ~ 5450 2700
+Wire Wire Line
+ 5450 2700 5450 2650
+$Comp
+L Driver_Motor:L293D U1
+U 1 1 5C2E03BE
+P 5550 3800
+F 0 "U1" H 6150 4850 50 0000 C CNN
+F 1 "L293D" H 6150 4750 50 0000 C CNN
+F 2 "Housings_DIP:DIP-16_W7.62mm_Socket_LongPads" H 5800 3050 50 0001 L CNN
+F 3 "http://www.ti.com/lit/ds/symlink/l293.pdf" H 5250 4500 50 0001 C CNN
+ 1 5550 3800
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 7150 3200 7150 3250
+Wire Wire Line
+ 6050 3200 6500 3200
+Wire Wire Line
+ 7150 3400 7150 3350
+Wire Wire Line
+ 6050 3400 6500 3400
+Wire Wire Line
+ 5650 2650 5650 2800
+$Comp
+L Connector:Conn_01x05_Male J4
+U 1 1 5C2E1BA3
+P 6900 4200
+F 0 "J4" H 6550 4300 50 0000 C CNN
+F 1 "towards uC" H 6500 4200 50 0000 C CNN
+F 2 "Connectors_JST:JST_EH_B05B-EH-A_05x2.50mm_Straight" H 6900 4200 50 0001 C CNN
+F 3 "~" H 6900 4200 50 0001 C CNN
+ 1 6900 4200
+ 1 0 0 -1
+$EndComp
+$Comp
+L Connector:Conn_01x04_Male J1
+U 1 1 5C2E1CA4
+P 4000 3550
+F 0 "J1" H 3972 3430 50 0000 R CNN
+F 1 "power" H 3972 3521 50 0000 R CNN
+F 2 "Connectors_JST:JST_EH_B04B-EH-A_04x2.50mm_Straight" H 4000 3550 50 0001 C CNN
+F 3 "~" H 4000 3550 50 0001 C CNN
+ 1 4000 3550
+ -1 0 0 -1
+$EndComp
+Wire Wire Line
+ 3800 3650 3550 3650
+Wire Wire Line
+ 3800 3550 3550 3550
+$Comp
+L Connector:Conn_01x04_Male J2
+U 1 1 5C2E2661
+P 4000 4300
+F 0 "J2" H 3973 4180 50 0000 R CNN
+F 1 "from switches" H 3973 4271 50 0000 R CNN
+F 2 "Connectors_JST:JST_EH_B04B-EH-A_04x2.50mm_Straight" H 4000 4300 50 0001 C CNN
+F 3 "~" H 4000 4300 50 0001 C CNN
+ 1 4000 4300
+ -1 0 0 1
+$EndComp
+Text Label 3550 3550 2 50 ~ 0
++12V
+Text Label 3550 3650 2 50 ~ 0
++5V
+Text Label 3550 3750 2 50 ~ 0
+GND
+Wire Wire Line
+ 7100 4000 7400 4000
+Wire Wire Line
+ 7100 4100 7400 4100
+Wire Wire Line
+ 7100 4200 7400 4200
+Wire Wire Line
+ 7100 4300 7400 4300
+Wire Wire Line
+ 7100 4400 7400 4400
+Text Label 7400 4000 0 50 ~ 0
+sw3
+Text Label 7400 4100 0 50 ~ 0
+sw2
+Text Label 7400 4200 0 50 ~ 0
+sw1
+Wire Wire Line
+ 5050 3200 4950 3200
+Wire Wire Line
+ 5050 3400 4950 3400
+Text Label 4950 3200 0 50 ~ 0
+1a
+Text Label 4950 3400 0 50 ~ 0
+2a
+Text Label 7400 4300 0 50 ~ 0
+1a
+Text Label 7400 4400 0 50 ~ 0
+2a
+$Comp
+L Device:C C2
+U 1 1 5C2E4D95
+P 6500 3550
+F 0 "C2" H 6615 3596 50 0000 L CNN
+F 1 "1uf" H 6615 3505 50 0000 L CNN
+F 2 "Capacitors_THT:C_Disc_D3.8mm_W2.6mm_P2.50mm" H 6538 3400 50 0001 C CNN
+F 3 "~" H 6500 3550 50 0001 C CNN
+ 1 6500 3550
+ 1 0 0 -1
+$EndComp
+Connection ~ 6500 3400
+Wire Wire Line
+ 6500 3400 7150 3400
+$Comp
+L power:GND #PWR0104
+U 1 1 5C2E4DCB
+P 6500 3700
+F 0 "#PWR0104" H 6500 3450 50 0001 C CNN
+F 1 "GND" H 6505 3527 50 0000 C CNN
+F 2 "" H 6500 3700 50 0001 C CNN
+F 3 "" H 6500 3700 50 0001 C CNN
+ 1 6500 3700
+ 1 0 0 -1
+$EndComp
+$Comp
+L Device:C C1
+U 1 1 5C2E4DE2
+P 6500 3050
+F 0 "C1" H 6615 3096 50 0000 L CNN
+F 1 "1uf" H 6615 3005 50 0000 L CNN
+F 2 "Capacitors_THT:C_Disc_D3.8mm_W2.6mm_P2.50mm" H 6538 2900 50 0001 C CNN
+F 3 "~" H 6500 3050 50 0001 C CNN
+ 1 6500 3050
+ 1 0 0 -1
+$EndComp
+Connection ~ 6500 3200
+Wire Wire Line
+ 6500 3200 7150 3200
+$Comp
+L power:GND #PWR0105
+U 1 1 5C2E4E1A
+P 6500 2900
+F 0 "#PWR0105" H 6500 2650 50 0001 C CNN
+F 1 "GND" H 6505 2727 50 0000 C CNN
+F 2 "" H 6500 2900 50 0001 C CNN
+F 3 "" H 6500 2900 50 0001 C CNN
+ 1 6500 2900
+ -1 0 0 1
+$EndComp
+$Comp
+L Device:LED D1
+U 1 1 5C2E5DA0
+P 4500 4650
+F 0 "D1" H 4491 4866 50 0000 C CNN
+F 1 "LED" H 4491 4775 50 0000 C CNN
+F 2 "LEDs:LED_D3.0mm" H 4500 4650 50 0001 C CNN
+F 3 "~" H 4500 4650 50 0001 C CNN
+ 1 4500 4650
+ 1 0 0 -1
+$EndComp
+$Comp
+L Device:LED D2
+U 1 1 5C2E5E42
+P 4500 4950
+F 0 "D2" H 4491 5166 50 0000 C CNN
+F 1 "LED" H 4491 5075 50 0000 C CNN
+F 2 "LEDs:LED_D3.0mm" H 4500 4950 50 0001 C CNN
+F 3 "~" H 4500 4950 50 0001 C CNN
+ 1 4500 4950
+ 1 0 0 -1
+$EndComp
+$Comp
+L Device:LED D3
+U 1 1 5C2E5E7E
+P 4500 5250
+F 0 "D3" H 4491 5466 50 0000 C CNN
+F 1 "LED" H 4491 5375 50 0000 C CNN
+F 2 "LEDs:LED_D3.0mm" H 4500 5250 50 0001 C CNN
+F 3 "~" H 4500 5250 50 0001 C CNN
+ 1 4500 5250
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4650 4650 4750 4650
+Wire Wire Line
+ 4750 4650 4750 3600
+Connection ~ 4750 3600
+Wire Wire Line
+ 4650 4950 4750 4950
+Wire Wire Line
+ 4750 4950 4750 4650
+Connection ~ 4750 4650
+Wire Wire Line
+ 4650 5250 4750 5250
+Wire Wire Line
+ 4750 5250 4750 4950
+Connection ~ 4750 4950
+Wire Wire Line
+ 4350 4650 4200 4650
+Wire Wire Line
+ 4350 4950 4200 4950
+Wire Wire Line
+ 4350 5250 4200 5250
+$Comp
+L Device:R_US R1
+U 1 1 5C2E932B
+P 4050 4650
+F 0 "R1" V 4255 4650 50 0000 C CNN
+F 1 "470" V 4164 4650 50 0000 C CNN
+F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P5.08mm_Vertical" V 4090 4640 50 0001 C CNN
+F 3 "~" H 4050 4650 50 0001 C CNN
+ 1 4050 4650
+ 0 -1 -1 0
+$EndComp
+$Comp
+L Device:R_US R2
+U 1 1 5C2E9401
+P 4050 4950
+F 0 "R2" V 4255 4950 50 0000 C CNN
+F 1 "470" V 4164 4950 50 0000 C CNN
+F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P5.08mm_Vertical" V 4090 4940 50 0001 C CNN
+F 3 "~" H 4050 4950 50 0001 C CNN
+ 1 4050 4950
+ 0 -1 -1 0
+$EndComp
+$Comp
+L Device:R_US R3
+U 1 1 5C2E9431
+P 4050 5250
+F 0 "R3" V 4255 5250 50 0000 C CNN
+F 1 "470" V 4164 5250 50 0000 C CNN
+F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P5.08mm_Vertical" V 4090 5240 50 0001 C CNN
+F 3 "~" H 4050 5250 50 0001 C CNN
+ 1 4050 5250
+ 0 -1 -1 0
+$EndComp
+Text Label 3900 4650 2 50 ~ 0
+sw1
+Text Label 3900 4950 2 50 ~ 0
+sw2
+Text Label 3900 5250 2 50 ~ 0
+sw3
+Wire Wire Line
+ 4900 4000 5050 4000
+Wire Wire Line
+ 5050 4200 4900 4200
+Text Label 4900 4000 0 50 ~ 0
+2a
+Text Label 4900 4200 0 50 ~ 0
+1a
+$Comp
+L Device:R_US R4
+U 1 1 5C332B9A
+P 6200 4250
+F 0 "R4" H 6050 4300 50 0000 L CNN
+F 1 "1K" H 6000 4200 50 0000 L CNN
+F 2 "Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P5.08mm_Vertical" V 6240 4240 50 0001 C CNN
+F 3 "~" H 6200 4250 50 0001 C CNN
+ 1 6200 4250
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6050 4000 6200 4000
+Wire Wire Line
+ 6200 4000 6200 4100
+$Comp
+L Device:LED D4
+U 1 1 5C333823
+P 6200 4550
+F 0 "D4" H 6191 4766 50 0000 C CNN
+F 1 "error" H 6191 4675 50 0000 C CNN
+F 2 "LEDs:LED_D5.0mm" H 6200 4550 50 0001 C CNN
+F 3 "~" H 6200 4550 50 0001 C CNN
+ 1 6200 4550
+ 0 -1 -1 0
+$EndComp
+$Comp
+L power:GND #PWR0106
+U 1 1 5C3338C6
+P 6200 4800
+F 0 "#PWR0106" H 6200 4550 50 0001 C CNN
+F 1 "GND" H 6205 4627 50 0000 C CNN
+F 2 "" H 6200 4800 50 0001 C CNN
+F 3 "" H 6200 4800 50 0001 C CNN
+ 1 6200 4800
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 6200 4700 6200 4800
+Text Notes 4650 1850 0 197 ~ 0
+Motor Module
+Wire Wire Line
+ 3800 3750 3550 3750
+NoConn ~ 3800 3450
+$EndSCHEMATC