Project

General

Profile

Assembling the LAOS electronics boards » History » Version 1

jaap, 2012-08-15 10:30

1 1 jaap
h1. Assembling the LAOS electronics boards
2
3
h2. Board version, layout and schematics
4
5
!Laos_rev3.png!
6
7
Before you start, make sure you know which version of the board you have! This page describes Rev3 of the board. Older versions have some bugs that need to be fixed before you start soldering the parts on:
8
* *Rev 0.1* has some very visible bugs. One of the is that the LED connectors have no pre-tinned pads on both sides of the board, but only on the top side. If you see that, you most definitly have Rev 1. See [[Mainboard_Rev1]]
9
* *Rev 0.2* has a LaosLaser LOGO under the SD. Rev 0.1 does not, and Rev 0.3 also doesn't have it! See [[Mainboard_Rev2]]
10
* *Rev 0.3* has no LOGO, but it says LAOS Board v0.3 just above the MBED.
11
12
The older boards have small bugs, but none of them is bad enough to replace your old board with a newer one. The bugs can be fixed with simple soldering solutions, making the boards just as good as Rev 0.3.
13
14
Before you start soldering:
15
* read the [[LAOS_Mainboard_v03]] page and make sure you have the parts you need
16
* download layout and schematics PDF's:
17
 https://tuxic.nl/laos/hardware/pcb/laos-board-rev3/output/laos-board-rev3.pdf
18
 https://tuxic.nl/laos/hardware/pcb/laos-board-rev3/production/PI_E453774.pdf
