graph { // Graph generated by WireViz 0.4.1 // https://github.com/wireviz/WireViz graph [bgcolor="#FFFFFF" fontname=arial nodesep=0.33 rankdir=LR ranksep=2] node [fillcolor="#FFFFFF" fontname=arial height=0 margin=0 shape=none style=filled width=0] edge [fontname=arial style=bold] X1 [label=<

X1
Molex KK 254 | male | 4-pin
GND | 1
VCC | 2
SCL | 3
SDA | 4
to microcontroller

> fillcolor="#FFFFFF" shape=box style=filled] X2 [label=<

X2
Molex KK 254 | female | 4-pin
1 | GND | 1
2 | VCC | 2
3 | SCL | 3
4 | SDA | 4
to accelerometer

> fillcolor="#FFFFFF" shape=box style=filled] X3 [label=<

X3
Molex KK 254 | female | 4-pin
1 | GND
2 | VCC
3 | SCL
4 | SDA
to temperature sensor

> fillcolor="#FFFFFF" shape=box style=filled] edge [color="#000000:#895956:#000000"] X1:p1r:e -- W1:w1:w W1:w1:e -- X2:p1l:w edge [color="#000000:#ff0000:#000000"] X1:p2r:e -- W1:w2:w W1:w2:e -- X2:p2l:w edge [color="#000000:#ff8000:#000000"] X1:p3r:e -- W1:w3:w W1:w3:e -- X2:p3l:w edge [color="#000000:#ffff00:#000000"] X1:p4r:e -- W1:w4:w W1:w4:e -- X2:p4l:w W1 [label=<

W1
4x | 24 AWG | 0.3 m
X1:1:GND | 1:BN | X2:1:GND
X1:2:VCC | 2:RD | X2:2:VCC
X1:3:SCL | 3:OG | X2:3:SCL
X1:4:SDA | 4:YE | X2:4:SDA
This cable is a bit longer

> fillcolor="#FFFFFF" shape=box style=filled] edge [color="#000000:#895956:#000000"] X2:p1r:e -- W2:w1:w W2:w1:e -- X3:p1l:w edge [color="#000000:#ff0000:#000000"] X2:p2r:e -- W2:w2:w W2:w2:e -- X3:p2l:w edge [color="#000000:#ff8000:#000000"] X2:p3r:e -- W2:w3:w W2:w3:e -- X3:p3l:w edge [color="#000000:#ffff00:#000000"] X2:p4r:e -- W2:w4:w W2:w4:e -- X3:p4l:w W2 [label=<

W2
4x | 24 AWG | 0.1 m
X2:1:GND | 1:BN | X3:1:GND
X2:2:VCC | 2:RD | X3:2:VCC
X2:3:SCL | 3:OG | X3:3:SCL
X2:4:SDA | 4:YE | X3:4:SDA
This cable is a bit shorter

> fillcolor="#FFFFFF" shape=box style=filled] }