Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jakub,Kolodziejski
traffic-light-arduino
Commits
f58455a4
Commit
f58455a4
authored
Aug 02, 2019
by
Jakub,Kolodziejski
Browse files
Update README.md with connector pinouts and resistor values
parent
787f95c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
f58455a4
...
...
@@ -13,4 +13,47 @@ Communications with the Arduino occur over a serial-USB connection with the host
| 3 | State 3: NS yellow, EW red |
| 4 | State 4: NS red, EW red (safety delay) |
| 5 | State 5: NS red, EW green |
| 6 | State 6: NS red, EW yellow |
\ No newline at end of file
| 6 | State 6: NS red, EW yellow |
## Hardware
### 2-Way Traffic Light
**Resistor Values:**
| LED Color | Resistor Value | Color Code |
|:------:|:------:|:------:|
| Red | 330Ω | Orange-Orange-Brown |
| Yellow | 15Ω | Brown-Green-Black |
| Green | 2kΩ | Red-Black-Red |
**Connector Pinout:**
| Pin | Function |
|:------:| ------ |
| 1 | GND |
| 2 | Red |
| 3 | Yellow |
| 4 | Green |
### 4-Way Traffic Light
**Resistor Values:**
| LED Color | Resistor Value | Color Code |
|:------:|:------:|:------:|
| Red | 160Ω | Brown-Blue-Brown |
| Yellow | 7.5Ω | Violet-Green-Gold |
| Green | 1kΩ | Brown-Black-Red |
**Connector Pinout:**
| Function | Pin | Pin | Function |
| ------:|:------:|:------:| ------ |
| GND | 1 | 2 | GND |
| Red - East | 3 | 4 | Red - West |
| Yellow - East | 5 | 6 | Yellow - West |
| Green - East | 7 | 8 | Green - West |
| Red - South | 9 | 10 | Red - North |
| Yellow - South | 11 | 12 | Yellow - North |
| Green - South | 13 | 14 | Green - North |
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment