Assembly - (Legacy) Traffic Light DT18-TL#

What you will need

What you will get

  • An assembled traffic light.

Assembly of the Traffic Light Parts#

This section provides step-by-step instructions for assembling the components of the laser-cut traffic light parts.

Warning

The small parts with holes in the middle, as shown on the left of Fig. 135, are not identical. Some have round holes, while others have polygonal holes. Double-check to ensure you are using the correct parts during assembly (compare with the pictures).

For enhanced structural stability, all parts should be glued together as shown in the images.

Tube Holder with Big Ground Plate#

All parts should be glued together as showed in the pictures for enhanced structural stability.

DT18 traffic light assembly - Tube Holder with Big Ground Plate, step 1.

Fig. 135 Traffic light parts#

DT18 traffic light assembly - Tube Holder with Big Ground Plate, step 2.
DT18 traffic light assembly - Tube Holder with Big Ground Plate, step 3.
DT18 traffic light assembly - Tube Holder with Big Ground Plate, step 4.
DT18 traffic light assembly - Tube Holder with Big Ground Plate, step 5.
DT18 traffic light assembly - Tube Holder with Big Ground Plate, step 6.
DT18 traffic light assembly - Tube Holder with Big Ground Plate, step 7.
DT18 traffic light assembly - Tube Holder with Big Ground Plate, step 8.

Fig. 136 :width: 80% :name: fig:G-8#

Tube holder with small ground plate#

DT18 traffic light assembly - Tube holder with small ground plate, step 1.
DT18 traffic light assembly - Tube holder with small ground plate, step 2.
DT18 traffic light assembly - Tube holder with small ground plate, step 3.
DT18 traffic light assembly - Tube holder with small ground plate, step 4.
DT18 traffic light assembly - Tube holder with small ground plate, step 5.
DT18 traffic light assembly - Tube holder with small ground plate, step 6.
DT18 traffic light assembly - Tube holder with small ground plate, step 7.

Traffic light LED housing#

DT18 traffic light assembly - Traffic light LED housing, step 1.
DT18 traffic light assembly - Traffic light LED housing, step 2.
DT18 traffic light assembly - Traffic light LED housing, step 3.
DT18 traffic light assembly - Traffic light LED housing, step 4.
DT18 traffic light assembly - Traffic light LED housing, step 5.
DT18 traffic light assembly - Traffic light LED housing, step 6.

Ground module cover#

DT18 traffic light assembly - Ground module cover, step 1.
DT18 traffic light assembly - Ground module cover, step 2.

Joint module#

DT18 traffic light assembly - Joint module, step 1.
DT18 traffic light assembly - Joint module, step 2.
DT18 traffic light assembly - Joint module, step 3.
DT18 traffic light assembly - Joint module, step 4.
DT18 traffic light assembly - Joint module, step 5.
DT18 traffic light assembly - Joint module, step 6.
DT18 traffic light assembly - Joint module, step 7.
DT18 traffic light assembly - Joint module, step 8.

Components of the traffic light#

Now that you have assembled the traffic light chassis, you are ready to add the electronics.

Components of the DT18 traffic light.

Fig. 137 Parts of a traffic light needed to complete these instructions.#

These components are needed for one traffic light:

  • Tube holder with big ground plate

  • Tube holder with small ground plate (Duckietown)

  • Cable with soldered LED strip

  • Joint module (2x)

  • Traffic light LED housing

  • Raspberry Pi base plate

  • Ground module cover (Duckietown)

  • Camera mount

  • Camera mount cover

  • Short tube

  • Medium tube (2x)

  • Long tube with hole at the side

  • Raspberry Pi

  • Raspberry Pi shield

  • M2.5x10 MF Nylon spacers (8x)

  • M2.5x8 Nylon screws (4x)

  • SD card with Duckietown software

  • USB cable

  • Ethernet cable

Additionally, the traffic light structure can host:

  • Traffic sign stands (4x)

  • Traffic sign stand supports (4x).

Assembling the Traffic Light#

Put the LEDs into the housing#

Bend the LED strip at an angle to reduce the chance that the exposed soldered wires short. The exposed part of the wires should not be in contact, especially when turning on the power.

Warning

The actual traffic light in your hands might vary slightly from the pictures above. In particular, the electrical cables could have different colors or be soldered in different positions. Take note of which terminal each color cable is soldered to, as the same color cable should be soldered to the corresponding terminal at the other end.

DT18 traffic light LED housing showing LED placement.

Fig. 138 Bent LED strip cable#

DT18 traffic light assembly - Put the LEDs into the housing, step 2.

Fig. 139 Cable with soldered LED strip LED housing#

DT18 traffic light assembly - Put the LEDs into the housing, step 3.

Carefully push the LEDs into the designated holes.

DT18 traffic light assembly - Put the LEDs into the housing, step 5.
DT18 traffic light assembly - Put the LEDs into the housing, step 4.

Fix the LEDs with some tape, don’t use glue.

DT18 traffic light assembly - Put the LEDs into the housing, step 6.

Connect the tubes#

DT18 traffic light assembly - Connect the tubes, step 7.

Fig. 140 Medium tubes and LED housing.#

Stick the tubes into the sides of the LED housing and pull the cable through one side.

DT18 traffic light assembly - Connect the tubes, step 8.

Add the joint modules on the side of the tube without the cable.

DT18 traffic light assembly - Connect the tubes, step 9.
DT18 traffic light assembly - Connect the tubes, step 10.

Mount the other joint module on the long tube, such that it aligns with the hole.

You can add additional tape under the joint modules to prevent them to slip down.

DT18 traffic light assembly - Connect the tubes, step 1.

Fig. 141 Fully assembled traffic light.#

DT18 traffic light assembly - Connect the tubes, step 11.
DT18 traffic light assembly - Connect the tubes, step 12.
DT18 traffic light assembly - Connect the tubes, step 13.

Pull the cable through longer tube and stick the tube into the joint module.

DT18 traffic light assembly - Connect the tubes, step 14.
DT18 traffic light assembly - Connect the tubes, step 15.

Put the tubes into the tube holders.

DT18 traffic light assembly - Connect the tubes, step 16.
DT18 traffic light assembly - Connect the tubes, step 17.

Connect the Raspberry Pi#

Use the spacers and the screws to mount the Raspberry Pi on the Raspberry Pi ground plate as shown in Fig. 142.

DT18 traffic light assembly - Connect the Raspberry Pi, step 18.

Fig. 142 Raspberry Pi mounted on ground plate#

Plug the shield on top of the Raspberry Pi. Insert the SD card. Connect the LED cable to the shield.

DT18 traffic light assembly - Connect the Raspberry Pi, step 18.

Connect the Ethernet cable. Connect the USB cable.

If done correctly the LEDs should be on.

DT18 traffic light assembly - Connect the Raspberry Pi, step 20.

Close the ground module with the case.

DT18 traffic light assembly - Connect the Raspberry Pi, step 21.
DT18 traffic light assembly - Connect the Raspberry Pi, step 22.

Add traffic sign stands#

DT18 traffic light assembly - Add traffic sign stands, step 23.
DT18 traffic light assembly - Add traffic sign stands, step 24.

Fully assembled traffic light#

Fully assembled DT18 traffic light.

Fig. 143 Fully assembled traffic light.#

Place the traffic light at an intersection such that the LEDs are exactly in the middle and are facing each incoming lane perpendicularly.

You can verify the position is correct by verifying that Duckiebots at the red stop lines can see only one light blinking, and no reflections of LEDs facing other directions.

You can finally use the provided double-sided tape pads to fix the traffic light to the tiles.