Traffic light simulator

From Hackerspace ACKspace
Revision as of 15:57, 13 March 2018 by Xopr (talk | contribs) (added some notes)
Jump to: navigation, search
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
Traffic light simulator Picture.jpg

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
Normal traffic lamp diameter is 210mm, small (bicycle) light is 80mm, big light is 300mm.
Die-cast metal cars are between 1:68 and 1:58 scale; assuming 1:64 scale
  • LED 3mm (3.8mm) h=5.3+0.8mm) would be 192mm(243mm) × 422mm
  • LED 5mm (5.8mm) h=8.7+1mm) would be 320mm(371mm) × 621mm

According to an article on 3 March 2016, yellow light times are increased to:

  • @80km/h → 5s
  • @70km/h → 4.5s
  • @50km/h → 3.5s

Some Traffic light brands:

  • Futura
  • Imtech BV (formerly (Groenpol) Peek) (Dutch standaard(?))
  • Alustar
  • Econolite (American vintage signals)
  • VIALIS Nederland Haarlem 'Classic'
  • Stoye

Some traffic automation brands:

  • Ko Hartog Verkeerstechniek B.V.
  • Siemens Nederland NV
  • Swarco Nederland BV
  • VIALIS

Straight intersection: arrange left, straight + right Uneven intersection: arrange left + straight, right