Cut and insert the header segments
Insert the double-sided male header sections into the Mega female headers. You will need header sections for:-
3.3v - 1 pin
-
GND - 1 pin
-
A0 - 1 pin
-
Digital 2-7 - 6 pins
-
Digital 8-9 - 2 pins
-
Digital 50-51 - 2 pins
-
Digital 52 - 1 pin
Connections:
Start by connecting Pin 1 of the breakout cable (red wire) to the header pin for 3.3v on the Mega.Being careful to keep the wires in order (there are duplicate colors), make the rest of the connections as follows:
1. (Red) -> 3.3V
2. (White) -> NC
3. (Grey) -> NC
4. (Purple) -> NC
5. (Blue) -> NC
6. (Green) -> A0
7. (Yellow) -> D-52
8. (Orange) -> D-7
9. (Brown) -> D-5
10. (Black) -> D-6
11. (Red) -> D-2
12. (White) -> D-4
13. (Grey) -> D-3
14. (Purple) -> D-50
15. (Blue) -> D-51
16. (Green) -> NC
17. (Yellow) -> NC
18. (Orange) -> D-9
19. (Brown) -> D-8
20. (Black) -> GND