19
20
21
h2. Soldering the board
22
23
h3. SD card socket
24
25
Solder the SD card socket in place first, as it is the only SMD component and it's nice to have some space around it when soldering.
26
27
h3. DIL Sockets
28
29
Place the two DIL sockets the opto-couplers (OPTO-IN, OPTO-OUT) and the one for the CANBUS chip (optional) and solder them in place, keeping the dent on the same side as indicated on the board.
30
31
h3. MBED footprint
32
33
Solder two rows of pin receptacles in place for the MBED. The outer rows are optional (debugging or expansion only).
34
35
h3. Pololu only
36
37
If you want to use Pololu stepper drivers or the compatible [http://reprap.org/wiki/StepStick StepStick] drivers:
38
39
Solder in the two rows of pin header sockets for each Pololu.
40
* J8: Z-Axis
41
* J17: Y-Axis
42
* J23: X-Axis
43
* J32: Extra (Extruder, Rotation) Axis (probably you can skip this one for a laser)
44
45
!pololu-jumpers.jpg! 
46
47
On the back side of the board, there are 3 x 2 solder pads next to the Pololu headers. With these solder pads you can enable microstepping on the Pololu's. If you connect all of them, you get the maximum number of microsteps. '''Note:''' do not connect the solder pads '''inside''' the Pololu footprint. These should be connected only if you are using externals stepper drivers instead of Pololu's.
48
49
h3. Non-Pololu only
50
51
If you're not using Pololu-compatible stepper drivers on the mainboard but some other ''external'' stepper driver boards:
52
* Connect the solder pads on the back of the board (under the Pololu footprint) two by two
53
!Pololu_solderpads.jpg!
54
55
Depending on your stepper drivers, you will need:
56
* GND: this can be enabled on the outgoing connectors by filling the solder pad under the connector.
57
* Some voltage: you can use Vmot by filling the solder pad under the connector (the square pole is +). If you need 3V3 you can make a wire between the pololu pins (10) and (14). If you need 5V, you can make a wire from a 5V net to pololu pin (14). 
58
59
If you need all five pins, the standard Phoenix connectors will not fit, so you will have to get Phoenix mini or other connectors (e.54mm pitch).
60
61
h3. Resistors
62
63
Find the resistors and put them in the print.
64
|_.Value|_.Count|_.Resistor numbers|
65
|100 Ohm|1|R34|
66
|120 Ohm|1|R1|
67
|330 Ohm|4|R28, R29, R31, R32|
68
|1K|15|R2, R3, R6, R11, R12, R14, R15, R17, R22, R23, R24, R26, R27, R30, R33|
69
|2K2|2|R7, R8|
70
|10K|11|R4, R5, R9, R10, R13, R16, R18, R19, R20, R21, R25|
71
72
Bear in mind that R8 (which sits underneath R7 may have a trace crossing it so it may appear like R6), make sure that this is not the case, the real R6 is part of the R4, R9 and R6 row).
73
74
You can solder in all resistors, or omit the ones you don't need. We advise to leave out resistor R10 and R12 for now, because these can do BAD THINGS (tm) to your MBED if you choose the wrong value. Their correct values are handled in a later chapter.
75
76
h4. Resistor list
77
78
|_.Number|_.Value (Ohm)|_.Function|_.Common|_.Optional|
79
|R1|120|Can Bus|  |Only needed for Can Bus|
80
|R2|1K|Magjack LED|X|Only needed for Magjack with LEDs|
81
|R3|1K|Magjack LED| |Can be omitted, also when Magjack has LEDs!|
82
|R4|10K|Enable LED|X|If you do not want LEDs on your board, this resistor is not needed|
83
|R5|10K|VMOT LED|X|If you do not want LEDs on your board, this resistor is not needed|
84
|R6|1K|Z Axis Pololu Microstepping Pull-UP| |Only for machines with Z-Axis and Pololu|
85
|R7|2K2|I2C|X|Only for machines with I2C display|
86
|R8|2K2|I2C|X|Only for machines with I2C display|
87
|R9|10K|Z Axis Pololu Microstepping Pull-Down| |Only for machines with Z-Axis and Pololu|
88
|R10| |J14 AIN Pull-UP| |Only needed if J14 is used|
89
|R11|1K|Y Axis Pololu Microstepping Pull-UP|X|Only needed on machines with Pololu|
90
|R12| |J14 AIN Pull-Down| |Only needed if J14 is used|
91
|R13|10K|Y Axis Pololu Microstepping Pull-Down| |Only needed on machines with Pololu that do not do full microstepping|
92
|R14|1K|X Axis Pololu Microstepping Pull-UP|X|Only needed on machines with Pololu|
93
|R15|1K|J27 Analog output signal| |Only if J27 is used|
94
|R16|10K|X Axis Pololu Microstepping Pull-Down| |Only needed on machines with Pololu that do not do full microstepping|
95
|R17|1K|J27 Analog output signal| |Only if J27 is used|
96
|R18|10K|YHOME Pull-UP|X||
97
|R19|10K|XHOME Pull-UP|X||
98
|R20|1K|E Axis Pololu Microstepping Pull-UP| |Only for machines with E-Axis and Pololu|
99
|R21|10K|ZMIN Pull-UP| |Only for machines with Z-Axis|
100
|R22|10K|ZMAX Pull-UP| |Only for machines with Z-Axis|
101
|R23|1K|ZMAX OPTO| |Only for machines with Z-Axis|
102
|R24|1K|ZMIN OPTO| |Only for machines with Z-Axis|
103
|R25|10K|E Axis Pololu Microstepping Pull-Down| ||
104
|R26|1K|XHOME OPTO|X||
105
|R27|1K|YHOME OPTO|X||
106
|R28|330|Exhaust OPTO|X|All machines, because exhaust out is used for PWM right now!|
107
|R29|330|Laser Enable OPTO|X|Not in use, but advise to solder it in anyway!|
108
|R30|1K|5V Power LED|X|If you do not want LEDs on your board, this resistor is not needed|
109
|R31|330|Laser PWM OPTO|X||
110
|R32|330|Laser ON OPTO|X||
111
|R33|1K|AIN voltage divider| |Only if AIN is in use|
112
|R34|100|AOUT current limit| |Only if AOUT is in use|
113
114
h3. Capacitors
115
116
Place the capacitors:
117
118
|_.Number|_.Value|_.Function|_.Comment|
119
|C1|100 nF|Magjack noise filter||
120
|C3|100 nF|VMOT noise filter||
121
|C4|1000 uF Elco|VMOT buffer|make sure the + goes through the square hole.|
122
|C5|100 nF|AIN noise filter|Can be omitted if AIN is not used|
123
|C6|100 uF Elco|VCPU Buffer|make sure the + goes through the square hole.|
124
|C7|22 nF|VCPU noise filter|Can be omitted if no voltage regulator (7805) is used|
125
|C8|100 nF|+5V noise filter||
126
127
h3. LEDS
128
129
Place the 3 leds, matching the flat side of the LED with the flat side of the led-drawing on the pcb. It's hard to see, but there is a flat side on the circles!
130
131
h3. USB connector and network connector
132
133
Place the USB and network connector. The USB is currently not used, so it's optional.
134
135
h3. Connectors
136
137
Choose connectors that fit your laser best. Examples:
138
139
h4. Default configuration 
140
141
* 7 4-pin phoenix connectors:
142
** X, Y, Z connectors (J24, J18, J9)
143
** XY endswitch, Z-/Z+ endswitch (J34, J29)
144
** Laser P1,P2 (J37)
145
** PWM out (J27)
146
* 3 2-pin phoenix connectors
147
** Laser P4 (J39)
148
** Power supply (J38)
149
** Cover lid switch (J14)
150
* 1 5-pin phoenix connector (which is actually not in use at all!)
151
** J33
152
* 1 4-pin header
153
** I2C (J10)
154
155
h4. HPC LS-3020
156
157
* 4-pin JST connector on Y-axis (J18)
158
* 4-pin JST connector on J38 (laser ON/PWM)
159
* flatcable connector on P1 (X-axis, X+Y endstops)
160
* 3-pin Phoenix/Wuerth connector on J5 (Power)
161
* 4-pin JST connector on J10 (I2C)
162
163
h4. HPC LS-3020 Pro
164
165
* 4-pin JST connector on Y-axis and X-axis (J18, J24)
166
* 4-pin JST connector on J38 (laser ON/PWM)
167
* 4-pin JST connector on J34 (X+Y endstops)
168
* 3-pin Phoenix/Wuerth connector on J5 (Power)
169
* 4-pin JST connector on J10 (I2C)
170
171
h3. Transistors
172
173
* Solder in the two Darlington PNP Transistors (optional)
174
175
h3. Powering the board
176
177
The board offers several options for getting power:
178
179
h4. variable options
180
181
* J38 can be used to connect power for the board. The input power should be between 5 and 12 volts. If the power level is exactly 5V, the 7805 can be omitted and should be short-circuited with a wire between pole 1 and 3. If the power is higher then 5V or coming from a cheap adapter, using the 7805 is recommended.
182
* J5 can be used as a two-pole connector for VMOT (motor power for Pololu steppers). It can also contain the board input power on the 3rd pole, but then J38 should be omitted.
183
* Finally, J5 can be used to supply the same power level as input to the board AND to as motor power to the steppers by making a jumper wire on the connector just above J5 (next to the sign "exhaust enable").
184
185
h4. HPC 3020 laser
186
187
The HPC laser comes with a plug with 5V and 24V combined. This can be connected to J5. The 7805 should be omitted and replaced by a jumper wire between pole 1 and 3.
188
189
h3. R10 and R12 resistors
190
191
Depending on the use of J14 and the power on VMOT, determine the correct values for R10 and R12. 
192
193
h3. Power Jumpers
194
195
The board contains 2 extra power jumpers to select power on inputs
196
197
h4. VEndstops Voltage selection
198
199
Place pin header on J43 for voltage selection on the sensors. This is the four-pin T-footprint near the endstop terminals.
200
For HPC LS3020, connecting the middle pin with +5V with a wire will do.
201
 
202
h4. VSensor (J27) Voltage selection
203
204
The second power jumper is a 3-pin jumper labelled VCPU/VSENSOR/5V. It is located between the MBED and the 100 uF capacitor. This can be connected in two ways:
205
* VCPU -> VSENSOR: use VCPU as the power level for the sensors.
206
* 5V -> VSENSOR: use +5V as the power level for the sensors.
207
Connect only one of the outer pins with the middle pin at the same time!
208
209
h3. PWM Output select jumpers
210
211
01SRC/02SRC: select which pwm value is send to the transistors.