summaryrefslogtreecommitdiff
path: root/OpenPLC_modules/traffic/traffic.sch
blob: 828960d17537f5f45ea159c85903540a32100c92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
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