diff --git a/docs/wiring/assets/.gitignore b/docs/wiring/assets/.gitignore index 9d5ad40..24f2fed 100644 --- a/docs/wiring/assets/.gitignore +++ b/docs/wiring/assets/.gitignore @@ -5,5 +5,6 @@ lib64 pyvenv.cfg *.svg *.pdf +*.html *.gv *.tsv \ No newline at end of file diff --git a/docs/wiring/assets/cerberus_gearbox.png b/docs/wiring/assets/cerberus_gearbox.png new file mode 100644 index 0000000..92f5df9 Binary files /dev/null and b/docs/wiring/assets/cerberus_gearbox.png differ diff --git a/docs/wiring/assets/cerberus_gearbox.yml b/docs/wiring/assets/cerberus_gearbox.yml new file mode 100644 index 0000000..4374232 --- /dev/null +++ b/docs/wiring/assets/cerberus_gearbox.yml @@ -0,0 +1,130 @@ +connectors: + Omero_CAN: &conn_can_template + pinlabels: [GND, CAN_H, CAN_L, GND, CAN_H, CAN_L] + type: Molex Nano Fit + subtype: male + Omero_PWR: &conn_pwr_template + pinlabels: [GND, VBAT] + type: Molex Nano Fit + subtype: male + Omero_RotEnc: + pinlabels: [SDA, SCL, GND, 3V3] + type: Molex Nano Fit + subtype: male + Omero_LimSwitch1: &conn_pcb_ls_template + pinlabels: [LS, GND] + type: Molex Nano Fit + subtype: male + # Omero_LimSwitch2: + # <<: *conn_pcb_ls_template + Omero_Stepper: + pincount: 4 + type: JST XH + subtype: male + # Omero_Buttons: + # pinlabels: [US, DS, GND, VCC] + # type: Molex Nano Fit + # subtype: male + # Omero_Potentionmeter: + # pinlabels: [GND, SPot, VCC] + # type: Molex Nano Fit + # subtype: male + Greta_PWR: + <<: *conn_pwr_template + Greta_CAN: + <<: *conn_can_template + # Greta_Buttons: + # pinlabels: [GND, US, DS] + # type: Molex Nano Fit + # subtype: male + # EncRot_PWR: + # pincount: 3 + # type: JST XH + # subtype: male + # EncRot_I2C: + # pincount: 4 + # type: JST XH + # subtype: male + LimSwitch1: &limit_switch_template + pincount: 2 + # LimSwitch2: + # <<: *limit_switch_template + Stepper: + pincount: 4 + X: + style: simple + autogenerate: true + type: " " + ignore_in_bom: true + +cables: + CAN-BUS_Omero-Greta: &cab_can_template + gauge: 22 AWG + colors: [BK, YE, BU] + HARNESS_DumBMS-GB: + gauge: 22 AWG + colors: [BK, YE, BU, BK, RD, BK, RD] + HARNESS_GB-Teseo: + gauge: 22 AWG + colors: [BK, YE, BU, BK, RD] + PWR_Greta: &cab_pwr_template + gauge: 22 AWG + colors: [BK, RD] + CAB_LimSwitch: &cab_limswitch + colors: [YE, BK] + CAB_Stepper: + colors: [BU, RD, GN, BK] + CAB_RotEnc: + colors: [YE, GN, BK, RD] + +connections: + - + - HARNESS_DumBMS-GB: [1-3] + - Omero_CAN: [1-3] + - + - HARNESS_DumBMS-GB: [4-5] + - Omero_PWR: [1-2] + - + - Omero_PWR: [1-2] + - PWR_Greta: [1-2] + - Greta_PWR: [1-2] + - + - Omero_CAN: [4-6] + - CAN-BUS_Omero-Greta: [1-3] + - Greta_CAN: [1-3] + - + - Greta_CAN: [4-6] + - HARNESS_GB-Teseo: [1-3] + - + - Omero_LimSwitch1: [1-2] + - CAB_LimSwitch: [1-2] + - LimSwitch1: [1-2] + - + - Omero_Stepper: [1-4] + - CAB_Stepper: [1-4] + - Stepper: [1-4] + - + - Omero_RotEnc: [1-4] + - CAB_RotEnc: [1-4] + +tweak: + override: + # Note that these autogenerated designators might be generated + # differently in future versions of WireViz. Define each splice + # manually with unique designators to be safer. + _X_1: + shape: point + _X_2: + shape: point + _X_3: + shape: point + _X_4: + shape: point + _X_5: + shape: point + _X_6: + shape: point + _X_7: + shape: point + _X_8: + shape: point \ No newline at end of file diff --git a/docs/wiring/assets/cerberus_general.html b/docs/wiring/assets/cerberus_general.html deleted file mode 100644 index 9a07992..0000000 --- a/docs/wiring/assets/cerberus_general.html +++ /dev/null @@ -1,963 +0,0 @@ - - - - - cerberus_general - -

