Strip about 5 mm off of the newly-exposed ends of the ToF sensor wire
Twist and Tin the ToF sensor wires.
Do not put too much solder, as the wires must fit through the holes in the Raspberry Pi Hat
Solder the ToF sensor wires to the Raspberry Pi Hat following the figure below:
insert a wire into the correct hole in the front of the Raspberry Pi Hat.
Solder the red wire to the
Solder the black wire to the
Solder the yellow wire to
Solder the blue wire to
Trim the excess cable on the back side of the Pi Hat (where you just soldered it)