]> pere.pagekite.me Git - homepage.git/blob - blog/data/2009-04-13-reprap.txt
6b76ac5d49ce160dec987a4acf90d28103f15d70
[homepage.git] / blog / data / 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 temerature) 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
75
76 - z axes - remove springs and spacers
77
78
79 Skrivehodeutfordringer
80 ======================
81
82 http://www.futurlec.com/Pictures/HDPIN.jpg
83
84 elfa artikkelnummer 43-833-86 eller 43-833-78 ?
85 43-009-64
86
87 varmetrådstørrelse 0.25mm diameter, areal ca. 0.0509mm^2
88 "AMPMODU hylsa 0,04-0,09 mm²" (43-833-86)
89
90 kjøpte "AMPMODU hylsa 0.13-0.36 mm²" 43-833-78, da de måtte bestille
91 den mindre varianten.
92
93 http://renoirsrants.blogspot.com/2009/04/coach-bolt-hack.html
94
95 plastsveisetråd
96 http://www.inter-supply.no/site/maler/x/?case_vis=artikkel&HmenyID=12&artikkelid=15&v_meny2=3
97
98
99 http://objects.reprap.org/wiki/Builders/Alternative_firmware
100
101 kapton-tape:
102 Elfa - 80-899-97 eller 80-900-29, hhv 12 og 19 mm bred, og dyr :)
103
104 Elfa - 80-899-97 eller 80-900-29, hhv 12 og 19 mm bred, og dyr :)
105 <divid> pere: 80-907-07 for 33 mm