Initial AON3D M2+ dual MCU configuration

- Octopus Pro: Motors (MOTOR0-7), bed heater (PA1), chamber heater (PB10)
- Azteeg X3: Thermistors, endstops, probe, fan, hotend heaters
- IDEX setup with external DM542T drivers
- Includes wiring documentation and swap guide

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-12 20:52:58 -05:00
commit ef868e7953
26 changed files with 3973 additions and 0 deletions

Binary file not shown.

Binary file not shown.

BIN
docs/BTT_Octopus_pro_EN.pdf Normal file

Binary file not shown.

View File

@@ -0,0 +1,79 @@
# Azteeg X3 → Octopus Pro Swap Guide
**Do NOT install M0DIAG-M7DIAG jumpers**
---
## MOTORS (left to right on Octopus)
| Motor | Axis | Step | Dir | Enable |
|-------|------|------|-----|--------|
| MOTOR0 | X (T0) | PF13 | PF12 | PF14 |
| MOTOR1 | Y (left) | PG0 | PG1 | PF15 |
| MOTOR2 | Z (left) | PF11 | PG3 | PG5 |
| MOTOR3 | E0 (T0) | PG4 | PC1 | PA0 |
| MOTOR4 | E1 (T1) | PF9 | PF10 | PG2 |
| MOTOR5 | X2 (T1) | PC13 | PF0 | PF1 |
| MOTOR6 | Y1 (right) | PE2 | PE3 | PD4 |
| MOTOR7 | Z1 (right) | PE6 | PA14 | PE0 |
---
## ENDSTOPS
| Wire from Azteeg | → | Octopus Pin |
|------------------|---|-------------|
| X min endstop | → | PG6 |
| X2 endstop | → | PG9 |
| Y min endstop | → | PG10 |
| Y1 endstop | → | PG11 |
| Z min endstop | → | PG12 |
| Z1 endstop | → | PG13 |
---
## THERMISTORS
| Wire from Azteeg | → | Octopus Pin |
|------------------|---|-------------|
| Extruder 0 thermistor | → | PF4 |
| Extruder 1 thermistor | → | PF5 |
| Chamber thermistor | → | PF6 |
| Bed thermistor | → | PF3 |
---
## HEATERS
| Wire from Azteeg | Azteeg Pin | → | Octopus Pin |
|------------------|------------|---|-------------|
| Hotend 0 heater | ar10 | → | PA2 (HE0) |
| Hotend 1 heater | ar9 | → | PA3 (HE1) |
| Chamber heater | ar4 | → | PB10 (HE2) |
| Bed heater | ar8 | → | PA1 (HB) |
---
## FANS
| Wire from Azteeg | → | Octopus Pin |
|------------------|---|-------------|
| Enclosure fan | → | PD12 |
---
## PROBE
| Wire from Azteeg | → | Octopus Pin |
|------------------|---|-------------|
| Probe signal | → | PG15 |
---
## POWER
| Wire from Azteeg | → | Octopus |
|------------------|---|---------|
| 24V + | → | VIN + |
| 24V - | → | VIN - |
| USB to Pi | → | USB-C |

368
docs/octopus-pro-wiring.svg Normal file
View File