cerberus_general

-

Diagram

- - - - - - - - -RPi_CAN - - -RPi_CAN - -Molex Nano Fit - -male - -6-pin - -GND - -1 - -CAN_H - -2 - -CAN_L - -3 - -GND - -4 - -CAN_H - -5 - -CAN_L - -6 - - - -CAN-BUS_RPi-FRAME - - -CAN-BUS_RPi-FRAME - -3x - -22 AWG -  -RPi_CAN:1:GND -     1:BK     -FRAME_CONN:1:GND - - - -RPi_CAN:2:CAN_H -     2:YE     -FRAME_CONN:2:CAN_H - - - -RPi_CAN:3:CAN_L -     3:BU     -FRAME_CONN:3:CAN_L - - - -  - - - -RPi_CAN:e--CAN-BUS_RPi-FRAME:w - - - - - - -RPi_CAN:e--CAN-BUS_RPi-FRAME:w - - - - - - -RPi_CAN:e--CAN-BUS_RPi-FRAME:w - - - - - - -FRAME_CONN - - -FRAME_CONN - -JST SM - -3-pin - -1 - -GND - -2 - -CAN_H - -3 - -CAN_L - - - -DumBMS_CAN - - -DumBMS_CAN - -Molex Nano Fit - -male - -6-pin - -GND - -1 - -CAN_H - -2 - -CAN_L - -3 - -GND - -4 - -CAN_H - -5 - -CAN_L - -6 - - - -CAN-BUS_FRAME-DumBMS - - -CAN-BUS_FRAME-DumBMS - -3x - -22 AWG -  -DumBMS_CAN:1:GND -     1:BK     -FRAME_CONN:1:GND - - - -DumBMS_CAN:2:CAN_H -     2:YE     -FRAME_CONN:2:CAN_H - - - -DumBMS_CAN:3:CAN_L -     3:BU     -FRAME_CONN:3:CAN_L - - - -  - - - -DumBMS_CAN:e--CAN-BUS_FRAME-DumBMS:w - - - - - - -DumBMS_CAN:e--CAN-BUS_FRAME-DumBMS:w - - - - - - -DumBMS_CAN:e--CAN-BUS_FRAME-DumBMS:w - - - - - - -HARNESS_DumBMS-GB - - -HARNESS_DumBMS-GB - -7x - -22 AWG -  -DumBMS_CAN:4:GND -     1:BK     -Omero_CAN:1:GND - - - -DumBMS_CAN:5:CAN_H -     2:YE     -Omero_CAN:2:CAN_H - - - -DumBMS_CAN:6:CAN_L -     3:BU     -Omero_CAN:3:CAN_L - - - -DumBMS_PWR1:1:GND -     4:BK     -Omero_PWR:1:GND - - - -DumBMS_PWR1:2:VBAT -     5:RD     -Omero_PWR:2:VBAT - - - -DumBMS_PWR2:1:GND -     6:BK     - - - -DumBMS_PWR2:2:VBAT -     7:RD     - - - -  - - - -DumBMS_CAN:e--HARNESS_DumBMS-GB:w - - - - - - -DumBMS_CAN:e--HARNESS_DumBMS-GB:w - - - - - - -DumBMS_CAN:e--HARNESS_DumBMS-GB:w - - - - - - -DumBMS_PWR1 - - -DumBMS_PWR1 - -Molex Nano Fit - -male - -2-pin - -GND - -1 - -VBAT - -2 - - - -DumBMS_PWR1:e--HARNESS_DumBMS-GB:w - - - - - - -DumBMS_PWR1:e--HARNESS_DumBMS-GB:w - - - - - - -DumBMS_PWR2 - - -DumBMS_PWR2 - -Molex Nano Fit - -male - -2-pin - -GND - -1 - -VBAT - -2 - - - -DumBMS_PWR2:e--HARNESS_DumBMS-GB:w - - - - - - -DumBMS_PWR2:e--HARNESS_DumBMS-GB:w - - - - - - -Omero_PWR - - -Omero_PWR - -Molex Nano Fit - -male - -2-pin - -1 - -GND - -1 - -2 - -VBAT - -2 - - - -PWR_Greta - - -PWR_Greta - -2x - -22 AWG -  -Omero_PWR:1:GND -     1:BK     -Greta_PWR:1:GND - - - -Omero_PWR:2:VBAT -     2:RD     -Greta_PWR:2:VBAT - - - -  - - - -Omero_PWR:e--PWR_Greta:w - - - - - - -Omero_PWR:e--PWR_Greta:w - - - - - - -Omero_CAN - - -Omero_CAN - -Molex Nano Fit - -male - -6-pin - -1 - -GND - -1 - -2 - -CAN_H - -2 - -3 - -CAN_L - -3 - -4 - -GND - -4 - -5 - -CAN_H - -5 - -6 - -CAN_L - -6 - - - -CAN-BUS_Omero-Greta - - -CAN-BUS_Omero-Greta - -3x - -22 AWG -  -Omero_CAN:4:GND -     1:BK     -Greta_CAN:1:GND - - - -Omero_CAN:5:CAN_H -     2:YE     -Greta_CAN:2:CAN_H - - - -Omero_CAN:6:CAN_L -     3:BU     -Greta_CAN:3:CAN_L - - - -  - - - -Omero_CAN:e--CAN-BUS_Omero-Greta:w - - - - - - -Omero_CAN:e--CAN-BUS_Omero-Greta:w - - - - - - -Omero_CAN:e--CAN-BUS_Omero-Greta:w - - - - - - -Greta_PWR - - -Greta_PWR - -Molex Nano Fit - -male - -2-pin - -1 - -GND - -2 - -VBAT - - - -Greta_CAN - - -Greta_CAN - -Molex Nano Fit - -male - -6-pin - -1 - -GND - -1 - -2 - -CAN_H - -2 - -3 - -CAN_L - -3 - -4 - -GND - -4 - -5 - -CAN_H - -5 - -6 - -CAN_L - -6 - - - -HARNESS_GB-Teseo - - -HARNESS_GB-Teseo - -5x - -22 AWG -  -Greta_CAN:4:GND -     1:BK     -Teseo_CAN:1:GND - - - -Greta_CAN:5:CAN_H -     2:YE     -Teseo_CAN:2:CAN_H - - - -Greta_CAN:6:CAN_L -     3:BU     -Teseo_CAN:3:CAN_L - - - -     4:BK     -Teseo_PWR:1:GND - - - -     5:RD     -Teseo_PWR:2:VBAT - - - -  - - - -Greta_CAN:e--HARNESS_GB-Teseo:w - - - - - - -Greta_CAN:e--HARNESS_GB-Teseo:w - - - - - - -Greta_CAN:e--HARNESS_GB-Teseo:w - - - - - - -Teseo_PWR - - -Teseo_PWR - -Molex Nano Fit - -male - -2-pin - -1 - -GND - -2 - -VBAT - - - -Teseo_CAN - - -Teseo_CAN - -Molex Nano Fit - -male - -6-pin - -1 - -GND - -2 - -CAN_H - -3 - -CAN_L - -4 - -GND - -5 - -CAN_H - -6 - -CAN_L - - - -_X_1 - - - - -_X_1:e--HARNESS_GB-Teseo:w - - - - - - -_X_2 - - - - -_X_2:e--HARNESS_GB-Teseo:w - - - - - - -CAN-BUS_RPi-FRAME:e--FRAME_CONN:w - - - - - - -CAN-BUS_RPi-FRAME:e--FRAME_CONN:w - - - - - - -CAN-BUS_RPi-FRAME:e--FRAME_CONN:w - - - - - - -CAN-BUS_FRAME-DumBMS:e--FRAME_CONN:w - - - - - - -CAN-BUS_FRAME-DumBMS:e--FRAME_CONN:w - - - - - - -CAN-BUS_FRAME-DumBMS:e--FRAME_CONN:w - - - - - - -CAN-BUS_Omero-Greta:e--Greta_CAN:w - - - - - - -CAN-BUS_Omero-Greta:e--Greta_CAN:w - - - - - - -CAN-BUS_Omero-Greta:e--Greta_CAN:w - - - - - - -HARNESS_DumBMS-GB:e--Omero_PWR:w - - - - - - -HARNESS_DumBMS-GB:e--Omero_PWR:w - - - - - - -HARNESS_DumBMS-GB:e--Omero_CAN:w - - - - - - -HARNESS_DumBMS-GB:e--Omero_CAN:w - - - - - - -HARNESS_DumBMS-GB:e--Omero_CAN:w - - - - - - -HARNESS_DumBMS-GB:e--_X_1:w - - - - - - -HARNESS_DumBMS-GB:e--_X_2:w - - - - - - -HARNESS_GB-Teseo:e--Teseo_PWR:w - - - - - - -HARNESS_GB-Teseo:e--Teseo_PWR:w - - - - - - -HARNESS_GB-Teseo:e--Teseo_CAN:w - - - - - - -HARNESS_GB-Teseo:e--Teseo_CAN:w - - - - - - -HARNESS_GB-Teseo:e--Teseo_CAN:w - - - - - - -PWR_Greta:e--Greta_PWR:w - - - - - - -PWR_Greta:e--Greta_PWR:w - - - - - - -

