Skip to content

Commit

Permalink
Update mainboard.md
Browse files Browse the repository at this point in the history
  • Loading branch information
1coderookie authored Mar 27, 2024
1 parent d53418c commit 7b4e1f7
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions docs/hardware/mainboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ However, there are a few things I'd like to point out.
Same with the *H-* wires - bundle them up and connect an individual *thicker* wire to them.
These two thicker wires now have to be connected to the according connector at the MKS board - I used 'HE0' = PE5 for that. Connect *H+* to *HE0+* and *H-* to *HE0-*.

3. **Wiring Up The Motors**
2. **Wiring Up The Motors**
At the mentioned pinout scheme for the K2 Pro/Plus/Max, the four motor pins are called A1, A2, B1, B2.
At the scheme of the MKS board though, they're called 1A, 1B, 2A, 2B.
So when assembling the connectors of the motor wiring, you have to make sure to connect it as shown in the following table.
Expand All @@ -326,7 +326,18 @@ However, there are a few things I'd like to point out.

*Don't connect A1 to 1A and then A2 to 2A - that won't work and will result in a non-functional motor setup and an error message at Klipper later.*

4. **Acceleration Sensors**
3. **Z-Offset Sensor**
I also connectected the z-offset sensor, even though I probably won't use it. Since I plan on adding an optical minimum limit switch for the z-axis (which I'll connect to "Z-" = PC8), I connected the z-offset sensor to "Z +" = ^PC4 (I *think* you need to have the `^` in front since that activates the pullup for that pin). I'll probably not use it, but I like to have it connected - just in case..

4. **Inductive Proximity Sensor / ABL Probe**
The inductive proximity sensor is conencted to 24V, LOGIC GND and the according signal pin (labeled as 'LEVEL' at the pinout scheme) at the printhead's breakout board. Since you already connected 24V and LOGIC GND, you only have to connect the signal pin 'LEVEL' to the MKS board - I used the BLTOUCH connector = PA8 for that.
Don't worry about the 24V and the signal - due to the electronic circuit of the head's breakout board, the signal level will be just fine and won't harm the according connection of the MKS board.

5. **Fans**
The MKS board has two fan connectors which can be PWM controlled: FAN1 (= PC14) and FAN2 (=PB1). I connected the *part cooling fan* to FAN 1 and the *heatsink cooling fan of the hotend* to FAN2.
I then connected the *mainboard cooling fan* to the 24V connector "J4" - that one provides 24V continously, so the mainboard cooling fan will run as soon as you switch on the printer.

6. **Acceleration Sensors**
I decided to connect both of the acceleration sensors (printhead & bed) to the same SPI bus.
Since I don't use an additional screen for the MKS board, I used the EXP2 connector (you either need a 10pin female IDC connector or just some female DuPont connectors) which is SPI1.

Expand All @@ -338,18 +349,13 @@ However, there are a few things I'd like to point out.
*Every CS pin of each sensor has to be connected to it's own pin then though.* This is crucial - you can *not* connect the CS pins of the y- and the x-axis acceleration sensor to the same pin!
I decided to connect the CS pin of the x-axis' acceleration sensor (printhead) to the SPI1's "CS" pin = PA8; for the CS pin of the y-axis' sensor (bed) I used the pin PA11.
GND can be connected to the LOGIC GND as well, or just connect it to GND at the corresponding connection you end up using for the SPI connection.
You then have to connect the 5V pin of the acceleration sensors to an according 5V pin at the MKS board - I used the 5V pin of the BLTOUCH connector for that.
You then have to connect the 5V pin of the acceleration sensors to an according 5V pin at the MKS board - I used the 5V pin of the BLTOUCH connector for that.

5. **Z-Offset Sensor**
I also connectected the z-offset sensor, even though I probably won't use it. Since I plan on adding an optical minimum limit switch for the z-axis (which I'll connect to "Z-" = PC8), I connected the z-offset sensor to "Z +" = ^PC4 (I *think* you need to have the `^` in front since that activates the pullup for that pin). I'll probably not use it, but I like to have it connected - just in case..
The following screenshots show the results of the resonance measurements of my K2 Pro.
![Resonances X-Axis](../assets/images/K2Pro_resonances_x.jpg)
![Resonances Y-Axis](../assets/images/K2Pro_resonances_y.jpg)

6. **Inductive Proximity Sensor / ABL Probe**
The inductive proximity sensor is conencted to 24V, LOGIC GND and the according signal pin (labeled as 'LEVEL' at the pinout scheme) at the printhead's breakout board. Since you already connected 24V and LOGIC GND, you only have to connect the signal pin 'LEVEL' to the MKS board - I used the BLTOUCH connector = PA8 for that.
Don't worry about the 24V and the signal - due to the electronic circuit of the head's breakout board, the signal level will be just fine and won't harm the according connection of the MKS board.

7. **Fans**
The MKS board has two fan connectors which can be PWM controlled: FAN1 (= PC14) and FAN2 (=PB1). I connected the *part cooling fan* to FAN 1 and the *heatsink cooling fan of the hotend* to FAN2.
I then connected the *mainboard cooling fan* to the 24V connector "J4" - that one provides 24V continously, so the mainboard cooling fan will run as soon as you switch on the printer.

---

Expand Down

0 comments on commit 7b4e1f7

Please sign in to comment.