Attach the Drivetrain
Step 1: Attach the gantry motors
For this step you will need:
- Two NEMA 17 stepper motors with rotary encoders
- Two horizontal motor housings
- Eight M3 x 10mm screws
- 2mm hex driver
- 3mm hex driver
Slide a motor into a horizontal motor housing, ensuring that the shaft of the motor is coming out of the housing and that the motor and encoder’s wires are facing down through the open bottom of the housing.
![Screen Shot 2016-11-26 at 2.11.26 PM.png Screen Shot 2016-11-26 at 2.11.26 PM.png](/v1.2/FarmBot-Genesis-V1.2/gantry/_images/Screen_Shot_2016-11-26_at_2.11.26_PM.png)
Position the motor and housing onto the gantry corner bracket and attach it with four M3 x 10mm screws.
![Screen Shot 2016-11-26 at 2.11.47 PM.png Screen Shot 2016-11-26 at 2.11.47 PM.png](/v1.2/FarmBot-Genesis-V1.2/gantry/_images/Screen_Shot_2016-11-26_at_2.11.47_PM.png)
Slide a GT2 pulley onto the motor shaft and tighten the two setscrews and the 2mm hex driver. Make sure that the two setscrews contact the two flat areas on the motor shaft.
![Screen Shot 2016-11-26 at 2.12.00 PM.png Screen Shot 2016-11-26 at 2.12.00 PM.png](/v1.2/FarmBot-Genesis-V1.2/gantry/_images/Screen_Shot_2016-11-26_at_2.12.00_PM.png)
Repeat the above steps for the second motor on the other gantry corner bracket.
![Screen Shot 2017-02-12 at 1.45.03 PM.png Screen Shot 2017-02-12 at 1.45.03 PM.png](/v1.2/FarmBot-Genesis-V1.2/gantry/_images/Screen_Shot_2017-02-12_at_1.45.03_PM.png)
Step 2: Install the horizontal cable carrier supports
Attach six horizontal cable carrier supports to the back side of the gantry main beam using two M5 x 10mm screws and M5 tee nuts for each support. The supports should reside in the middle slot of the main beam extrusion and be equally spaced along its length.
![Screen Shot 2017-02-27 at 11.59.43 AM.png Screen Shot 2017-02-27 at 11.59.43 AM.png](/v1.2/FarmBot-Genesis-V1.2/gantry/_images/Screen_Shot_2017-02-27_at_11.59.43_AM.png)
Attach one more horizontal cable carrier support to the left-side gantry column using two M5 x 10mm screws and M5 tee nuts.
![Screen Shot 2017-02-27 at 12.01.45 PM.png Screen Shot 2017-02-27 at 12.01.45 PM.png](/v1.2/FarmBot-Genesis-V1.2/gantry/_images/Screen_Shot_2017-02-27_at_12.01.45_PM.png)