Bill of Materials

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
IdDescriptionQtyUnitDesignators
1Cable, 2 x 22 AWG0mPWR_Greta
2Cable, 3 x 22 AWG0mCAN-BUS_FRAME-DumBMS, CAN-BUS_Omero-Greta, CAN-BUS_RPi-FRAME
3Cable, 5 x 22 AWG0mHARNESS_GB-Teseo
4Cable, 7 x 22 AWG0mHARNESS_DumBMS-GB
5Connector, JST SM, 3 pins1FRAME_CONN
6Connector, Molex Nano Fit, male, 2 pins5DumBMS_PWR1, DumBMS_PWR2, Greta_PWR, Omero_PWR, Teseo_PWR
7Connector, Molex Nano Fit, male, 6 pins5DumBMS_CAN, Greta_CAN, Omero_CAN, RPi_CAN, Teseo_CAN
- diff --git a/docs/wiring/cerberus.md b/docs/wiring/cerberus.md index 3c26043..3478252 100644 --- a/docs/wiring/cerberus.md +++ b/docs/wiring/cerberus.md @@ -6,4 +6,10 @@ _Last update: 05/05/2024_ ![Cerberus general wiring](assets/cerberus_general.png) +For a better viewing of the image, try to open it in a new tab. + +## Gearbox wiring + +![Cerberus gearbox wiring](assets/cerberus_general.png) + For a better viewing of the image, try to open it in a new tab. \ No newline at end of file