summaryrefslogtreecommitdiff
path: root/OpenPLC_modules/traffic/traffic.sch
diff options
context:
space:
mode:
Diffstat (limited to 'OpenPLC_modules/traffic/traffic.sch')
-rw-r--r--OpenPLC_modules/traffic/traffic.sch224
1 files changed, 224 insertions, 0 deletions
diff --git a/OpenPLC_modules/traffic/traffic.sch b/OpenPLC_modules/traffic/traffic.sch
new file mode 100644
index 0000000..828960d
--- /dev/null
+++ b/OpenPLC_modules/traffic/traffic.sch
@@ -0,0 +1,224 @@
+EESchema Schematic File Version 4
+LIBS:traffic-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
+$Comp
+L Device:LED D1
+U 1 1 5C2C2999
+P 5200 4100
+F 0 "D1" H 5191 4316 50 0000 C CNN
+F 1 "left" H 5191 4225 50 0000 C CNN
+F 2 "LEDs:LED_D5.0mm" H 5200 4100 50 0001 C CNN
+F 3 "~" H 5200 4100 50 0001 C CNN
+ 1 5200 4100
+ -1 0 0 -1
+$EndComp
+$Comp
+L Device:LED D5
+U 1 1 5C2C2A10
+P 5200 3050
+F 0 "D5" H 5191 3266 50 0000 C CNN
+F 1 "STOP" H 5191 3175 50 0000 C CNN
+F 2 "LEDs:LED_D5.0mm" H 5200 3050 50 0001 C CNN
+F 3 "~" H 5200 3050 50 0001 C CNN
+ 1 5200 3050
+ -1 0 0 -1
+$EndComp
+$Comp
+L Device:LED D2
+U 1 1 5C2C2A3E
+P 5200 3750
+F 0 "D2" H 5191 3966 50 0000 C CNN
+F 1 "GO" H 5191 3875 50 0000 C CNN
+F 2 "LEDs:LED_D5.0mm" H 5200 3750 50 0001 C CNN
+F 3 "~" H 5200 3750 50 0001 C CNN
+ 1 5200 3750
+ -1 0 0 -1
+$EndComp
+$Comp
+L Device:LED D4
+U 1 1 5C2C2A6F
+P 5200 3400
+F 0 "D4" H 5191 3616 50 0000 C CNN
+F 1 "ready" H 5191 3525 50 0000 C CNN
+F 2 "LEDs:LED_D5.0mm" H 5200 3400 50 0001 C CNN
+F 3 "~" H 5200 3400 50 0001 C CNN
+ 1 5200 3400
+ -1 0 0 -1
+$EndComp
+$Comp
+L Device:LED D3
+U 1 1 5C2C2AD6
+P 5200 2700
+F 0 "D3" H 5191 2916 50 0000 C CNN
+F 1 "right" H 5191 2825 50 0000 C CNN
+F 2 "LEDs:LED_D5.0mm" H 5200 2700 50 0001 C CNN
+F 3 "~" H 5200 2700 50 0001 C CNN
+ 1 5200 2700
+ -1 0 0 -1
+$EndComp
+Wire Wire Line
+ 5050 2700 5050 3050
+Connection ~ 5050 3050
+Wire Wire Line
+ 5050 3050 5050 3400
+Connection ~ 5050 3400
+Wire Wire Line
+ 5050 3400 5050 3750
+Connection ~ 5050 3750
+Wire Wire Line
+ 5350 2700 6250 2700
+Wire Wire Line
+ 6250 2700 6250 3200
+Wire Wire Line
+ 6250 3200 6550 3200
+Wire Wire Line
+ 5350 3050 5450 3050
+Wire Wire Line
+ 6050 3050 6050 3300
+Wire Wire Line
+ 6050 3300 6550 3300
+Wire Wire Line
+ 5350 3400 6550 3400
+Wire Wire Line
+ 6550 3500 6050 3500
+Wire Wire Line
+ 6050 3500 6050 3750
+Wire Wire Line
+ 6050 3750 5350 3750
+Wire Wire Line
+ 5350 4100 6250 4100
+Wire Wire Line
+ 6250 4100 6250 3600
+Wire Wire Line
+ 6250 3600 6550 3600
+$Comp
+L Device:R R1
+U 1 1 5C2C3B8D
+P 5050 4600
+F 0 "R1" H 5120 4646 50 0000 L CNN
+F 1 "R" H 5120 4555 50 0000 L CNN
+F 2 "Resistors_SMD:R_0603_HandSoldering" V 4980 4600 50 0001 C CNN
+F 3 "~" H 5050 4600 50 0001 C CNN
+ 1 5050 4600
+ 1 0 0 -1
+$EndComp
+Connection ~ 5050 4100
+Wire Wire Line
+ 5050 4100 5050 4450
+Wire Wire Line
+ 5050 3750 5050 4100
+$Comp
+L power:+5C #PWR0101
+U 1 1 5C32F085
+P 4600 5500
+F 0 "#PWR0101" H 4600 5350 50 0001 C CNN
+F 1 "+5C" H 4615 5673 50 0000 C CNN
+F 2 "" H 4600 5500 50 0001 C CNN
+F 3 "" H 4600 5500 50 0001 C CNN
+ 1 4600 5500
+ 1 0 0 -1
+$EndComp
+$Comp
+L Connector:Conn_01x02_Male J2
+U 1 1 5C3CB942
+P 4200 3950
+F 0 "J2" H 4306 4128 50 0000 C CNN
+F 1 "Conn_01x02_Male" H 4306 4037 50 0000 C CNN
+F 2 "Socket_Strips:Socket_Strip_Straight_1x02_Pitch2.54mm" H 4200 3950 50 0001 C CNN
+F 3 "~" H 4200 3950 50 0001 C CNN
+ 1 4200 3950
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 4400 4050 4750 4050
+Wire Wire Line
+ 4400 3950 4750 3950
+Wire Wire Line
+ 4750 2900 5450 2900
+Wire Wire Line
+ 5450 2900 5450 3050
+Wire Wire Line
+ 4750 2900 4750 3950
+Connection ~ 5450 3050
+Wire Wire Line
+ 5450 3050 6050 3050
+Wire Wire Line
+ 5050 4750 5050 4900
+Wire Wire Line
+ 5050 5500 5050 5350
+Wire Wire Line
+ 4750 4050 4750 4900
+Wire Wire Line
+ 4750 4900 5050 4900
+Connection ~ 5050 4900
+Wire Wire Line
+ 5050 4900 5050 4950
+Wire Wire Line
+ 4600 5500 5050 5500
+$Comp
+L Transistor_BJT:MMBT3906 Q1
+U 1 1 5C485559
+P 5150 5150
+F 0 "Q1" H 5340 5196 50 0000 L CNN
+F 1 "MMBT3906" H 5340 5105 50 0000 L CNN
+F 2 "TO_SOT_Packages_SMD:SOT-23" H 5350 5075 50 0001 L CIN
+F 3 "https://www.fairchildsemi.com/datasheets/2N/2N3906.pdf" H 5150 5150 50 0001 L CNN
+ 1 5150 5150
+ -1 0 0 -1
+$EndComp
+$Comp
+L Connector:Conn_01x06_Male J1
+U 1 1 5C2C6811
+P 6750 3500
+F 0 "J1" H 6723 3380 50 0000 R CNN
+F 1 "Conn_01x06_Male" H 6723 3471 50 0000 R CNN
+F 2 "Socket_Strips:Socket_Strip_Straight_1x06_Pitch2.54mm" H 6750 3500 50 0001 C CNN
+F 3 "~" H 6750 3500 50 0001 C CNN
+ 1 6750 3500
+ -1 0 0 1
+$EndComp
+$Comp
+L Connector:Conn_01x01_Male J3
+U 1 1 5C485FD5
+P 5250 5500
+F 0 "J3" H 5223 5430 50 0000 R CNN
+F 1 "Conn_01x01_Male" H 5223 5521 50 0000 R CNN
+F 2 "Socket_Strips:Socket_Strip_Straight_1x01_Pitch2.54mm" H 5250 5500 50 0001 C CNN
+F 3 "~" H 5250 5500 50 0001 C CNN
+ 1 5250 5500
+ -1 0 0 1
+$EndComp
+Connection ~ 5050 5500
+Wire Wire Line
+ 6550 3700 6400 3700
+Wire Wire Line
+ 6400 3700 6400 5150
+Wire Wire Line
+ 6400 5150 5950 5150
+Wire Wire Line
+ 5350 5150 5650 5150
+$Comp
+L Device:R R2
+U 1 1 5C48B1E4
+P 5800 5150
+F 0 "R2" V 6007 5150 50 0000 C CNN
+F 1 "R" V 5916 5150 50 0000 C CNN
+F 2 "Resistors_SMD:R_0603_HandSoldering" V 5730 5150 50 0001 C CNN
+F 3 "~" H 5800 5150 50 0001 C CNN
+ 1 5800 5150
+ 0 -1 -1 0
+$EndComp
+$EndSCHEMATC