Skip to content

Commit

Permalink
Added WireViz diagram YAMLs for middle encoder cable and corner exten…
Browse files Browse the repository at this point in the history
…sions

Added images of connectors
  • Loading branch information
abust005 committed Oct 31, 2023
1 parent 535be74 commit 70e0952
Show file tree
Hide file tree
Showing 9 changed files with 114 additions and 0 deletions.
Binary file added electrical/wiring/encoder_extension.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions electrical/wiring/encoder_extension.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
connectors:
DuPont:
<<: *maleDP4
Encoder-JST:
<<: *jst_xh4

cables:
W1:
<<: *enc
length: 36 cm

connections:
-
- DuPont: [1-4]
- W1: [1-4]
- Encoder-JST: [4-1]

metadata:
title: Corner Encoder Extension Cable (x4)
Binary file added electrical/wiring/images/Bullet_Connector.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added electrical/wiring/images/JST-XH.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added electrical/wiring/images/dupont.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added electrical/wiring/middle_encoder.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions electrical/wiring/middle_encoder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
connectors:
Molex-to-PCB:
<<: *molex
M+-to-Molex:
<<: *bullet
pinlabels: [M+]
M--to-Molex:
<<: *bullet
pinlabels: [M-]
Encoder-to-Molex:
<<: *jst_xh4

cables:
W1:
<<: *motor
length: 3 cm

W2:
<<: *enc
length: 44 cm

connections:
-
- Molex-to-PCB: [1]
- W1: [1]
- M+-to-Molex: [1]
-
- Molex-to-PCB: [2]
- W1: [2]
- M--to-Molex: [1]
-
- Molex-to-PCB: [4, 3, 5, 6]
- W2: [1-4]
- Encoder-to-Molex: [4, 3, 2, 1]

metadata:
title: Middle Encoder Cable (x2)
58 changes: 58 additions & 0 deletions electrical/wiring/templates.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
templates:
Molex-to-PCB: &molex
type: Molex Mini-Fit Jr.
subtype: female
pinlabels: [M+, M-, G, 5V, EnA, EnB]
show_pincount: true
image:
src: ./images/Molex-Mini-Fit-Jr-6-pin.png
caption: Molex Pinout
width: 165
Motor-to-Molex: &bullet
type: Bullet
show_pincount: false
#image: images/Bullet_Connector.jpg
Male-DuPont-4pin: &maleDP4
type: DuPont
subtype: male
pinlabels: [5V, GND, EnA, EnB]
show_pincount: true
image:
src: ./images/dupont.png
caption: Dupont Pinout
width: 500
height: 200
Female-DuPont-4pin: &femDP4
type: DuPont
subtype: female
pinlabels: [5V, GND, EnA, EnB]
show_pincount: true
Male-DuPont-3pin: &maleDP3
type: DuPont
subtype: male
pinlabels: [PWM, +, GND]
show_pincount: true
Female-DuPont-3pin: &femDP3
type: DuPont
subtype: female
pinlabels: [PWM, +, GND]
show_pincount: true
JST-XH: &jst_xh4
type: JST-XH
subtype: female
pinlabels: [EnB, EnA, GND, 5V]
image:
src: ./images/JST-XH.png
caption: JST-XH Pinout
width: 231
height: 202
Encoder: &enc
colors: [RD, BK, BU, WH]
gauge: 22 awg
Servo: &servo
colors: [WH, RD, BK]
gauge: 20 awg
Motor: &motor
colors: [RD, BK]
gauge: 18 awg

0 comments on commit 70e0952

Please sign in to comment.