A stackable connector comprising: a body (314, 318, 321, 400, 550, 1014, 1018, 1021, 1100) having a first connector (316, 319, 552, 606, 608, 612, 706, 708, 712), electrical contacts (416, 564, 1216) positioned on the first connector, and a first magnet (418, 566) configured to align and magnetically couple a contact surface of the first connector with the contact surface of a second connector; a cable (310, 322, 323, 412, 560, 1010, 1022, 1023) extending from the body, the cable including one or more wires; characterized by further comprising connection detection circuitry comprising a sensor disposed within the body and configured to determine whether the first connector is mated with a second connector (316, 319, 552, 606, 610, 612, 710, 712) which is connectable to the first connector (316, 319, 552, 606, 608, 612, 706, 708, 712) and to distinguish between two or more orientations (1350a-d, 1355a-c) of the first connector with respect to the second connector based on electrical characteristics of the contacts (416, 564, 1216) and/or magnet characteristics of the first connector (316, 319, 552, 606, 608, 612, 706, 708, 712) when the first connector is mated with the second connector (316, 319, 552, 606, 610, 612, 710, 712); and routing circuitry (614, 616, 618, 620, 622) housed in the body and coupled to the connection detection circuitry and the one or more wires, the routing circuitry configured to route first signals between the one or more wires and the contacts when a first orientation is detected by the sensor and to route second signals different than the first signals between the one or more wires and the contacts when a second orientation is detected by the sensor. a body (314, 318, 321, 400, 550, 1014, 1018, 1021, 1100) having a first connector (316, 319, 552, 606, 608, 612, 706, 708, 712), electrical contacts (416, 564, 1216) positioned on the first connector, and a first magnet (418, 566) configured to align and magnetically couple a contact surface of the first connector with the contact surface of a second connector; a cable (310, 322, 323, 412, 560, 1010, 1022, 1023) extending from the body, the cable including one or more wires; characterized by further comprising connection detection circuitry comprising a sensor disposed within the body and configured to determine whether the first connector is mated with a second connector (316, 319, 552, 606, 610, 612, 710, 712) which is connectable to the first connector (316, 319, 552, 606, 608, 612, 706, 708, 712) and to distinguish between two or more orientations (1350a-d, 1355a-c) of the first connector with respect to the second connector based on electrical characteristics of the contacts (416, 564, 1216) and/or magnet characteristics of the first connector (316, 319, 552, 606, 608, 612, 706, 708, 712) when the first connector is mated with the second connector (316, 319, 552, 606, 610, 612, 710, 712); and routing circuitry (614, 616, 618, 620, 622) housed in the body and coupled to the connection detection circuitry and the one or more wires, the routing circuitry configured to route first signals between the one or more wires and the contacts when a first orientation is detected by the sensor and to route second signals different than the first signals between the one or more wires and the contacts when a second orientation is detected by the sensor.