Title: Reprap stepper motor RJ45 pinout Tags: english, nuug, reprap, 3d-printer Publish: 2020-01-01 Date: 2009-04-13 10:00 Since my last reprap update, a lot of progress has been made. I write this blog post in English instead of Norwegian, because I have some proposals regarding cabling I would like to reach the entire reprap community. I managed to complete the building of the reprap cartesian robot before Go Open 2009, but ran into some problems when trying to get it working. The axes are not moving smoothly, and the motors have problems pulling the bands with enough force. More on that later.

When connecting the electronics, I decided to follow the lead of the next generation of electronics, and use RJ45 connectors to plug everything together. I bought connectors at Clas Ohlsson, part number 38-2224 "Modularuttak RJ 45/splinttilkobl.". I also got some from ELFA, part number 42-687-77 "Jack för panelmontage" after emptying the stock at Clas Ohlson Storo. I went a bit further and use RJ45 connectors to connect to the stepper motors and to connect the stepper motor driver cards with the arduino controller.

For the motor, I decided to pass all motor cables through the RJ45 cable for maximum flexibility in the future, and short the cables used to change the unipolar motor into a bipolare one on the controller card side. I further decided to stay close to the color coding used in TP cables when connecting them to the RJ45 connector, and thus connect green with green, blue with blue, orange with red and brown with black. This give me the following pinout:

RJ45Stepper motor
pin 1 org/wht red/wht
pin 2 org red
pin 3 grn/wht grn/wht
pin 4 blu blu (short with pin 5 red/wht on controller side)
pin 5 blu/wht blu/wht
pin 6 grn grn (short with pin 7 blk/wht on controller side)
pin 7 bwn/wht blk/wht
pin 8 bwn blk

For the connection from the stepper motor controller to the arduino, I followed the pin numbering used by the IDC connector in the next generation electronics, mapped to an RJ45 plug:

RJ45 Stepper motor controller
pin 1 org/wht (unused) VCC
pin 2 org GND
pin 3 grn/wht Step
pin 4 blu Dir
pin 5 blu/wht Enable
pin 6 grn Min
pin 7 brn/wht Max
pin 8 brn (unused) N/A

I plan to map the other controller card connections to RJ45 too. Will try to keep power on pin 1 and ground on pin 2, and put control signals on the rest. One sad issue is that the print head controllers (DC motor, PWM and themerature) in total uses 9 pins - one to many for the RJ45. :( Guess I will have to find another connector for these. I will have to keep an eye on the plans to make print heads hot-swapable, and see what kind of connector will be used there. I decided to use one connector for the DC motor controller, and one for the PWM and temperature controller. Here is the DC motor controller pinout. Decided to keep the directions in one pair and the PWM signals in another pair.
RJ45 Stepper motor controller
pin 1 org/wht (unused) VCC
pin 2 org GND
pin 3 grn/wht DIR A
pin 4 blu PWM A
pin 5 blu/wht PWM B
pin 6 grn DIR B
pin 7 brn/wht (unused) N/A
pin 8 brn (unused) N/A
Here is the PWM and temperature sensor controler pinout. Decided to group these two together, as both are connected to the heating chamber and to save RJ45 connectors.
RJ45 controllers
pin 1 org/wht (unused) Temp driver VCC
pin 2 org Temp driver GND
pin 3 grn/wht Temp driver input
pin 4 blu PWM driver GND
pin 5 blu/wht PWM driver PWM1
pin 6 grn N/A
pin 7 brn/wht (unused) PWM driver PWM2
pin 8 brn (unused) PWM driver PWM3
- z axes - remove springs and spacers Skrivehodeutfordringer ====================== http://www.futurlec.com/Pictures/HDPIN.jpg elfa artikkelnummer 43-833-86 eller 43-833-78 ? 43-009-64 varmetrådstørrelse 0.25mm diameter, areal ca. 0.0509mm^2 "AMPMODU hylsa 0,04-0,09 mm²" (43-833-86) kjøpte "AMPMODU hylsa 0.13-0.36 mm²" 43-833-78, da de måtte bestille den mindre varianten. http://renoirsrants.blogspot.com/2009/04/coach-bolt-hack.html plastsveisetråd http://www.inter-supply.no/site/maler/x/?case_vis=artikkel&HmenyID=12&artikkelid=15&v_meny2=3 http://objects.reprap.org/wiki/Builders/Alternative_firmware kapton-tape: Elfa - 80-899-97 eller 80-900-29, hhv 12 og 19 mm bred, og dyr :) Elfa - 80-899-97 eller 80-900-29, hhv 12 og 19 mm bred, og dyr :) pere: 80-907-07 for 33 mm ELFA 43-566-08 "Kontakthus 2,54mm, 3-pol"