Pod electronics
The pod will hold a BIGTREETECH Octopus V1.1 board and Unit Mini Scales from M5Stack.
Both are purchased parts, nothing here is printed.
The models are lean: boxes for the bodies that matter, positions for the connectors and mounting points, and keep-outs for the plugs and their cables.
The pod walls and cable paths are placed around them, and the pod collision tests use them.
The code is the package cm3d.pod.electronics, and everything the pod relies on is in cm3d.pod.electronics.interface.
uv run cm3d render connectors writes the pictures on this page, and uv run python -m cm3d.pod.electronics.doc writes the generated tables.
uv run python -m cm3d.pod.electronics.show shows the models in the OCP CAD Viewer, with the vendor files overlaid when they are present.
In the Octopus picture grey is the lean model and orange are the connector bodies and their mating plugs. In the connector tables the plug direction is the direction the mating plug moves when it is inserted, so −Z means plugged in from above with the cable leaving toward +Z. Every keep-out runs from the mating face out for the plug depth plus a cable allowance of 40 mm (30 mm straight, then a 10 mm bend radius).
Frames
Octopus V1.1: the origin is at the board corner, the board’s bottom face is at z = 0 and its top face at z = 1.6. X runs along the 160 mm edge and y along the 100 mm edge. The motor connectors are on the +Y edge, the power terminal block on the -X edge and USB-C on the +X edge.
Unit Mini Scales: the frame of the vendor STL is kept. The 24 × 40 outline is centred on the origin, x runs along the 24 mm side and y along the 40 mm side. The bottom face is at z = 0 and the top face at z = 18. The Grove end is -Y, and the +Y end carries the RGB LED and the button.
Not in the vendor files
The driver modules (TMC5160T Pro) and their heat sinks are not in the Octopus STEP. The model adds them as boxes whose top is at z = 30.3 mm above the board’s bottom face. That value is derived from the sockets and the module height of 23.2 mm in the manufacturer’s manual, so it needs re-measuring on the real part. The STEP shows the I2C&EEPROM header as 2×4, while the pinout calls it 1×4. The model only has its body, which the table block of the STEP already covers. The Octopus board is only 0.73 mm thick in the STEP, but the model uses 1.6 mm.
Vendor files
The STEP, STL and drawings are never committed (see CM3D-013: Vendor CAD files are fetched with pinned checksums, never committed).
uv run cm3d vendor fetch downloads them to build/vendor and checks their hashes.
Without them the vendor tests are skipped and the lean models still work, because their tables are generated from the files and stored in the repository.
Octopus V1.1
The eight motor connectors are the XH-4P at the +Y edge. MOTOR2_1 and MOTOR2_2 are both driven by driver socket 2. The power terminal block is on the -X edge with its wire entries toward -X. MOTOR_POWER and POWER are screw terminals, so their screws need screwdriver access from +Z. The pod design has to leave that access. The model has no keep-out for it.
| Connector | Position x, y, z (mm) | Plug direction | Plug x × y × z (mm) | Keep-out x × y × z (mm) | Source |
|---|---|---|---|---|---|
MOTOR0 |
22.86, 96.18, 8.6 |
−Z |
12.5 × 5.8 × 6 |
12.5 × 5.8 × 46 |
STEP body XH-4P #0; plug height Claude’s call, re-measure on the real part |
MOTOR1 |
36.83, 96.18, 8.6 |
−Z |
12.5 × 5.8 × 6 |
12.5 × 5.8 × 46 |
STEP body XH-4P #1; plug height Claude’s call, re-measure on the real part |
MOTOR2_1 |
50.8, 96.18, 8.6 |
−Z |
12.5 × 5.8 × 6 |
12.5 × 5.8 × 46 |
STEP body XH-4P #2; plug height Claude’s call, re-measure on the real part |
MOTOR2_2 |
64.77, 96.18, 8.6 |
−Z |
12.5 × 5.8 × 6 |
12.5 × 5.8 × 46 |
STEP body XH-4P #3; plug height Claude’s call, re-measure on the real part |
MOTOR3 |
78.74, 96.18, 8.6 |
−Z |
12.5 × 5.8 × 6 |
12.5 × 5.8 × 46 |
STEP body XH-4P #4; plug height Claude’s call, re-measure on the real part |
MOTOR4 |
92.71, 96.18, 8.6 |
−Z |
12.5 × 5.8 × 6 |
12.5 × 5.8 × 46 |
STEP body XH-4P #5; plug height Claude’s call, re-measure on the real part |
MOTOR5 |
106.68, 96.18, 8.6 |
−Z |
12.5 × 5.8 × 6 |
12.5 × 5.8 × 46 |
STEP body XH-4P #6; plug height Claude’s call, re-measure on the real part |
MOTOR6 |
120.65, 96.18, 8.6 |
−Z |
12.5 × 5.8 × 6 |
12.5 × 5.8 × 46 |
STEP body XH-4P #7; plug height Claude’s call, re-measure on the real part |
MOTOR7 |
134.62, 96.18, 8.6 |
−Z |
12.5 × 5.8 × 6 |
12.5 × 5.8 × 46 |
STEP body XH-4P #8; plug height Claude’s call, re-measure on the real part |
MOTOR_POWER |
0.95, 75.345, 8.85 |
+X |
10 × 19 × 14.5 |
50 × 19 × 14.5 |
STEP body HB9500-8P #0, 9.5 pitch, wire entries -X; drawing octopus_pin.jpg positions 1-2 from +Y (GND, VM); plug depth Claude’s call, re-measure on the real part |
POWER |
0.95, 56.345, 8.85 |
+X |
10 × 19 × 14.5 |
50 × 19 × 14.5 |
STEP body HB9500-8P #0, 9.5 pitch, wire entries -X; drawing octopus_pin.jpg positions 3-4 from +Y (GND, 24 V); plug depth Claude’s call, re-measure on the real part |
USB_C |
160.96, 77.235, 2.73 |
−X |
25 × 12.5 × 6.5 |
65 × 12.5 × 6.5 |
STEP body KH-TYPE-C-16P #0; plug overmould Claude’s call, re-measure on the real part |
RPI |
143.94, 77.69, 9.98 |
−Z |
5.2 × 12.8 × 8 |
5.2 × 12.8 × 48 |
STEP body 5X2P-254 #1; 2x5 Dupont housing Claude’s call, re-measure on the real part |
RGB |
143.75, 3.1, 8.4 |
−Z |
9.9 × 6.1 × 6 |
9.9 × 6.1 × 46 |
STEP body XH-3P #9; plug height Claude’s call, re-measure on the real part |
The board is fixed with screws through four M3 holes in the corners, 150 × 90 mm apart, with the screws along Z from the bottom face.
Each mounting hole is a MountPoint of octopus_mount_points(), with its axis out of the bottom face.
| Mounting point | Position x, y, z (mm) | Axis | Hole (mm) | Thread | Nut access | Usable | Source |
|---|---|---|---|---|---|---|---|
hole 5 5 |
5, 5, 0 |
−Z |
Ø3.2, 1.6 deep |
– |
– |
yes |
STEP M3_6 pads; drawing octopus_size.pdf: 150 x 90 apart; hole diameter re-measure on the real part |
hole 155 5 |
155, 5, 0 |
−Z |
Ø3.2, 1.6 deep |
– |
– |
yes |
STEP M3_6 pads; drawing octopus_size.pdf: 150 x 90 apart; hole diameter re-measure on the real part |
hole 5 95 |
5, 95, 0 |
−Z |
Ø3.2, 1.6 deep |
– |
– |
yes |
STEP M3_6 pads; drawing octopus_size.pdf: 150 x 90 apart; hole diameter re-measure on the real part |
hole 155 95 |
155, 95, 0 |
−Z |
Ø3.2, 1.6 deep |
– |
– |
yes |
STEP M3_6 pads; drawing octopus_size.pdf: 150 x 90 apart; hole diameter re-measure on the real part |
Unit Mini Scales
The two Mini Scales pictures show the vendor STL (MIT licence) in grey and what the pod design uses in orange: the Grove connector, a marker standing out of every usable hole along its axis, and the space in front of the side nuts.
They are rendered only after uv run cm3d vendor fetch, because the STL is not committed.
The Grove plug enters a slot between the two halves at the -Y end. The RGB LED and the button are at the +Y end and are not a connector. The assumed plug width equals the slot width, so measure the user’s own cable and compare.
| Connector | Position x, y, z (mm) | Plug direction | Plug x × y × z (mm) | Keep-out x × y × z (mm) | Source |
|---|---|---|---|---|---|
GROVE |
0, -12.89, 8.25 |
+Y |
10 × 8 × 4.6 |
10 × 48 × 4.6 |
STL region 4: receptacle x -7.5 … 7.5, y -12.89 … -8.55, z 6.5 … 10.0 (sections x = 0 and 3, z = 6.75 … 9.75), the mating face at the region’s -Y face; HY2.0-4P plug size Claude’s call; re-measure on the real part |
Every hole of the top and bottom face is a MountPoint of mini_scales_mount_points(), named by face, y and side (left is -X).
The unit can be mounted with screws through its four bottom corner holes.
The two holes at +Y are free on the ledge that the top half leaves uncovered.
The two holes at -Y are under the top half and are reached through its corner holes.
The four inner bottom holes are under the bottom label and are not mounting holes.
The bottom corner holes are Ø4.85 mm up to the head seat at z = 7.
Above the seat is an upper counterbore of Ø6 mm, and a wider head seats on the boss top at z = 8.
A head that passes the top half’s corner holes is at most Ø4.73 mm, so it cannot seat on the Ø4.85 mm hole of a -Y corner.
How these two screws are set is open (see the open points).
The top face has an M3 thread at (0, -4), 6 mm deep, and plain through holes.
The plain top holes have no thread, so they can only locate a part with pins or dowels and do not fasten it.
The top half also holds 4 M3 nuts that are pushed in from its side faces, under the holes at (±8, -8) and (±8, 0).
A screw from the top face reaches the far face of such a nut 4.29 mm below the face, and it may reach at most 6 mm deep (max_screw_depth).
Because the nuts go in from the side, the space in front of their slots must stay free until the platform is screwed on.
mini_scales_nut_access_keepouts() gives that space: the slot and 10 mm in front of the side face.
A screw from the top face must end above the top half’s underside at z = 12, because below it are the bottom half, the inner part or the Grove slot.
| Mounting point | Position x, y, z (mm) | Axis | Hole (mm) | Thread | Nut access | Usable | Source |
|---|---|---|---|---|---|---|---|
top -4 centre |
0, -4, 18 |
+Z |
Ø3, 6 deep |
M3, 6 deep; screw at most 6 deep |
– |
yes |
drawing unit_mini_scales_asm.pdf: M3, 6 deep; STL region 1: hexagon pocket 4.86 across flats from z = 12 up to the label recess, the bore under it 3.0 (STL region 4); under the top label on the real part; the user, 2026-11-13: every top and bottom hole may be used |
top -8 left |
-8, -8, 18 |
+Z |
Ø3.2, 6 deep |
M3, 4.29 deep; screw at most 6 deep |
nut pushed in along +X |
yes |
STL region 1: M3 nut slot open to the side face under the hole (a nut pushed in along x up to its hexagonal seat on the axis), a shank channel below it; a screw must end above the top half’s underside (z = 12); the user, 2026-11-13: every top and bottom hole may be used |
top -8 right |
8, -8, 18 |
+Z |
Ø3.2, 6 deep |
M3, 4.29 deep; screw at most 6 deep |
nut pushed in along −X |
yes |
STL region 1: M3 nut slot open to the side face under the hole (a nut pushed in along x up to its hexagonal seat on the axis), a shank channel below it; a screw must end above the top half’s underside (z = 12); the user, 2026-11-13: every top and bottom hole may be used |
top 0 left |
-8, 0, 18 |
+Z |
Ø3.2, 6 deep |
M3, 4.29 deep; screw at most 6 deep |
nut pushed in along +X |
yes |
STL region 1: M3 nut slot open to the side face under the hole (a nut pushed in along x up to its hexagonal seat on the axis), a shank channel below it; a screw must end above the top half’s underside (z = 12); the user, 2026-11-13: every top and bottom hole may be used |
top 0 right |
8, 0, 18 |
+Z |
Ø3.2, 6 deep |
M3, 4.29 deep; screw at most 6 deep |
nut pushed in along −X |
yes |
STL region 1: M3 nut slot open to the side face under the hole (a nut pushed in along x up to its hexagonal seat on the axis), a shank channel below it; a screw must end above the top half’s underside (z = 12); the user, 2026-11-13: every top and bottom hole may be used |
top -16 centre |
0, -16, 18 |
+Z |
Ø3.2, 6 deep |
–; screw at most 6 deep, locates only |
– |
yes |
STL region 1: plain through hole, a round Ø5.8 × 3.2 counterbore from the underside, no nut; no thread: locates only (a pin or dowel up to max_screw_depth), does not fasten; below it the Grove slot; a screw must end above the top half’s underside (z = 12); the user, 2026-11-13: every top and bottom hole may be used |
top 8 centre |
0, 8, 18 |
+Z |
Ø3.2, 6 deep |
–; screw at most 6 deep, locates only |
– |
yes |
STL region 1: plain through hole, a round Ø5.8 × 3.2 counterbore from the underside, no nut; no thread: locates only (a pin or dowel up to max_screw_depth), does not fasten; below it the inner part (STL region 4, z 8 … 10.7); a screw must end above the top half’s underside (z = 12); the user, 2026-11-13: every top and bottom hole may be used |
top -16 left |
-8, -16, 18 |
+Z |
Ø4.73, 6 deep |
–; screw at most 6 deep, locates only |
– |
yes |
STL region 1: plain through hole of the top half (Lego pitch), no thread: locates only (a pin or dowel up to max_screw_depth), does not fasten; below it the bottom half’s corner hole (the -Y bottom screws pass here); a screw must end above the top half’s underside (z = 12); the user, 2026-11-13: every top and bottom hole may be used |
top -16 right |
8, -16, 18 |
+Z |
Ø4.73, 6 deep |
–; screw at most 6 deep, locates only |
– |
yes |
STL region 1: plain through hole of the top half (Lego pitch), no thread: locates only (a pin or dowel up to max_screw_depth), does not fasten; below it the bottom half’s corner hole (the -Y bottom screws pass here); a screw must end above the top half’s underside (z = 12); the user, 2026-11-13: every top and bottom hole may be used |
top 8 left |
-8, 8, 18 |
+Z |
Ø4.73, 6 deep |
–; screw at most 6 deep, locates only |
– |
yes |
STL region 1: plain through hole of the top half (Lego pitch), no thread: locates only (a pin or dowel up to max_screw_depth), does not fasten; below it the inner part; a screw must end above the top half’s underside (z = 12); the user, 2026-11-13: every top and bottom hole may be used |
top 8 right |
8, 8, 18 |
+Z |
Ø4.73, 6 deep |
–; screw at most 6 deep, locates only |
– |
yes |
STL region 1: plain through hole of the top half (Lego pitch), no thread: locates only (a pin or dowel up to max_screw_depth), does not fasten; below it the inner part; a screw must end above the top half’s underside (z = 12); the user, 2026-11-13: every top and bottom hole may be used |
bottom -16 left |
-8, -16, 0 |
−Z |
Ø4.85, 7 deep, counterbore Ø6.2 × 1, head at most Ø4.73 (cannot seat on Ø4.85) |
– |
– |
yes |
STL region 2 and drawing: corner hole through the bottom half up to the head seat at z = 7; above it an upper counterbore Ø6 up to the boss top at z = 8 (a wider head seats there); reached through the top half’s corner hole (Ø4.73): a head that passes cannot seat on Ø4.85, how these screws are set is open, confirm on the real part; the user, 2026-11-13: every top and bottom hole may be used |
bottom -16 right |
8, -16, 0 |
−Z |
Ø4.85, 7 deep, counterbore Ø6.2 × 1, head at most Ø4.73 (cannot seat on Ø4.85) |
– |
– |
yes |
STL region 2 and drawing: corner hole through the bottom half up to the head seat at z = 7; above it an upper counterbore Ø6 up to the boss top at z = 8 (a wider head seats there); reached through the top half’s corner hole (Ø4.73): a head that passes cannot seat on Ø4.85, how these screws are set is open, confirm on the real part; the user, 2026-11-13: every top and bottom hole may be used |
bottom 16 left |
-8, 16, 0 |
−Z |
Ø4.85, 7 deep, counterbore Ø6.2 × 1 |
– |
– |
yes |
STL region 2 and drawing: corner hole through the bottom half up to the head seat at z = 7; above it an upper counterbore Ø6 up to the boss top at z = 8 (a wider head seats there); free on the ledge; the user, 2026-11-13: every top and bottom hole may be used |
bottom 16 right |
8, 16, 0 |
−Z |
Ø4.85, 7 deep, counterbore Ø6.2 × 1 |
– |
– |
yes |
STL region 2 and drawing: corner hole through the bottom half up to the head seat at z = 7; above it an upper counterbore Ø6 up to the boss top at z = 8 (a wider head seats there); free on the ledge; the user, 2026-11-13: every top and bottom hole may be used |
bottom -9 left |
-8, -9, 0 |
−Z |
Ø2.06, 2.6 deep |
– |
– |
no |
STL region 2: countersunk hole under the bottom label, not a mounting hole (the user, 2026-11-13) |
bottom -9 right |
8, -9, 0 |
−Z |
Ø2.06, 2.6 deep |
– |
– |
no |
STL region 2: countersunk hole under the bottom label, not a mounting hole (the user, 2026-11-13) |
bottom 9 left |
-8, 9, 0 |
−Z |
Ø2.06, 2.6 deep |
– |
– |
no |
STL region 2: countersunk hole under the bottom label, not a mounting hole (the user, 2026-11-13) |
bottom 9 right |
8, 9, 0 |
−Z |
Ø2.06, 2.6 deep |
– |
– |
no |
STL region 2: countersunk hole under the bottom label, not a mounting hole (the user, 2026-11-13) |
The halves are joined only by the beam, so the load on the top face pushes toward the bottom face. The load direction is (0, 0, -1), and the bottom face must stand on the base.
The top half carries the load and is the live part (mini_scales_live_part()), while the bottom half is fixed to the pod.
Nothing fixed may come closer to the top half than 1 mm, except the load on the top face.
A part on the top face is fixed with screws into the top thread or the side nuts (thread and thread_depth of each mounting point).
The screws in the two -Y corner holes go in through the top half’s corner holes, which narrow to Ø4.73 mm, so their heads must be at most that wide (BOTTOM_SCREW_HEAD_MAX_D).
An M3 socket head (Ø5.5 mm) does not pass.
These screws must not touch the top half.
To re-measure on the real part
The values to re-measure on the real part are in 11 Risks and Technical Debt.