You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: electrical/pcb/README.md
+56-34Lines changed: 56 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,10 +135,12 @@ The INA260 daughter board is used for digital sensing of voltage and current, me
135
135
136
136
**Option 1: If you have an INA260 daughter board, you should install that in footprint U1.**
137
137
138
-
TODO: update parts here
139
-
140
138
1. Attach an 8x1 female header to the 8 pins on the bottom side of the INA260 / U1 footprint, as seen in Figure 3.10
141
-
2. Attach a 3x1 female header (cut from a longer Nx1 header) to the two pins on the top side of the INA260 / U1 footprint, as seen in Figure 3.10
139
+
2. Solder the 8x1 male header pins to the INA260.
140
+
3. Attach a 3x1 female header (cut from a longer Nx1 header) to the two pins on the top side of the INA260 / U1 footprint, as seen in Figure 3.14. You'll need to manually remove the center pin.
141
+
4. Removce the center pin from a 3x1 male header pins, and solder to the INA260.
142
+
5. Solder across pads A0 and A1 on the INA260 (to set it to use I2C Address 0x45)
143
+
6. Install M2.5 x 12mm + 6mm standoffs to the side of the INA260 opposite the pins as shown in Figure 3.20
@@ -154,11 +156,7 @@ TODO: need to update this discussion of bypassing U1 once the layout has been up
154
156
155
157
Install a 0 ohm resistor in footprint R30, on the top side of the board
156
158
157
-
### 3.6 Test INA260 installation
158
-
159
-
TODO
160
-
161
-
### 3.7 Install 5V bus regulator
159
+
### 3.6 Install 5V bus regulator
162
160
163
161
This is the power regulator for the 5V line, which powers all the motors.
164
162
@@ -172,7 +170,7 @@ Install 3 female headers for the daughter board, into U4. You will need a two 4x
172
170
|:-:|
173
171
| Figure 3.17: 5V regulator installed |
174
172
175
-
### 3.8 Install 12V bus regulator U3
173
+
### 3.7 Install 12V bus regulator U3
176
174
177
175
Solder a 5x1 female header to the U3 footprint, and attach an appropriately sized standoff
178
176
@@ -190,7 +188,7 @@ TODO: specify standoff
190
188
|:-:|
191
189
| Figure 3.20: 12v regulator installed (2) |
192
190
193
-
### 3.9 Install 3.3V bus regulator U7 and decoupling capacitor C7
191
+
### 3.8 Install 3.3V bus regulator U7 and decoupling capacitor C7
194
192
195
193
The 3.3V bus regulator is a linear voltage regulator and is physically much smaller - it comes in the same packaging as diode D1. Make sure to install the regulator in the correct direction as shown in figure 3.21.
196
194
@@ -208,7 +206,7 @@ Capacitor C7 is the decoupling capacitor for the 3.3v bus. Make sure to install
208
206
|:-:|
209
207
| Figure 3.24: Capacitor C7 installed |
210
208
211
-
### 3.10 Install resistors R15, R24, and BJT transistor Q1
209
+
### 3.9 Install resistors R15, R24, and BJT transistor Q1
212
210
213
211
These form the circuit for the alert signal LED logic.
214
212
@@ -221,7 +219,7 @@ These form the circuit for the alert signal LED logic.
221
219
| Figure 3.26: R15, R24, and Q1 installed |
222
220
223
221
224
-
### 3.11 Test all voltage lines
222
+
### 3.10 Test all voltage lines
225
223
226
224
Test all the power buses/voltage lines using the test points on the far left side of the top side of the board (T7 through T12).
227
225
@@ -251,7 +249,7 @@ The silk screen right of each hole indicates what voltage each test point should
251
249
| Figure 3.31: testing the PWR bus (main board power plane, after battery protection circuitry ) |
252
250
253
251
254
-
### 3.12 Install PCA9685 daughter board in U2 footprint and capacitor C3
252
+
### 3.11 Install PCA9685 daughter board in U2 footprint and capacitor C3
255
253
256
254
:exclamation: Before continuing, make sure to disconnect the power supply from the previous step! You should not have the board powered on while installing components. :exclamation:
257
255
@@ -261,32 +259,42 @@ First you will need to install female headers on the motor board, for the PCA968
261
259
- 6x1 female header
262
260
- 3x 2x4 female headers
263
261
264
-
You **may** use larger headers to fill all the holes in the U2 footprint, but it's not really necessary for the normal working configuration of the motor board. Attach these headers to the appropriate spots in the U2 footprint, as shown in figure 3.22.
265
-
266
-
You will need to attach male headers to the PCA9685 daughter board, as shown in figure 3.23. Also, 5v power is provided to the PCA9685 through the two holes at the top of the U2 header. To connect these, I soldered 2 small wire leads on the PCA9685 daughter board, and then soldered them on to the motor board once I installed the PCA9685.
267
-
268
-
TODO: update instructions with alternative to janky wire leads for PCA9685
269
-
270
-
TODO: figure 3.33 is not very good
262
+
You **may** use larger headers to fill all the holes in the U2 footprint, but it's not really necessary for the normal working configuration of the motor board. Attach these headers to the appropriate spots in the U2 footprint, as shown in figure 3.32.
Also, 5v power is provided to the PCA9685 through the two holes at the top of the U2 header. You have a couple options for this.
275
+
276
+
** Option 1 - Wires **
277
+
To connect these, I soldered 2 small wire leads on the PCA9685 daughter board, and then soldered them on to the motor board once I installed the PCA9685.
278
+
279
+
** Option 2 - 1x1 Pins/Headers
280
+
The V+ and GND on the PCA9685 don't exactly line up with the GND_motor and +5V_motor pins on the Motor board, but are close enough you can make them connect with two 1x1 pins on the PCA9685 and two 1x1 headers on the Motor board, as shown in figure 3.34.
These are aids for the INA260, and can be left out if the IN260 is not used
292
300
@@ -304,13 +312,27 @@ Use an 8x1 female header for J20.
304
312
|:-:|
305
313
| Figure 3.31: Components installed, as viewed from top of board |
306
314
307
-
### 3.14 Install resistors R2,R3,R4
315
+
### 3.14 Test INA260 installation
316
+
317
+
To test the INA260, you will follow https://learn.adafruit.com/adafruit-ina260-current-voltage-power-sensor-breakout/arduino, and connect an Arduino to GND, SCL, and SDA on J20. You'll change the initalization step to
318
+
```
319
+
if (!ina260.begin(0x45)) {
320
+
```
321
+
to account for the I2C bus address. When you turn your power on, you should see something like this in the Arduino serial terminal:
| Figure 3.32: Components installed, as viewed from top of board |
312
334
313
-
### 3.15 Install Roboclaw standoffs, headers, and capacitors
335
+
### 3.16 Install Roboclaw standoffs, headers, and capacitors
314
336
315
337
Now we'll add the parts for roboclaw footprints RC1, RC2, and RC3.
316
338
@@ -323,7 +345,7 @@ Finally, install the following capacitors for each RC footprint:
323
345
- RC2: capacitors C2,C4,C9,C10 (figure 3.34). Install on the underside of the board.
324
346
- RC3: capacitors C14,C16,C18,C21 (figure 3.34). Install on the top side of the board.
325
347
326
-
Technically, you can install the capacitors on either side of the board, but it makes for a cleaner presentation if you install them where their respecit "C" labels are on the board.
348
+
Technically, you can install the capacitors on either side of the board, but it makes for a cleaner presentation if you install them where their respective "C" labels are on the board.
First, wire the 6pos terminal block headers to the roboclaw boards, as indicated in figure 3.36.
370
+
First, wire the 6pos terminal block headers to the roboclaw boards, as indicated in figure 3.36. Cut the wires to about 5cm and tin the ends.
349
371
350
372
Unless you have an older version of the PCB (v2.0.2 or earlier), wire the pins in the J16,J17,J18 headers directly to the pins on the corresponding side of the roboclaw - it is a direct 1-to-1 mapping all the way down, with no wires crossed. Use 16AWG wire (18AWG would also be fine)
351
373
@@ -361,29 +383,29 @@ Then install the 3 roboclaws in the RC1, RC2, and RC3 footprints. It doesn't mat
### 3.19 Install corner servo header J19, and capacitor C19
392
+
### 3.20 Install corner servo header J19, and capacitor C19
371
393
372
394
Make sure to install C19 in the proper direction, as shown in figure 3.39. One side of the capacitor has negative polarity indicators on it, that should be installed opposite the "+" sign on the footprint.
0 commit comments