@@ -0,0 +1,368 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 900" width="1200" height="900">
<defs>
<style>
.board { fill: #1a1a2e; stroke: #4a4a6a; stroke-width: 3; }
.header { fill: #2d2d44; stroke: #6a6a8a; stroke-width: 1; }
.header-motor { fill: #3d5a3d; stroke: #5a8a5a; stroke-width: 1; }
.header-heater { fill: #5a3d3d; stroke: #8a5a5a; stroke-width: 1; }
.header-therm { fill: #3d3d5a; stroke: #5a5a8a; stroke-width: 1; }
.header-fan { fill: #3d5a5a; stroke: #5a8a8a; stroke-width: 1; }
.header-endstop { fill: #5a5a3d; stroke: #8a8a5a; stroke-width: 1; }
.header-power { fill: #5a3d5a; stroke: #8a5a8a; stroke-width: 1; }
.label { font-family: monospace; font-size: 11px; fill: #ffffff; }
.label-small { font-family: monospace; font-size: 9px; fill: #cccccc; }
.label-title { font-family: Arial, sans-serif; font-size: 14px; fill: #ffffff; font-weight: bold; }
.label-header { font-family: Arial, sans-serif; font-size: 20px; fill: #ffffff; font-weight: bold; }
.wire { stroke-width: 2; fill: none; }
.wire-step { stroke: #ff6b6b; }
.wire-dir { stroke: #4ecdc4; }
.wire-en { stroke: #ffe66d; }
.wire-gnd { stroke: #888888; }
.wire-signal { stroke: #95e1d3; }
.wire-power { stroke: #ff8c42; }
.driver-box { fill: #2a2a3a; stroke: #5a5a7a; stroke-width: 2; rx: 5; }
.connector { fill: #4a4a6a; stroke: #7a7a9a; stroke-width: 1; }
.pin { fill: #gold; stroke: #aa8800; stroke-width: 0.5; }
.note { font-family: Arial, sans-serif; font-size: 10px; fill: #aaaaaa; }
</style>
</defs>
<!-- Background -->
<rect width="1200" height="900" fill="#0d0d1a"/>
<!-- Title -->
<text x="600" y="35" text-anchor="middle" class="label-header">AON3D M2+ Wiring Diagram - BTT Octopus Pro v1.0.1</text>
<text x="600" y="55" text-anchor="middle" class="note">External DM542T Stepper Drivers Configuration</text>
<!-- Octopus Pro Board -->
<rect x="50" y="80" width="400" height="700" class="board" rx="10"/>
<text x="250" y="110" text-anchor="middle" class="label-title">BTT OCTOPUS PRO v1.0.1</text>
<!-- Motor Headers -->
<g id="motor-headers">
<text x="70" y="145" class="label-title">MOTOR OUTPUTS</text>
<!-- MOTOR0 -->
<rect x="70" y="155" width="80" height="35" class="header-motor" rx="3"/>
<text x="110" y="175" text-anchor="middle" class="label">MOTOR0</text>
<text x="110" y="185" text-anchor="middle" class="label-small">X Axis</text>
<!-- MOTOR1 -->
<rect x="160" y="155" width="80" height="35" class="header-motor" rx="3"/>
<text x="200" y="175" text-anchor="middle" class="label">MOTOR1</text>
<text x="200" y="185" text-anchor="middle" class="label-small">X2 (IDEX)</text>
<!-- MOTOR2 -->
<rect x="250" y="155" width="80" height="35" class="header-motor" rx="3"/>
<text x="290" y="175" text-anchor="middle" class="label">MOTOR2</text>
<text x="290" y="185" text-anchor="middle" class="label-small">Y Axis</text>
<!-- MOTOR3 -->
<rect x="340" y="155" width="80" height="35" class="header-motor" rx="3"/>
<text x="380" y="175" text-anchor="middle" class="label">MOTOR3</text>
<text x="380" y="185" text-anchor="middle" class="label-small">Y1 Axis</text>
<!-- MOTOR4 -->
<rect x="70" y="200" width="80" height="35" class="header-motor" rx="3"/>
<text x="110" y="220" text-anchor="middle" class="label">MOTOR4</text>
<text x="110" y="230" text-anchor="middle" class="label-small">Z Axis</text>
<!-- MOTOR5 -->
<rect x="160" y="200" width="80" height="35" class="header-motor" rx="3"/>
<text x="200" y="220" text-anchor="middle" class="label">MOTOR5</text>
<text x="200" y="230" text-anchor="middle" class="label-small">Z1 Axis</text>
<!-- MOTOR6 -->
<rect x="250" y="200" width="80" height="35" class="header-motor" rx="3"/>
<text x="290" y="220" text-anchor="middle" class="label">MOTOR6</text>
<text x="290" y="230" text-anchor="middle" class="label-small">Extruder 0</text>
<!-- MOTOR7 -->
<rect x="340" y="200" width="80" height="35" class="header-motor" rx="3"/>
<text x="380" y="220" text-anchor="middle" class="label">MOTOR7</text>
<text x="380" y="230" text-anchor="middle" class="label-small">Extruder 1</text>
</g>
<!-- Endstop Headers -->
<g id="endstop-headers">
<text x="70" y="265" class="label-title">ENDSTOPS (DIAG)</text>
<rect x="70" y="275" width="55" height="30" class="header-endstop" rx="3"/>
<text x="97" y="293" text-anchor="middle" class="label-small">DIAG0</text>
<text x="97" y="302" text-anchor="middle" class="label-small">X-min</text>
<rect x="130" y="275" width="55" height="30" class="header-endstop" rx="3"/>
<text x="157" y="293" text-anchor="middle" class="label-small">DIAG1</text>
<text x="157" y="302" text-anchor="middle" class="label-small">X2</text>
<rect x="190" y="275" width="55" height="30" class="header-endstop" rx="3"/>
<text x="217" y="293" text-anchor="middle" class="label-small">DIAG2</text>
<text x="217" y="302" text-anchor="middle" class="label-small">Y-min</text>
<rect x="250" y="275" width="55" height="30" class="header-endstop" rx="3"/>
<text x="277" y="293" text-anchor="middle" class="label-small">DIAG3</text>
<text x="277" y="302" text-anchor="middle" class="label-small">Y1</text>
<rect x="310" y="275" width="55" height="30" class="header-endstop" rx="3"/>
<text x="337" y="293" text-anchor="middle" class="label-small">DIAG4</text>
<text x="337" y="302" text-anchor="middle" class="label-small">Z-min</text>
<rect x="370" y="275" width="55" height="30" class="header-endstop" rx="3"/>
<text x="397" y="293" text-anchor="middle" class="label-small">DIAG5</text>
<text x="397" y="302" text-anchor="middle" class="label-small">Z1</text>
</g>
<!-- Thermistor Headers -->
<g id="thermistor-headers">
<text x="70" y="340" class="label-title">THERMISTORS</text>
<rect x="70" y="350" width="70" height="35" class="header-therm" rx="3"/>
<text x="105" y="370" text-anchor="middle" class="label">T0</text>
<text x="105" y="380" text-anchor="middle" class="label-small">Extruder 0</text>
<rect x="150" y="350" width="70" height="35" class="header-therm" rx="3"/>
<text x="185" y="370" text-anchor="middle" class="label">T1</text>
<text x="185" y="380" text-anchor="middle" class="label-small">Extruder 1</text>
<rect x="230" y="350" width="70" height="35" class="header-therm" rx="3"/>
<text x="265" y="370" text-anchor="middle" class="label">T2</text>
<text x="265" y="380" text-anchor="middle" class="label-small">Chamber</text>
<rect x="310" y="350" width="70" height="35" class="header-therm" rx="3"/>
<text x="345" y="370" text-anchor="middle" class="label">TB</text>
<text x="345" y="380" text-anchor="middle" class="label-small">Bed</text>
</g>
<!-- Heater Headers -->
<g id="heater-headers">
<text x="70" y="420" class="label-title">HEATERS</text>
<rect x="70" y="430" width="70" height="35" class="header-heater" rx="3"/>
<text x="105" y="450" text-anchor="middle" class="label">HE0</text>
<text x="105" y="460" text-anchor="middle" class="label-small">Hotend 0</text>
<rect x="150" y="430" width="70" height="35" class="header-heater" rx="3"/>
<text x="185" y="450" text-anchor="middle" class="label">HE1</text>
<text x="185" y="460" text-anchor="middle" class="label-small">Hotend 1</text>
<rect x="230" y="430" width="70" height="35" class="header-heater" rx="3"/>
<text x="265" y="450" text-anchor="middle" class="label">HE2</text>
<text x="265" y="460" text-anchor="middle" class="label-small">Chamber</text>
<rect x="310" y="430" width="80" height="35" class="header-heater" rx="3"/>
<text x="350" y="450" text-anchor="middle" class="label">HB</text>
<text x="350" y="460" text-anchor="middle" class="label-small">Bed (10A)</text>
</g>
<!-- Fan Headers -->
<g id="fan-headers">
<text x="70" y="500" class="label-title">FANS</text>
<rect x="70" y="510" width="50" height="30" class="header-fan" rx="3"/>
<text x="95" y="528" text-anchor="middle" class="label-small">FAN0</text>
<rect x="125" y="510" width="50" height="30" class="header-fan" rx="3"/>
<text x="150" y="528" text-anchor="middle" class="label-small">FAN1</text>
<rect x="180" y="510" width="50" height="30" class="header-fan" rx="3"/>
<text x="205" y="528" text-anchor="middle" class="label">FAN2</text>
<rect x="235" y="510" width="50" height="30" class="header-fan" rx="3"/>
<text x="260" y="528" text-anchor="middle" class="label-small">FAN3</text>
<rect x="290" y="510" width="50" height="30" class="header-fan" rx="3"/>
<text x="315" y="528" text-anchor="middle" class="label-small">FAN4</text>
<text x="205" y="555" text-anchor="middle" class="note">FAN2 = Enclosure Fan</text>
</g>
<!-- Probe Header -->
<g id="probe-header">
<text x="70" y="585" class="label-title">PROBE</text>
<rect x="70" y="595" width="80" height="35" class="header-endstop" rx="3"/>
<text x="110" y="615" text-anchor="middle" class="label">PROBE</text>
<text x="110" y="625" text-anchor="middle" class="label-small">PG15</text>
</g>
<!-- Power Header -->
<g id="power-header">
<text x="70" y="660" class="label-title">POWER</text>
<rect x="70" y="670" width="100" height="40" class="header-power" rx="3"/>
<text x="120" y="693" text-anchor="middle" class="label">24V IN</text>
<rect x="180" y="670" width="80" height="40" class="header" rx="3"/>
<text x="220" y="693" text-anchor="middle" class="label">USB-C</text>
</g>
<!-- Pin Reference -->
<g id="pin-reference">
<text x="70" y="740" class="label-title">PIN REFERENCE</text>
<text x="70" y="758" class="label-small">MOTOR0: STEP=PF13, DIR=PF12, EN=PF14</text>
<text x="70" y="770" class="label-small">MOTOR1: STEP=PG0, DIR=PG1, EN=PF15</text>
<text x="70" y="782" class="label-small">MOTOR2: STEP=PF11, DIR=PG3, EN=PG5</text>
<text x="70" y="794" class="label-small">MOTOR3: STEP=PG4, DIR=PC1, EN=PA0</text>
<text x="250" y="758" class="label-small">MOTOR4: STEP=PF9, DIR=PF10, EN=PG2</text>
<text x="250" y="770" class="label-small">MOTOR5: STEP=PC13, DIR=PF0, EN=PF1</text>
<text x="250" y="782" class="label-small">MOTOR6: STEP=PE2, DIR=PE3, EN=PD4</text>
<text x="250" y="794" class="label-small">MOTOR7: STEP=PE6, DIR=PA14, EN=PE0</text>
</g>
<!-- DM542T Drivers (right side) -->
<g id="dm542t-drivers">
<text x="700" y="90" text-anchor="middle" class="label-title">EXTERNAL DM542T DRIVERS (x8)</text>
<!-- Driver template shown for clarity -->
<rect x="520" y="110" width="150" height="180" class="driver-box"/>
<text x="595" y="135" text-anchor="middle" class="label">DM542T</text>
<text x="595" y="150" text-anchor="middle" class="label-small">Driver Template</text>
<!-- Input side -->
<text x="540" y="175" class="label-small">INPUTS:</text>
<text x="540" y="190" class="label-small">PUL+ ← STEP</text>
<text x="540" y="202" class="label-small">PUL- ← GND</text>
<text x="540" y="214" class="label-small">DIR+ ← DIR</text>
<text x="540" y="226" class="label-small">DIR- ← GND</text>
<text x="540" y="238" class="label-small">ENA+ ← EN</text>
<text x="540" y="250" class="label-small">ENA- ← GND</text>
<!-- Output side -->
<text x="540" y="270" class="label-small">OUTPUTS: A+,A-,B+,B-</text>
<text x="540" y="282" class="label-small">POWER: V+, V-</text>
<!-- Connection diagram -->
<text x="700" y="130" class="label-title">CONNECTION PATTERN</text>
<rect x="700" y="145" width="180" height="145" class="driver-box"/>
<!-- From Octopus -->
<text x="715" y="165" class="label-small" fill="#ff6b6b">STEP (pin 2) ──► PUL+</text>
<text x="715" y="180" class="label-small" fill="#4ecdc4">DIR (pin 3) ──► DIR+</text>
<text x="715" y="195" class="label-small" fill="#ffe66d">EN (pin 4) ──► ENA+</text>
<text x="715" y="210" class="label-small" fill="#888888">GND (pin 1) ──► PUL-</text>
<text x="715" y="225" class="label-small" fill="#888888"> ├──► DIR-</text>
<text x="715" y="240" class="label-small" fill="#888888"> └──► ENA-</text>
<text x="715" y="265" class="label-small">To Motor: A+, A-, B+, B-</text>
<text x="715" y="280" class="label-small">Power: 24-48V DC</text>
</g>
<!-- Driver assignments table -->
<g id="driver-table">
<text x="900" y="90" text-anchor="middle" class="label-title">DRIVER ASSIGNMENTS</text>
<rect x="890" y="100" width="280" height="200" fill="#1a1a2e" stroke="#4a4a6a" rx="5"/>
<text x="910" y="125" class="label-small">OCTOPUS DRIVER MOTOR</text>
<text x="910" y="140" class="label-small">────────────────────────────</text>
<text x="910" y="155" class="label-small">MOTOR0 → DM542T #1 → X</text>
<text x="910" y="170" class="label-small">MOTOR1 → DM542T #2 → X2 (IDEX)</text>
<text x="910" y="185" class="label-small">MOTOR2 → DM542T #3 → Y</text>
<text x="910" y="200" class="label-small">MOTOR3 → DM542T #4 → Y1</text>
<text x="910" y="215" class="label-small">MOTOR4 → DM542T #5 → Z</text>
<text x="910" y="230" class="label-small">MOTOR5 → DM542T #6 → Z1</text>
<text x="910" y="245" class="label-small">MOTOR6 → DM542T #7 → E0</text>
<text x="910" y="260" class="label-small">MOTOR7 → DM542T #8 → E1</text>
<text x="910" y="290" class="label-small">Total: 8 motor channels</text>
</g>
<!-- Wiring color legend -->
<g id="legend">
<text x="520" y="330" class="label-title">WIRE COLOR LEGEND</text>
<rect x="520" y="340" width="200" height="100" fill="#1a1a2e" stroke="#4a4a6a" rx="5"/>
<line x1="535" y1="360" x2="575" y2="360" class="wire wire-step"/>
<text x="585" y="364" class="label-small">STEP signal</text>
<line x1="535" y1="380" x2="575" y2="380" class="wire wire-dir"/>
<text x="585" y="384" class="label-small">DIR signal</text>
<line x1="535" y1="400" x2="575" y2="400" class="wire wire-en"/>
<text x="585" y="404" class="label-small">ENABLE signal</text>
<line x1="535" y1="420" x2="575" y2="420" class="wire wire-gnd"/>
<text x="585" y="424" class="label-small">GND (common)</text>
</g>
<!-- Heater/Sensor wiring -->
<g id="heater-wiring">
<text x="520" y="470" class="label-title">HEATER &amp; SENSOR WIRING</text>
<rect x="520" y="480" width="350" height="150" fill="#1a1a2e" stroke="#4a4a6a" rx="5"/>
<text x="535" y="505" class="label-small">THERMISTORS (2-wire, not polarized):</text>
<text x="545" y="520" class="label-small">T0 (PF4) ← Extruder 0 thermistor</text>
<text x="545" y="535" class="label-small">T1 (PF5) ← Extruder 1 thermistor</text>
<text x="545" y="550" class="label-small">T2 (PF6) ← Chamber thermistor</text>
<text x="545" y="565" class="label-small">TB (PF3) ← Bed thermistor</text>
<text x="535" y="590" class="label-small">HEATERS:</text>
<text x="545" y="605" class="label-small">HE0 (PA2) → Hotend 0 HE2 (PB10) → Chamber</text>
<text x="545" y="620" class="label-small">HE1 (PA3) → Hotend 1 HB (PA1) → Bed</text>
</g>
<!-- Endstop wiring -->
<g id="endstop-wiring">
<text x="520" y="660" class="label-title">ENDSTOP WIRING</text>
<rect x="520" y="670" width="350" height="110" fill="#1a1a2e" stroke="#4a4a6a" rx="5"/>
<text x="535" y="695" class="label-small">ENDSTOP PIN ASSIGNMENTS:</text>
<text x="545" y="710" class="label-small">DIAG0 (PG6) → X min DIAG3 (PG11) → Y1</text>
<text x="545" y="725" class="label-small">DIAG1 (PG9) → X2/IDEX DIAG4 (PG12) → Z min</text>
<text x="545" y="740" class="label-small">DIAG2 (PG10) → Y min DIAG5 (PG13) → Z1</text>
<text x="545" y="760" class="label-small">PROBE (PG15) → Bed probe (with pull-up: ^PG15)</text>
</g>
<!-- DIP Switch settings -->
<g id="dip-switches">
<text x="900" y="330" class="label-title">DM542T DIP SWITCHES</text>
<rect x="890" y="340" width="280" height="130" fill="#1a1a2e" stroke="#4a4a6a" rx="5"/>
<text x="910" y="365" class="label-small">MICROSTEPPING (SW5-SW8):</text>
<text x="910" y="385" class="label-small">X,X2,Y,Y1,E0,E1: 16 µsteps</text>
<text x="910" y="400" class="label-small"> → SW5=OFF, SW6=ON, SW7=ON, SW8=OFF</text>
<text x="910" y="420" class="label-small">Z, Z1: 4 µsteps</text>
<text x="910" y="435" class="label-small"> → SW5=ON, SW6=ON, SW7=OFF, SW8=OFF</text>
<text x="910" y="460" class="label-small">CURRENT (SW1-SW3): Set per motor specs</text>
</g>
<!-- System diagram -->
<g id="system-overview">
<text x="1040" y="510" text-anchor="middle" class="label-title">SYSTEM OVERVIEW</text>
<!-- Pi -->
<rect x="970" y="530" width="140" height="50" fill="#3d5a3d" stroke="#5a8a5a" rx="5"/>
<text x="1040" y="555" text-anchor="middle" class="label">Raspberry Pi</text>
<text x="1040" y="570" text-anchor="middle" class="label-small">FluiddPi</text>
<!-- Arrow -->
<text x="1040" y="600" text-anchor="middle" class="label-small">USB ↓</text>
<!-- Octopus -->
<rect x="970" y="610" width="140" height="50" fill="#3d3d5a" stroke="#5a5a8a" rx="5"/>
<text x="1040" y="635" text-anchor="middle" class="label">Octopus Pro</text>
<text x="1040" y="650" text-anchor="middle" class="label-small">Klipper MCU</text>
<!-- Arrow -->
<text x="1040" y="680" text-anchor="middle" class="label-small">Step/Dir/En ↓</text>
<!-- Drivers -->
<rect x="970" y="690" width="140" height="50" fill="#5a3d3d" stroke="#8a5a5a" rx="5"/>
<text x="1040" y="715" text-anchor="middle" class="label">DM542T x8</text>
<text x="1040" y="730" text-anchor="middle" class="label-small">External Drivers</text>
<!-- Arrow -->
<text x="1040" y="760" text-anchor="middle" class="label-small">4-wire ↓</text>
<!-- Motors -->
<rect x="970" y="770" width="140" height="50" fill="#5a5a3d" stroke="#8a8a5a" rx="5"/>
<text x="1040" y="795" text-anchor="middle" class="label">Stepper Motors</text>
<text x="1040" y="810" text-anchor="middle" class="label-small">NEMA 17/23</text>
</g>
<!-- Notes -->
<text x="520" y="810" class="note">Note: All GND connections can share a common ground wire daisy-chained between drivers.</text>
<text x="520" y="825" class="note">Ensure adequate wire gauge for motor power (14-16 AWG for power, 22-24 AWG for signals).</text>
<!-- Footer -->
<text x="600" y="880" text-anchor="middle" class="label-small">AON3D M2+ BTT Octopus Pro Conversion - Wiring Diagram v1.0</text>
</svg>

After

Width:  |  Height:  |  Size: 19 KiB

142
docs/swap-checklist.md Normal file
View File

@@ -0,0 +1,142 @@
# AON3D M2+ Controller Swap Checklist
## Azteeg X3 → BTT Octopus Pro v1.0.1
Since your DM542T drivers are already wired to the motors, you only need to move the **signal wires** from the Azteeg to the Octopus Pro.
---
## BEFORE YOU START
- [ ] Power OFF everything
- [ ] Take photos of current Azteeg wiring for reference
- [ ] Label wires if not already labeled
---
## 1. MOTOR SIGNAL WIRES (Step/Dir/Enable from DM542T)
Move the signal cables from each DM542T driver to the Octopus Pro motor headers.
**Wiring per DM542T → Octopus:**
```
DM542T Octopus MOTOR Header
────── ────────────────────
PUL+ ─────────► Pin 2 (STEP)
DIR+ ─────────► Pin 3 (DIR)
ENA+ ─────────► Pin 4 (EN)
PUL-/DIR-/ENA- ► Pin 1 (GND) - can share one GND wire
```
| DM542T Driver | From Azteeg | To Octopus Header |
|---------------|-------------|-------------------|
| X motor | Azteeg X | **MOTOR0** | ☐ |
| X2 motor (IDEX) | Azteeg ? | **MOTOR1** | ☐ |
| Y motor | Azteeg Y | **MOTOR2** | ☐ |
| Y1 motor | Azteeg ? | **MOTOR3** | ☐ |
| Z motor | Azteeg Z | **MOTOR4** | ☐ |
| Z1 motor | Azteeg ? | **MOTOR5** | ☐ |
| Extruder 0 | Azteeg E0 | **MOTOR6** | ☐ |
| Extruder 1 | Azteeg E1 | **MOTOR7** | ☐ |
---
## 2. ENDSTOPS
Move endstop connectors from Azteeg to Octopus DIAG headers.
| Endstop | To Octopus Header | Done |
|---------|-------------------|------|
| X min | **DIAG0** (PG6) | ☐ |
| X2 / IDEX | **DIAG1** (PG9) | ☐ |
| Y min | **DIAG2** (PG10) | ☐ |
| Y1 (if used) | **DIAG3** (PG11) | ☐ |
| Z min | **DIAG4** (PG12) | ☐ |
| Z1 (if used) | **DIAG5** (PG13) | ☐ |
---
## 3. THERMISTORS
Move thermistor connectors from Azteeg to Octopus.
| Thermistor | To Octopus Header | Done |
|------------|-------------------|------|
| Extruder 0 | **T0** (PF4) | ☐ |
| Extruder 1 | **T1** (PF5) | ☐ |
| Chamber | **T2** (PF6) | ☐ |
| Bed | **TB** (PF3) | ☐ |
---
## 4. HEATERS
Move heater wires from Azteeg to Octopus.
| Heater | To Octopus Header | Done |
|--------|-------------------|------|
| Hotend 0 | **HE0** (PA2) | ☐ |
| Hotend 1 | **HE1** (PA3) | ☐ |
| Chamber | **HE2** (PB10) | ☐ |
| Bed | **HB** (PA1) | ☐ |
---
## 5. FANS
| Fan | To Octopus Header | Done |
|-----|-------------------|------|
| Enclosure fan | **FAN2** (PD12) | ☐ |
| Others (if any) | FAN0-5 as needed | ☐ |
---
## 6. PROBE
| Component | To Octopus Header | Done |
|-----------|-------------------|------|
| Probe | **PROBE** (PG15) | ☐ |
---
## 7. POWER & COMMUNICATION
| Connection | Done |
|------------|------|
| 24V power to Octopus VIN (+/-) | ☐ |
| USB cable to Raspberry Pi | ☐ |
---
## 8. FINAL CHECKS
- [ ] All connections secure
- [ ] No loose wires
- [ ] 24V polarity correct
- [ ] USB connected to Pi
---
## 9. POWER ON SEQUENCE
1. [ ] Power on Raspberry Pi first
2. [ ] SSH in: `ssh pi@192.168.86.20`
3. [ ] Power on 24V to printer
4. [ ] Check serial: `ls /dev/serial/by-id/*`
5. [ ] Copy the serial ID
6. [ ] Update printer.cfg with serial ID
7. [ ] Copy configs to Pi
8. [ ] Restart Klipper
---
## QUICK PIN REFERENCE
```
MOTOR0 → X MOTOR4 → Z HE0 → Hotend 0 T0 → Extruder 0 temp
MOTOR1 → X2 MOTOR5 → Z1 HE1 → Hotend 1 T1 → Extruder 1 temp
MOTOR2 → Y MOTOR6 → E0 HE2 → Chamber T2 → Chamber temp
MOTOR3 → Y1 MOTOR7 → E1 HB → Bed TB → Bed temp
DIAG0 → X min DIAG2 → Y min DIAG4 → Z min PROBE → Bed probe
DIAG1 → X2 DIAG3 → Y1 DIAG5 → Z1 FAN2 → Enclosure
```

336
docs/wiring-checklist.md Normal file
View File

@@ -0,0 +1,336 @@
# AON3D M2+ Wiring Checklist
## BTT Octopus Pro v1.0.1
Print this checklist and mark each connection as you complete it.
---
## PRE-WIRING CHECKS
- [ ] Power supply OFF
- [ ] All components laid out and identified
- [ ] Wire labels/markers ready
- [ ] Multimeter available for testing
- [ ] Correct wire gauges prepared:
- [ ] 14-16 AWG for power
- [ ] 22-24 AWG for signals
---
## 1. POWER CONNECTIONS
### Main Power
| Connection | From | To | Done |
|------------|------|-----|------|
| 24V+ | PSU +24V | Octopus VIN+ | ☐ |
| 24V- | PSU GND | Octopus VIN- | ☐ |
### DM542T Driver Power (all 8 drivers)
| Driver | V+ Connected | V- Connected |
|--------|--------------|--------------|
| DM542T #1 (X) | ☐ | ☐ |
| DM542T #2 (X2) | ☐ | ☐ |
| DM542T #3 (Y) | ☐ | ☐ |
| DM542T #4 (Y1) | ☐ | ☐ |
| DM542T #5 (Z) | ☐ | ☐ |
| DM542T #6 (Z1) | ☐ | ☐ |
| DM542T #7 (E0) | ☐ | ☐ |
| DM542T #8 (E1) | ☐ | ☐ |
---
## 2. MOTOR SIGNAL CONNECTIONS
### MOTOR0 → DM542T #1 → X Axis Motor
| Signal | Octopus Pin | DM542T Terminal | Done |
|--------|-------------|-----------------|------|
| STEP | PF13 (pin 2) | PUL+ | ☐ |
| DIR | PF12 (pin 3) | DIR+ | ☐ |
| EN | PF14 (pin 4) | ENA+ | ☐ |
| GND | GND (pin 1) | PUL-, DIR-, ENA- | ☐ |
Motor wires to DM542T:
- [ ] A+ connected
- [ ] A- connected
- [ ] B+ connected
- [ ] B- connected
---
### MOTOR1 → DM542T #2 → X2 (Dual Carriage) Motor
| Signal | Octopus Pin | DM542T Terminal | Done |
|--------|-------------|-----------------|------|
| STEP | PG0 (pin 2) | PUL+ | ☐ |
| DIR | PG1 (pin 3) | DIR+ | ☐ |
| EN | PF15 (pin 4) | ENA+ | ☐ |
| GND | GND (pin 1) | PUL-, DIR-, ENA- | ☐ |
Motor wires to DM542T:
- [ ] A+ connected
- [ ] A- connected
- [ ] B+ connected
- [ ] B- connected
---
### MOTOR2 → DM542T #3 → Y Axis Motor
| Signal | Octopus Pin | DM542T Terminal | Done |
|--------|-------------|-----------------|------|
| STEP | PF11 (pin 2) | PUL+ | ☐ |
| DIR | PG3 (pin 3) | DIR+ | ☐ |
| EN | PG5 (pin 4) | ENA+ | ☐ |
| GND | GND (pin 1) | PUL-, DIR-, ENA- | ☐ |
Motor wires to DM542T:
- [ ] A+ connected
- [ ] A- connected
- [ ] B+ connected
- [ ] B- connected
---
### MOTOR3 → DM542T #4 → Y1 Axis Motor
| Signal | Octopus Pin | DM542T Terminal | Done |
|--------|-------------|-----------------|------|
| STEP | PG4 (pin 2) | PUL+ | ☐ |
| DIR | PC1 (pin 3) | DIR+ | ☐ |
| EN | PA0 (pin 4) | ENA+ | ☐ |
| GND | GND (pin 1) | PUL-, DIR-, ENA- | ☐ |
Motor wires to DM542T:
- [ ] A+ connected
- [ ] A- connected
- [ ] B+ connected
- [ ] B- connected
---
### MOTOR4 → DM542T #5 → Z Axis Motor
| Signal | Octopus Pin | DM542T Terminal | Done |
|--------|-------------|-----------------|------|
| STEP | PF9 (pin 2) | PUL+ | ☐ |
| DIR | PF10 (pin 3) | DIR+ | ☐ |
| EN | PG2 (pin 4) | ENA+ | ☐ |
| GND | GND (pin 1) | PUL-, DIR-, ENA- | ☐ |
Motor wires to DM542T:
- [ ] A+ connected
- [ ] A- connected
- [ ] B+ connected
- [ ] B- connected
---
### MOTOR5 → DM542T #6 → Z1 Axis Motor
| Signal | Octopus Pin | DM542T Terminal | Done |
|--------|-------------|-----------------|------|
| STEP | PC13 (pin 2) | PUL+ | ☐ |
| DIR | PF0 (pin 3) | DIR+ | ☐ |
| EN | PF1 (pin 4) | ENA+ | ☐ |
| GND | GND (pin 1) | PUL-, DIR-, ENA- | ☐ |
Motor wires to DM542T:
- [ ] A+ connected
- [ ] A- connected
- [ ] B+ connected
- [ ] B- connected
---
### MOTOR6 → DM542T #7 → Extruder 0 Motor
| Signal | Octopus Pin | DM542T Terminal | Done |
|--------|-------------|-----------------|------|
| STEP | PE2 (pin 2) | PUL+ | ☐ |
| DIR | PE3 (pin 3) | DIR+ | ☐ |
| EN | PD4 (pin 4) | ENA+ | ☐ |
| GND | GND (pin 1) | PUL-, DIR-, ENA- | ☐ |
Motor wires to DM542T:
- [ ] A+ connected
- [ ] A- connected
- [ ] B+ connected
- [ ] B- connected
---
### MOTOR7 → DM542T #8 → Extruder 1 Motor
| Signal | Octopus Pin | DM542T Terminal | Done |
|--------|-------------|-----------------|------|
| STEP | PE6 (pin 2) | PUL+ | ☐ |
| DIR | PA14 (pin 3) | DIR+ | ☐ |
| EN | PE0 (pin 4) | ENA+ | ☐ |
| GND | GND (pin 1) | PUL-, DIR-, ENA- | ☐ |
Motor wires to DM542T:
- [ ] A+ connected
- [ ] A- connected
- [ ] B+ connected
- [ ] B- connected
---
## 3. DM542T DIP SWITCH SETTINGS
| Driver | Axis | Microsteps | SW5 | SW6 | SW7 | SW8 | Set |
|--------|------|------------|-----|-----|-----|-----|-----|
| #1 | X | 16 | OFF | ON | ON | OFF | ☐ |
| #2 | X2 | 16 | OFF | ON | ON | OFF | ☐ |
| #3 | Y | 16 | OFF | ON | ON | OFF | ☐ |
| #4 | Y1 | 16 | OFF | ON | ON | OFF | ☐ |
| #5 | Z | 4 | ON | ON | OFF | OFF | ☐ |
| #6 | Z1 | 4 | ON | ON | OFF | OFF | ☐ |
| #7 | E0 | 16 | OFF | ON | ON | OFF | ☐ |
| #8 | E1 | 16 | OFF | ON | ON | OFF | ☐ |
Current settings (SW1-SW3): Set per your motor specifications
- [ ] All current settings configured
---
## 4. ENDSTOP CONNECTIONS
| Endstop | Octopus Header | Pin | Signal Wire | GND Wire |
|---------|----------------|-----|-------------|----------|
| X Min | DIAG0 | PG6 | ☐ | ☐ |
| X2 (IDEX) | DIAG1 | PG9 | ☐ | ☐ |
| Y Min | DIAG2 | PG10 | ☐ | ☐ |
| Y1 (opt) | DIAG3 | PG11 | ☐ | ☐ |
| Z Min | DIAG4 | PG12 | ☐ | ☐ |
| Z1 (opt) | DIAG5 | PG13 | ☐ | ☐ |
---
## 5. PROBE CONNECTION
| Component | Octopus Header | Connection | Done |
|-----------|----------------|------------|------|
| Probe Signal | PROBE | S pin | ☐ |
| Probe GND | PROBE | G pin | ☐ |
| Probe VCC (if needed) | PROBE | V pin | ☐ |
---
## 6. THERMISTOR CONNECTIONS
| Thermistor | Octopus Header | Pin | Wire 1 | Wire 2 |
|------------|----------------|-----|--------|--------|
| Extruder 0 | T0 | PF4 | ☐ | ☐ |
| Extruder 1 | T1 | PF5 | ☐ | ☐ |
| Chamber | T2 | PF6 | ☐ | ☐ |
| Bed | TB | PF3 | ☐ | ☐ |
---
## 7. HEATER CONNECTIONS
| Heater | Octopus Header | Pin | + Wire | - Wire |
|--------|----------------|-----|--------|--------|
| Hotend 0 | HE0 | PA2 | ☐ | ☐ |
| Hotend 1 | HE1 | PA3 | ☐ | ☐ |
| Chamber | HE2 | PB10 | ☐ | ☐ |
| Bed | HB | PA1 | ☐ | ☐ |
**Note for Bed**: If using SSR, connect SSR control to HB output
- [ ] SSR used (if applicable)
- [ ] SSR control wiring correct
- [ ] SSR load wiring correct
---
## 8. FAN CONNECTIONS
| Fan | Octopus Header | Pin | + Wire | - Wire |
|-----|----------------|-----|--------|--------|
| Enclosure Fan | FAN2 | PD12 | ☐ | ☐ |
| Part Cooling 0 (opt) | FAN0 | PA8 | ☐ | ☐ |
| Part Cooling 1 (opt) | FAN1 | PE5 | ☐ | ☐ |
| Hotend Fan 0 (opt) | FAN3 | PD13 | ☐ | ☐ |
| Hotend Fan 1 (opt) | FAN4 | PE4 | ☐ | ☐ |
---
## 9. COMMUNICATION
| Connection | Done |
|------------|------|
| USB cable from Octopus to Raspberry Pi | ☐ |
---
## 10. PRE-POWER-ON VERIFICATION
### Visual Inspection
- [ ] No exposed wire strands touching other terminals
- [ ] All screw terminals tight
- [ ] No pinched wires
- [ ] Polarity correct on all power connections
### Multimeter Checks
- [ ] No short between 24V+ and GND on Octopus
- [ ] No short between V+ and V- on any DM542T
- [ ] Continuity on all signal wires (disconnected from board)
---
## 11. FIRST POWER-ON SEQUENCE
### Step 1: Octopus Pro Only (no motor power)
- [ ] Connect USB to Pi
- [ ] Power on 24V supply to Octopus
- [ ] Octopus LEDs illuminate
- [ ] No smoke or burning smell
- [ ] Run `ls /dev/serial/by-id/*` on Pi - device appears
### Step 2: Flash Klipper Firmware
- [ ] Build Klipper for STM32F446
- [ ] Copy firmware.bin to SD card
- [ ] Flash Octopus Pro
- [ ] Verify serial device still present
### Step 3: Start Klipper
- [ ] Copy printer.cfg and macros.cfg to Pi
- [ ] Update serial port in printer.cfg
- [ ] Start/restart Klipper
- [ ] No errors in Klipper log
- [ ] Fluidd connects successfully
### Step 4: Test Without Motor Power
- [ ] `QUERY_ENDSTOPS` - all show correct state
- [ ] Temperature readings appear (room temp)
- [ ] No heater errors
### Step 5: Motor Power On
- [ ] Power on DM542T power supply
- [ ] All DM542T LEDs illuminate
- [ ] Test single axis movement at low speed
- [ ] Verify direction (invert DIR pin if wrong)
### Step 6: Full System Test
- [ ] All axes move correctly
- [ ] Both extruders work
- [ ] Homing works on all axes
- [ ] IDEX tool change (T0/T1) works
- [ ] Heaters respond (test at low temp first)
- [ ] Fans operate
---
## NOTES
_Use this space for any notes during wiring:_
```
```
---
## COMPLETION
- [ ] All connections verified
- [ ] System tested and operational
- [ ] Date completed: _______________
- [ ] Signed off by: _______________

534
docs/wiring-instructions.md Normal file
View File

@@ -0,0 +1,534 @@
# AON3D M2+ Wiring Instructions
## BTT Octopus Pro v1.0.1 with External DM542T Drivers
---
## Overview
This guide covers wiring your AON3D M2+ IDEX printer with:
- **Controller**: BTT Octopus Pro v1.0.1
- **Stepper Drivers**: External DM542T (8 units)
- **Host**: Raspberry Pi 4/5 running FluiddPi
### Total Connections Required
| Category | Count | Items |
|----------|-------|-------|
| Motor Drivers | 8 | X, X2, Y, Y1, Z, Z1, E0, E1 |
| Endstops | 4-6 | X-min, X-max, Y-min, (Y-max), Z-min, (Z-max) |
| Thermistors | 4 | Extruder 0, Extruder 1, Bed, Chamber |
| Heaters | 4 | Extruder 0, Extruder 1, Bed, Chamber |
| Fans | 1+ | Enclosure fan (+ optional part cooling) |
| Probe | 1 | Bed probe |
| Power | 2 | 24V main, USB to Pi |
---
## PART 1: Power Supply Connections
### 1.1 Main Power Input (24V DC)
Connect your 24V power supply to the Octopus Pro:
```
Power Supply Octopus Pro
============ ===========
+24V ─────────────────────► VIN (+)
GND ─────────────────────► VIN (-)
```
**Location**: Large screw terminals on the edge of the board labeled "POWER" or "VIN"
**Wire Gauge**: Use 14-16 AWG for main power
### 1.2 DM542T Driver Power
Each DM542T driver needs its own power connection (typically 24-48V DC):
```
Power Supply DM542T Driver
============ =============
+24V to +48V ─────────────► V+ (or VCC)
GND ──────────────────────► V- (or GND)
```
**Important**:
- All DM542T drivers can share the same power supply
- Use appropriately rated power supply (calculate total motor current)
- Typical: 48V power supply for better high-speed performance
---
## PART 2: Stepper Motor Connections (DM542T Drivers)
### 2.1 Understanding the Signal Flow
```
┌─────────────┐ Step/Dir/Enable ┌─────────────┐ 4-wire ┌─────────────┐
│ Octopus │ ───────────────────────►│ DM542T │───────────────►│ Stepper │
│ Pro │ (low current) │ Driver │ (high current)│ Motor │
└─────────────┘ └─────────────┘ └─────────────┘
```
### 2.2 Octopus Pro Motor Header Pinout
Each MOTOR header on the Octopus Pro has this pinout:
```
┌───┬───┬───┬───┐
│ 1 │ 2 │ 3 │ 4 │
└───┴───┴───┴───┘
│ │ │ │
│ │ │ └── EN (Enable)
│ │ └────── DIR (Direction)
│ └────────── STEP (Step pulse)
└────────────── GND (Ground)
```
### 2.3 Motor-to-Driver Assignments
| Octopus Header | Klipper Section | Function | STEP | DIR | EN |
|----------------|-----------------|----------|------|-----|-----|
| MOTOR0 | [stepper_x] | X Carriage 0 | PF13 | PF12 | PF14 |
| MOTOR1 | [dual_carriage] | X Carriage 1 (IDEX) | PG0 | PG1 | PF15 |
| MOTOR2 | [stepper_y] | Y Axis | PF11 | PG3 | PG5 |
| MOTOR3 | [stepper_y1] | Y1 Axis (2nd motor) | PG4 | PC1 | PA0 |
| MOTOR4 | [stepper_z] | Z Axis | PF9 | PF10 | PG2 |
| MOTOR5 | [stepper_z1] | Z1 Axis (2nd motor) | PC13 | PF0 | PF1 |
| MOTOR6 | [extruder] | Extruder 0 | PE2 | PE3 | PD4 |
| MOTOR7 | [extruder1] | Extruder 1 | PE6 | PA14 | PE0 |
### 2.4 Wiring Each DM542T Driver
For **EACH** of the 8 motor drivers, make these connections:
```
Octopus Pro MOTOR Header DM542T Driver
============================ =============
Pin 1 (GND) ──────────────────────► PUL- (Pulse negative)
├───► DIR- (Direction negative)
└───► ENA- (Enable negative)
Pin 2 (STEP) ─────────────────────► PUL+ (Pulse positive)
Pin 3 (DIR) ──────────────────────► DIR+ (Direction positive)
Pin 4 (EN) ───────────────────────► ENA+ (Enable positive)
```
**Visual Diagram**:
```
Octopus MOTOR0 DM542T #1 (X Axis)
┌─────────────┐ ┌─────────────────┐
│ GND ●──────┼────────┬───────────────►│ PUL- │
│ STEP ●──────┼────────┼───────────────►│ PUL+ │
│ DIR ●──────┼────────┼───────────────►│ DIR+ │
│ EN ●──────┼────────┼───────────────►│ ENA+ │
└─────────────┘ │ ┌┤ DIR- │
├───────────────►│ ENA- │
│ │ │
│ │ A+ ●───────────┼──► Motor Coil A+
│ │ A- ●───────────┼──► Motor Coil A-
│ │ B+ ●───────────┼──► Motor Coil B+
│ │ B- ●───────────┼──► Motor Coil B-
│ │ │
│ │ V+ ●───────────┼──► +24-48V
│ │ V- ●───────────┼──► GND (Power)
│ └─────────────────┘
└─── Common GND (can use single wire daisy-chained
or individual wires to each driver)
```
### 2.5 Repeat for All 8 Drivers
| # | Octopus Header | DM542T Label | Motor |
|---|----------------|--------------|-------|
| 1 | MOTOR0 | DM542T-X | X Carriage 0 |
| 2 | MOTOR1 | DM542T-X2 | X Carriage 1 |
| 3 | MOTOR2 | DM542T-Y | Y Motor |
| 4 | MOTOR3 | DM542T-Y1 | Y1 Motor |
| 5 | MOTOR4 | DM542T-Z | Z Motor |
| 6 | MOTOR5 | DM542T-Z1 | Z1 Motor |
| 7 | MOTOR6 | DM542T-E0 | Extruder 0 |
| 8 | MOTOR7 | DM542T-E1 | Extruder 1 |
### 2.6 DM542T DIP Switch Settings
Set the DIP switches on each DM542T to match the Klipper config:
**Microstepping** (SW5-SW8):
| Axis | Microsteps | SW5 | SW6 | SW7 | SW8 |
|------|------------|-----|-----|-----|-----|
| X, X2, Y, Y1 | 16 | OFF | ON | ON | OFF |
| Z, Z1 | 4 | ON | ON | OFF | OFF |
| E0, E1 | 16 | OFF | ON | ON | OFF |
**Current Settings** (SW1-SW3): Set according to your motor specs. Typical settings:
- NEMA 23 motors: 2.0-3.0A
- NEMA 17 extruders: 1.0-1.5A
---
## PART 3: Endstop Connections
### 3.1 Endstop Pinout on Octopus Pro
The DIAG/Endstop headers are 3-pin connectors:
```
┌───┬───┬───┐
│ S │ V │ G │
└───┴───┴───┘
│ │ │
│ │ └── GND (Ground)
│ └────── +5V (for powered sensors, optional)
└────────── Signal
```
### 3.2 Endstop Assignments
| Endstop | Function | Octopus Header | Pin | Config |
|---------|----------|----------------|-----|--------|
| X Min | Home position Carriage 0 | DIAG0 | PG6 | `endstop_pin: PG6` |
| X Max | Home position Carriage 1 | DIAG1 | PG9 | `endstop_pin: PG9` |
| Y Min | Y home position | DIAG2 | PG10 | `endstop_pin: PG10` |
| Y1 | Y1 endstop (optional) | DIAG3 | PG11 | `endstop_pin: PG11` |
| Z Min | Z home position | DIAG4 | PG12 | `endstop_pin: PG12` |
| Z1 | Z1 endstop (optional) | DIAG5 | PG13 | `endstop_pin: PG13` |
### 3.3 Wiring Mechanical Endstops
**Normally Open (NO) Switch** - most common:
```
Endstop Switch Octopus Pro DIAG Header
============== =======================
COM ──────────────────────► G (Ground)
NO ──────────────────────► S (Signal)
```
Config: `endstop_pin: PG6`
**Normally Closed (NC) Switch** - add `!` to invert:
```
Endstop Switch Octopus Pro DIAG Header
============== =======================
COM ──────────────────────► G (Ground)
NC ──────────────────────► S (Signal)
```
Config: `endstop_pin: !PG6`
### 3.4 Wiring Optical/Inductive Sensors (3-wire)
```
Sensor Octopus Pro DIAG Header
====== =======================
VCC (Brown/Red) ──────────► V (+5V)
GND (Blue/Black) ─────────► G (Ground)
Signal (Black/Yellow) ────► S (Signal)
```
---
## PART 4: Thermistor Connections
### 4.1 Thermistor Header Pinout
```
┌───┬───┐
│ T │ G │
└───┴───┘
│ │
│ └── GND (Ground)
└────── Thermistor Signal
```
### 4.2 Thermistor Assignments
| Sensor | Function | Octopus Header | Pin |
|--------|----------|----------------|-----|
| TH0 | Extruder 0 temperature | T0 | PF4 |
| TH1 | Extruder 1 temperature | T1 | PF5 |
| TH2 | Chamber temperature | T2 | PF6 |
| TB | Bed temperature | TB | PF3 |
### 4.3 Wiring Thermistors
Thermistors are not polarized - either wire can go to either terminal:
```
Thermistor (2-wire) Octopus Pro TH Header
=================== =====================
Wire 1 ───────────────────► T (Signal)
Wire 2 ───────────────────► G (Ground)
```
**Important**: Your M2 uses custom thermistors with voltage-based calibration. The config already includes the correct `adc_temperature` definitions.
---
## PART 5: Heater Connections
### 5.1 Heater Output Specifications
| Output | Function | Pin | Max Current | Connector |
|--------|----------|-----|-------------|-----------|
| HE0 | Hotend 0 | PA2 | 5A | Screw terminal |
| HE1 | Hotend 1 | PA3 | 5A | Screw terminal |
| HE2 | Chamber heater | PB10 | 5A | Screw terminal |
| HB | Heated bed | PA1 | 10A | Large screw terminal |
### 5.2 Wiring Hotend Heaters (HE0, HE1)
```
Heater Cartridge Octopus Pro HE0/HE1
================ ===================
Wire 1 ───────────────────► + (Positive terminal)
Wire 2 ───────────────────► - (Negative terminal)
```
**Note**: Standard heater cartridges are not polarized.
### 5.3 Wiring Chamber Heater (HE2)
Same as hotend heaters:
```
Chamber Heater Octopus Pro HE2
============== ===============
Wire 1 ───────────────────► +
Wire 2 ───────────────────► -
```
### 5.4 Wiring Heated Bed (HB)
**For beds drawing less than 10A** - connect directly:
```
Heated Bed Octopus Pro HB
========== ==============
Wire 1 ───────────────────► + (Positive)
Wire 2 ───────────────────► - (Negative)
```
**For high-power beds (>10A)** - use SSR (Solid State Relay):
```
Octopus Pro HB SSR Heated Bed
============== === ==========
+ ────────────────────────► DC+ (Control)
- ────────────────────────► DC- (Control)
AC/DC+ (Load) ────────► Bed +
AC/DC- (Load) ◄────────┤
Power Supply (+) ──────────────────────────────────┘
Power Supply (-) ─────────────────────────────────► Bed -
```
---
## PART 6: Fan Connections
### 6.1 Fan Header Pinout
```
┌───┬───┐
│ + │ - │
└───┴───┘
│ │
│ └── GND (Negative)
└────── +24V PWM (Positive, controlled)
```
### 6.2 Fan Assignments
| Fan | Function | Pin | Header |
|-----|----------|-----|--------|
| FAN0 | Part cooling 0 (optional) | PA8 | FAN0 |
| FAN1 | Part cooling 1 (optional) | PE5 | FAN1 |
| FAN2 | Enclosure/Chamber fan | PD12 | FAN2 |
| FAN3 | Hotend fan 0 (optional) | PD13 | FAN3 |
| FAN4 | Hotend fan 1 (optional) | PE4 | FAN4 |
### 6.3 Wiring Fans
```
Fan (2-wire) Octopus Pro FAN Header
============ ======================
+ (Red) ──────────────────► + (Positive/PWM)
- (Black) ────────────────► - (Ground)
```
**Enclosure Fan** (configured in Klipper):
- Connected to FAN2
- Controlled by chamber heater temperature
---
## PART 7: Probe Connection
### 7.1 Probe Wiring
Your probe connects to the dedicated PROBE header:
**For mechanical probe (2-wire)**:
```
Probe Switch Octopus Pro PROBE
============ =================
COM ──────────────────────► G (Ground)
NO/NC ────────────────────► S (Signal)
```
**For inductive/capacitive probe (3-wire)**:
```
Probe Sensor Octopus Pro PROBE
============ =================
VCC ──────────────────────► V (+5V or +24V depending on sensor)
GND ──────────────────────► G (Ground)
Signal ───────────────────► S (Signal)
```
Config: `pin: ^PG15` (the `^` enables internal pull-up)
---
## PART 8: Communication Connections
### 8.1 USB to Raspberry Pi
Connect the Octopus Pro to your Raspberry Pi via USB:
```
Octopus Pro Raspberry Pi
=========== ============
USB-C port ◄───────────────► USB port (any)
```
Use a quality USB cable - data + power capable.
### 8.2 Finding the Serial Port
After connecting, run on the Pi:
```bash
ls /dev/serial/by-id/*
```
You should see something like:
```
/dev/serial/by-id/usb-Klipper_stm32f446xx_XXXXXXXXXX-if00
```
Update `printer.cfg` with this path.
---
## PART 9: Complete Wiring Checklist
### Power
- [ ] 24V power supply connected to Octopus Pro VIN
- [ ] 24-48V power supply connected to all DM542T drivers
- [ ] USB cable from Octopus Pro to Raspberry Pi
### Motors (8 total)
- [ ] MOTOR0 → DM542T → X motor (Carriage 0)
- [ ] MOTOR1 → DM542T → X2 motor (Carriage 1/IDEX)
- [ ] MOTOR2 → DM542T → Y motor
- [ ] MOTOR3 → DM542T → Y1 motor
- [ ] MOTOR4 → DM542T → Z motor
- [ ] MOTOR5 → DM542T → Z1 motor
- [ ] MOTOR6 → DM542T → Extruder 0 motor
- [ ] MOTOR7 → DM542T → Extruder 1 motor
### Endstops
- [ ] X endstop → DIAG0
- [ ] X2/Dual carriage endstop → DIAG1
- [ ] Y endstop → DIAG2
- [ ] Y1 endstop → DIAG3 (if used)
- [ ] Z endstop → DIAG4
- [ ] Z1 endstop → DIAG5 (if used)
### Thermistors
- [ ] Extruder 0 thermistor → T0
- [ ] Extruder 1 thermistor → T1
- [ ] Chamber thermistor → T2
- [ ] Bed thermistor → TB
### Heaters
- [ ] Extruder 0 heater → HE0
- [ ] Extruder 1 heater → HE1
- [ ] Chamber heater → HE2
- [ ] Heated bed → HB (or via SSR)
### Fans
- [ ] Enclosure fan → FAN2
### Probe
- [ ] Bed probe → PROBE header
---
## PART 10: First Power-On Procedure
### Before Applying Power
1. Double-check all wiring against this guide
2. Verify no short circuits (use multimeter)
3. Ensure DM542T DIP switches are set correctly
4. Confirm power supply voltages are correct
### Power-On Sequence
1. **DO NOT** connect motors yet (just signals)
2. Power on the Octopus Pro only
3. Verify it appears on USB (`ls /dev/serial/by-id/`)
4. Flash Klipper firmware (see below)
5. Start Klipper and check for errors
6. Test endstops: `QUERY_ENDSTOPS`
7. Test thermistors: check temperatures in Fluidd
8. **Then** connect motor power and test movement
### Flashing Klipper Firmware
```bash
cd ~/klipper
make menuconfig
```
Settings for Octopus Pro v1.0.1:
- Micro-controller: **STMicroelectronics STM32**
- Processor model: **STM32F446**
- Bootloader offset: **32KiB bootloader**
- Clock Reference: **12 MHz crystal**
- Communication: **USB (on PA11/PA12)**
```bash
make clean
make
```
Copy `out/klipper.bin` to SD card as `firmware.bin`, insert into Octopus, power cycle.
---
## Troubleshooting
### Motor doesn't move
1. Check DM542T has power (LED on?)
2. Verify step/dir/enable wiring
3. Check DIP switch settings
4. Try inverting enable pin: `enable_pin: PF14``enable_pin: !PF14`
### Motor moves wrong direction
- Invert the DIR pin in config: `dir_pin: PF12``dir_pin: !PF12`
### Endstop always triggered or never triggers
- Check `QUERY_ENDSTOPS` output
- Try inverting: `endstop_pin: PG6``endstop_pin: !PG6`
- Verify wiring (NO vs NC switch)
### Thermistor shows wrong temperature
- Check wiring continuity
- Verify correct `sensor_type` in config
- The custom `adc_temperature` definitions should match your sensors
### Heater doesn't heat
- Check for "HEATER_ERROR" in Klipper logs
- Verify heater wiring
- Check thermistor is working (needs valid temp reading)

204
docs/wiring.md Normal file
View File

@@ -0,0 +1,204 @@
# AON3D M2+ Wiring Guide - BTT Octopus Pro v1.0.1
## Motor Driver Connections (External DM542T)
Since you're using external DM542T drivers, only **STEP**, **DIR**, and **ENABLE** signals are needed from the Octopus Pro. The drivers handle their own current and microstepping via DIP switches.
### Motor Pin Assignments
| Motor | Function | Octopus Header | STEP Pin | DIR Pin | ENABLE Pin |
|-------|----------|----------------|----------|---------|------------|
| MOTOR0 | X Axis (Carriage 0) | MOTOR0 | PF13 | PF12 | PF14 |
| MOTOR1 | X2 / Dual Carriage | MOTOR1 | PG0 | PG1 | PF15 |
| MOTOR2 | Y Axis | MOTOR2 | PF11 | PG3 | PG5 |
| MOTOR3 | Y1 Axis | MOTOR3 | PG4 | PC1 | PA0 |
| MOTOR4 | Z Axis | MOTOR4 | PF9 | PF10 | PG2 |
| MOTOR5 | Z1 Axis | MOTOR5 | PC13 | PF0 | PF1 |
| MOTOR6 | Extruder 0 | MOTOR6 | PE2 | PE3 | PD4 |
| MOTOR7 | Extruder 1 | MOTOR7 | PE6 | PA14 | PE0 |
### DM542T Wiring per Motor
```
Octopus Pro Motor Header DM542T Driver
======================== =============
STEP (pin 2) ───────────────► PUL+
GND (pin 1) ───────────────► PUL-
DIR (pin 3) ───────────────► DIR+
GND (pin 1) ───────────────► DIR-
EN (pin 4) ───────────────► ENA+
GND (pin 1) ───────────────► ENA-
```
**Note:** The Octopus Pro motor headers have a 4-pin connector:
- Pin 1: GND
- Pin 2: STEP
- Pin 3: DIR
- Pin 4: EN (active low)
---
## Endstop Connections
| Endstop | Function | Octopus Pin | Header |
|---------|----------|-------------|--------|
| DIAG0 | X Min (Carriage 0) | PG6 | DIAG0 |
| DIAG1 | X Max (Dual Carriage) | PG9 | DIAG1 |
| DIAG2 | Y Min | PG10 | DIAG2 |
| DIAG3 | Y1 (optional) | PG11 | DIAG3 |
| DIAG4 | Z Min | PG12 | DIAG4 |
| DIAG5 | Z1 (optional) | PG13 | DIAG5 |
| Probe | Bed probe | PG15 | PROBE |
### Endstop Wiring
```
Endstop Switch Octopus Pro
============== ===========
Signal ─────────────────► S (Signal)
GND ────────────────────► G (Ground)
(VCC optional) ─────────► V (+5V for powered sensors)
```
---
## Heater Connections
| Heater | Function | Octopus Pin | Header | Max Current |
|--------|----------|-------------|--------|-------------|
| HE0 | Extruder 0 Hotend | PA2 | HE0 | 5A |
| HE1 | Extruder 1 Hotend | PA3 | HE1 | 5A |
| HE2 | Chamber Heater | PB10 | HE2 | 5A |
| HB | Heated Bed | PA1 | HB | 10A (use SSR for high power beds) |
**Important:** For high-power heated beds (>10A), use a Solid State Relay (SSR) controlled by the HB output.
---
## Thermistor Connections
| Sensor | Function | Octopus Pin | Header |
|--------|----------|-------------|--------|
| T0 | Extruder 0 Temperature | PF4 | TH0 |
| T1 | Extruder 1 Temperature | PF5 | TH1 |
| T2 | Chamber Temperature | PF6 | TH2 |
| TB | Bed Temperature | PF3 | TB |
### Thermistor Wiring
```
Thermistor Octopus Pro
========== ===========
Wire 1 ─────────────────► T (Thermistor signal)
Wire 2 ─────────────────► G (Ground)
```
---
## Fan Connections
| Fan | Function | Octopus Pin | Header |
|-----|----------|-------------|--------|
| FAN0 | Part Cooling (optional) | PA8 | FAN0 |
| FAN1 | Part Cooling 2 (optional) | PE5 | FAN1 |
| FAN2 | Chamber/Enclosure Fan | PD12 | FAN2 |
| FAN3 | Hotend Fan 0 (optional) | PD13 | FAN3 |
| FAN4 | Hotend Fan 1 (optional) | PE4 | FAN4 |
---
## Power Connections
### Main Power Input
- **VIN**: 24V DC (or your system voltage)
- **GND**: Ground
### Motor Power
- The DM542T drivers have their own power input - connect them to your 24-48V power supply as per DM542T specifications.
---
## DM542T DIP Switch Settings
Set the DIP switches on your DM542T drivers to match the Klipper configuration:
### Microstepping (match `microsteps` in config)
| Microsteps | SW5 | SW6 | SW7 | SW8 |
|------------|-----|-----|-----|-----|
| 16 (X,Y,E) | OFF | ON | ON | OFF |
| 4 (Z axes) | ON | ON | OFF | OFF |
### Current Setting (adjust for your motors)
Refer to DM542T documentation for current settings based on your stepper motor specifications.
---
## Octopus Pro v1.0.1 Header Layout
```
┌─────────────────────────────────────────────────────────────┐
│ BTT OCTOPUS PRO v1.0.1 │
├─────────────────────────────────────────────────────────────┤
│ │
│ [MOTOR0] [MOTOR1] [MOTOR2] [MOTOR3] [MOTOR4] │
│ X X2 Y Y1 Z │
│ │
│ [MOTOR5] [MOTOR6] [MOTOR7] │
│ Z1 E0 E1 │
│ │
│ [HE0] [HE1] [HE2] [HB] ← Heater outputs │
│ │
│ [TH0] [TH1] [TH2] [TB] ← Thermistor inputs │
│ │
│ [FAN0-5] ← Fan outputs │
│ │
│ [DIAG0-7] ← Endstop/diagnostic inputs │
│ │
│ [PROBE] ← Probe input │
│ │
│ [USB] [POWER] │
│ │
└─────────────────────────────────────────────────────────────┘
```
---
## Flashing Klipper to Octopus Pro
1. SSH into your Raspberry Pi:
```bash
ssh pi@192.168.86.20
```
2. Build Klipper firmware:
```bash
cd ~/klipper
make menuconfig
```
3. Configure for Octopus Pro v1.0.1:
- Micro-controller: **STMicroelectronics STM32**
- Processor model: **STM32F446**
- Bootloader offset: **32KiB bootloader**
- Clock Reference: **12 MHz crystal**
- Communication interface: **USB (on PA11/PA12)**
4. Build:
```bash
make clean
make
```
5. Flash via SD card:
- Copy `out/klipper.bin` to SD card as `firmware.bin`
- Insert SD card into Octopus Pro
- Power cycle the board
6. Find the serial port:
```bash
ls /dev/serial/by-id/*
```
7. Update `printer.cfg` with the correct serial port.