]> pere.pagekite.me Git - homepage.git/blob - blog/draft/2009-04-13-reprap.txt
Generated.
[homepage.git] / blog / draft / 2009-04-13-reprap.txt
1 Title: Reprap stepper motor RJ45 pinout
2 Tags: english, nuug, reprap, 3d-printer
3 Publish: 2020-01-01
4 Date: 2009-04-13 10:00
5
6 Since my last reprap update, a lot of progress has been made. I write
7 this blog post in English instead of Norwegian, because I have some
8 proposals regarding cabling I would like to reach the entire reprap
9 community.
10
11 I managed to complete the building of the reprap cartesian robot
12 before Go Open 2009, but ran into some problems when trying to get it
13 working. The axes are not moving smoothly, and the motors have
14 problems pulling the bands with enough force. More on that later.
15
16 <p>When connecting the electronics, I decided to follow the lead of
17 the next generation of electronics, and use RJ45 connectors to plug
18 everything together.
19
20 I bought connectors at Clas Ohlsson,
21 <a href="http://www.clasohlson.no/Product/Product.aspx?id=61105401">part
22 number 38-2224 "Modularuttak RJ 45/splinttilkobl."</a>. I also got
23 some from ELFA, part number 42-687-77 "Jack för panelmontage" after
24 emptying the stock at Clas Ohlson Storo.
25
26 I went a bit further and use RJ45 connectors to connect to the stepper
27 motors and to connect the stepper motor driver cards with the arduino
28 controller.</p>
29
30 <p>For the motor, I decided to pass all motor cables through the RJ45
31 cable for maximum flexibility in the future, and short the cables used
32 to change the unipolar motor into a bipolare one on the controller
33 card side. I further decided to stay close to the color coding used
34 in TP cables when connecting them to the RJ45 connector, and thus
35 connect green with green, blue with blue, orange with red and brown
36 with black. This give me the following pinout:</p>
37
38 <table>
39 <tr><th align="left">RJ45</th><th align="left">Stepper motor</th></tr>
40 <tr><td>pin 1 org/wht </td><td>red/wht</th></tr>
41 <tr><td>pin 2 org </td><td>red</th></tr>
42 <tr><td>pin 3 grn/wht </td><td>grn/wht</th></tr>
43 <tr><td>pin 4 blu </td><td>blu (short with pin 5 red/wht on controller side)</th></tr>
44 <tr><td>pin 5 blu/wht </td><td>blu/wht</th></tr>
45 <tr><td>pin 6 grn </td><td>grn (short with pin 7 blk/wht on controller side)</th></tr>
46 <tr><td>pin 7 bwn/wht </td><td>blk/wht</th></tr>
47 <tr><td>pin 8 bwn </td><td>blk</th></tr>
48 </table>
49
50 <p>For the connection from the stepper motor controller to the
51 arduino, I followed the pin numbering used by the IDC connector in the
52 next generation electronics, mapped to an RJ45 plug:</p>
53
54 <table>
55 <tr><th align="left">RJ45</th> <th align="left">Stepper motor controller</th></tr>
56 <tr><td>pin 1 org/wht (unused)</td> <td>VCC</td></tr>
57 <tr><td>pin 2 org</td> <td>GND</td></tr>
58 <tr><td>pin 3 grn/wht</td> <td>Step</td></tr>
59 <tr><td>pin 4 blu</td> <td>Dir</td></tr>
60 <tr><td>pin 5 blu/wht</td> <td>Enable</td></tr>
61 <tr><td>pin 6 grn</td> <td>Min</td></tr>
62 <tr><td>pin 7 brn/wht</td> <td>Max</td></tr>
63 <tr><td>pin 8 brn (unused)</td> <td>N/A</td></tr>
64 </table>
65
66 <p>I plan to map the other controller card connections to RJ45 too.
67 Will try to keep power on pin 1 and ground on pin 2, and put control
68 signals on the rest. One sad issue is that the print head controllers
69 (DC motor, PWM and themerature) in total uses 9 pins - one to many for
70 the RJ45. :( Guess I will have to find another connector for these. I
71 will have to keep an eye on the plans to make print heads
72 hot-swapable, and see what kind of connector will be used there.
73
74 I decided to use one connector for the DC motor controller, and one
75 for the PWM and temperature controller. Here is the DC motor
76 controller pinout. Decided to keep the directions in one pair and the
77 PWM signals in another pair.
78
79 <table>
80 <tr><th align="left">RJ45</th> <th align="left">Stepper motor controller</th></tr>
81 <tr><td>pin 1 org/wht (unused)</td> <td>VCC</td></tr>
82 <tr><td>pin 2 org</td> <td>GND</td></tr>
83 <tr><td>pin 3 grn/wht</td> <td>DIR A</td></tr>
84 <tr><td>pin 4 blu</td> <td>PWM A</td></tr>
85 <tr><td>pin 5 blu/wht</td> <td>PWM B</td></tr>
86 <tr><td>pin 6 grn</td> <td>DIR B</td></tr>
87 <tr><td>pin 7 brn/wht (unused)</td> <td>N/A</td></tr>
88 <tr><td>pin 8 brn (unused)</td> <td>N/A</td></tr>
89 </table>
90
91 Here is the PWM and temperature sensor controler pinout. Decided to
92 group these two together, as both are connected to the heating chamber
93 and to save RJ45 connectors.
94
95 <table>
96 <tr><th align="left">RJ45</th> <th align="left">controllers</th></tr>
97 <tr><td>pin 1 org/wht (unused)</td> <td>Temp driver VCC</td></tr>
98 <tr><td>pin 2 org</td> <td>Temp driver GND</td></tr>
99 <tr><td>pin 3 grn/wht</td> <td>Temp driver input</td></tr>
100 <tr><td>pin 4 blu</td> <td>PWM driver GND</td></tr>
101 <tr><td>pin 5 blu/wht</td> <td>PWM driver PWM1</td></tr>
102 <tr><td>pin 6 grn</td> <td>N/A</td></tr>
103 <tr><td>pin 7 brn/wht (unused)</td> <td>PWM driver PWM2</td></tr>
104 <tr><td>pin 8 brn (unused)</td> <td>PWM driver PWM3</td></tr>
105 </table>
106
107 - z axes - remove springs and spacers
108
109
110 Skrivehodeutfordringer
111 ======================
112
113 http://www.futurlec.com/Pictures/HDPIN.jpg
114
115 elfa artikkelnummer 43-833-86 eller 43-833-78 ?
116 43-009-64
117
118 varmetrådstørrelse 0.25mm diameter, areal ca. 0.0509mm^2
119 "AMPMODU hylsa 0,04-0,09 mm²" (43-833-86)
120
121 kjøpte "AMPMODU hylsa 0.13-0.36 mm²" 43-833-78, da de måtte bestille
122 den mindre varianten.
123
124 http://renoirsrants.blogspot.com/2009/04/coach-bolt-hack.html
125
126 plastsveisetråd
127 http://www.inter-supply.no/site/maler/x/?case_vis=artikkel&HmenyID=12&artikkelid=15&v_meny2=3
128
129
130 http://objects.reprap.org/wiki/Builders/Alternative_firmware
131
132 kapton-tape:
133 Elfa - 80-899-97 eller 80-900-29, hhv 12 og 19 mm bred, og dyr :)
134
135 Elfa - 80-899-97 eller 80-900-29, hhv 12 og 19 mm bred, og dyr :)
136 <divid> pere: 80-907-07 for 33 mm
137
138 ELFA 43-566-08 "Kontakthus 2,54mm, 3-pol"