Difference between revisions of "Traffic light simulator"
(created brain dump) |
(No difference)
|
Revision as of 20:44, 9 February 2017
Project: Traffic light simulator | |
---|---|
Featured: | No |
State | Planned |
Members | Xopr |
GitHub | No GitHub project defined. Add your project here. |
Description | School example of implementing traffic lights |
Picture | |
Some brain dump on charlieplexing 8(x3) traffic lights, 4(x2) pedestrian lights, 8 sensors. each number is a pin
| 36 63 | 45| | 67| | | | 16| |16 12 72| |72 34 --------' '-------- 37 51 73 15 --------. .-------- 45 16| |16 67 72| |72 | | | |12 | |34 | 25 52 | Bottom-right example: Main traffic lights use a Z-shape connection so that with 90 degrees turn, all combinations are used 1 2 o-o / o-o 3 4 21: Green-A 12: Orange-A 23: Red-A 32: Orange-B 34: Red-B 43: Green-B Pedestrian light uses L-shaped pinout so that opposing lights carry the same signal 1 6 o o | o-o 7 2 16: Red-A 62: Red-B 27: Red-C 71: Red-D 61: Green-A 26: Green-B 72: Green-C 17: Green-D rest: 35,53