Commit f58455a4 authored by Jakub,Kolodziejski's avatar Jakub,Kolodziejski

Update README.md with connector pinouts and resistor values

parent 787f95c2
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment