Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Voron 2 SKR 2 in SPI mode; This PR will not work properly without PR #270 #268

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
34 changes: 34 additions & 0 deletions _sass/color_schemes/voron-dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ $voron-red-70: #99000a;
$voron-red-80: #dd0007;
$voron-link-purple: #661aff;

//GAcolors
$neon-green-600: #00ff01;
$blue-600: #32a3e5;
$orange-600: #ff7a00;
$purple-650: #b888e8;

//
// Body Elements
//
Expand All @@ -38,3 +44,31 @@ $code-background-color: $grey-dk-250;
$search-background-color: $grey-dk-250;
$table-background-color: $grey-dk-250;
$feedback-color: darken($sidebar-color, 3%);

.color-blind-red { color: $red-300; }
.color-blind-green { color: $neon-green-600; }
.color-blind-yellow { color: $yellow-200; }
.color-blind-blue {color: $blue-600; }
.color-blind-orange {color: $orange-600; }
.color-blind-red-red {color: red; }
.color-blind-grey-dk-100 { color: $grey-dk-000; }
.color-blind-purple { color: $purple-650; }

// for double underlines
.underline-double-trouble {
background-image: linear-gradient(to bottom, red 33%, transparent 33%, transparent 66%, red 66%, red);
background-position: 0 1.03em;
background-repeat: repeat-x;
background-size: 2px 6px;
}

//font sizes
.fs_percent_110 { font-size: 110%; }

a:link {
font-weight: 700;
}

input[type=text] {
color: $grey-lt-300;
}
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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.
160 changes: 160 additions & 0 deletions community/electronics/GadgetAngel/v2_skr2_spi_wiring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
---
layout: default
title: "Voron V2 - SKR 2 (TMC2100, TMC2130, TMC5160, TMC5161, TMC5160HV, TMC5160_PRO) Wiring"
parent: "Voron V2 - BTT SKR 2 Wiring for both SPI and UART modes"
nav_exclude: true
nav_order: 1
---

# Voron V2 - SKR 2 (TMC2100, TMC2130, TMC5160, TMC5161, TMC5160HV, TMC5160_PRO) Wiring

## Initial Removal of Jumpers

We have no idea what state your board is in when you start this process. Someone could have moved jumpers around already. But since we are here, on the SPI end of the site, then I assume that you might want to look at the next section **before** removing **all the jumpers** because if all the jumpers are already set for SPI mode then removing them and placing them right back in would be a waste of your valuable time.

**If one does not understand what I mean by "if the jumpers are set for SPI" then I would recommend that removing all the jumpers would be the place to start.**

Remove **all <span class="color-blind-yellow">YELLOW</span>** on-board jumpers, located at the positions shown below:

###### ![](../../../build/electrical/images/SKR2_in_PREP-removal.png) {#SKR2_in_PREP-removal_spi_v2}

## Initial Preparation for SPI Mode - Set Jumpers

* Set the on-board jumpers, located at the positions as shown by the **<span class="color-blind-green">GREEN</span>** jumpers in the diagram below:

###### ![](./images/SKR2_in_SPI_PREP.png) {#SKR2_in_SPI_PREP_v2}

* If you want to open the above picture, in a new tab of your web browser, then [click here](./images/SKR2_in_SPI_PREP.png){:target="_blank" rel="noopener"}

## Voltage Selection Headers and Other Headers

* **Set the USB-PWR jumper to the VDD position (as shown in the <span class="color-blind-orange">ORANGE box</span>)** to avoid the interaction between the USB 5V of Raspberry Pi and the DC-DC 5V of the motherboard.

* Ensure **all of "DIAG Jumpers" (shown in the <span class="color-blind-purple">PURPLE box</span>) are removed**, since the Voron printer does not use sensorless homing.

* In the diagram below, ensure that the "WIFI/UDISK Select" Jumpers (as shown in the **<span class="color-blind-yellow">YELLOW box</span>**) are set for WIFI to ensure the UDISK port is not connected (both jumpers have an empty pin beneath them).

__<span class="underline-double-trouble color-blind-red">IMPORTANT:</span>__ **Double check all the** __<span class="color-blind-green">GREEN</span>__ **jumpers are set appropriately, especially the jumpers called out by the _COLORED BOXES_, BEFORE the power supply is connected.**

###### ![](./images/SKR2_in_SPI_voltageselect.png) {#SKR2_in_SPI_voltageselect_v2}

* If you want to open the above picture, in a new tab of your web browser, then [click here](./images/SKR2_in_SPI_voltageselect.png){:target="_blank" rel="noopener"}

## Stepper Motor Drivers
* - [ ] Inspect the stepper motor drivers for left over rosin, and clean with IPA, if needed
* - [ ] Before installing heat sinks on to the stepper motor drivers,&nbsp;[please read this](#please-ensure-the-heat-sinks-are-installed-before-use)
* - [ ] Install heat sinks on all stepper motor drivers

## MCU X/Y/E, Hot End in SPI Mode

* - [ ] Connect 24V and GND (V+ and V-) from the PSU to Power In
* - [ ] Connect stepper driver for the B Motor (gantry left) into position X-M (driver socket)
* - [ ] Plug in stepper motor for the B Motor (gantry left) into position XM (motor connector)
* - [ ] Connect stepper driver for the A Motor (gantry right) into position Y-M (driver socket)
* - [ ] Plug in stepper motor for the A Motor (gantry right) into position YM (motor connector)
* - [ ] Connect stepper driver for the extruder motor into position E0-M (driver socket)
* - [ ] Plug in stepper motor for the extruder motor into position E0M (motor connector)
* - [ ] Connect the hot end heater to HE0 (PB3)
* - [ ] Connect the part cooling fan to FAN1 (PB6)
* - [ ] Connect the hot end fan to FAN0 (PB7)
* - [ ] Connect the controller fan A to FAN2 (PB5)
* - [ ] Connect the hot end thermistor to TH0 (PA2)
* - [ ] Connect the X endstop to X-STOP (PC1)
* - [ ] Connect the Y endstop to Y-STOP (PC3)
* - [ ] Connect USB Cable to your SKR 2,&nbsp; **but do not connect it yet to your Raspberry Pi**

## MCU X/Y/E, Hot End in SPI Mode Wiring Diagram

###### ![](./images/V2tri_Wiring_Diagram_BTT_SKR2_XYE_SPI.jpg) {#V2tri_Wiring_Diagram_BTT_SKR2_XYE_SPI_v2}

* <span class="fs_percent_110">If you want to open the above diagram, in a new tab of your web browser, and have the ability to zoom and download the diagram in JPG format then [click here](./images/V2tri_Wiring_Diagram_BTT_SKR2_XYE_SPI.jpg){:target="_blank" rel="noopener"}</span>

## MCU Z, Bed, Exhaust Fan in SPI Mode

* - [ ] Connect 24V and GND (V+ and V-) from the PSU to Power In
* - [ ] Connect stepper driver for the Z into positions X-M (driver socket)
* - [ ] Plug in stepper motor for the Z into positions XM (motor connector)
* - [ ] Connect stepper driver for the Z1 into positions Y-M (driver socket)
* - [ ] Plug in stepper motor for the Z1 into positions YM (motor connector)
* - [ ] Connect stepper driver for the Z2 into positions Z-M (driver socket)
* - [ ] Plug in stepper motor for the Z2 into positions ZMA (motor connector)
* - [ ] Connect stepper driver for the Z3 into positions E0-M (driver socket)
* - [ ] Plug in stepper motor for the Z3 into positions E0M (motor connector)
* - [ ] Connect the bed SSR (DC Control Side) to HBED (PD7)
* - [ ] Connect the controller fan B to FAN2 (PB5)
* - [ ] Connect the chamber exhaust fan to FAN1 (PB6)
* - [ ] Connect the heated bed thermistor to TB (PA1)
* - [ ] Connect the Z endstop to Z-STOP (PC0)
* - [ ] Connect the Probe Signal (with&nbsp;**BAT85 diode**) to PROBE connector (PE4)
* - [ ] Connect the Probe PWR and GND to FAN3
* - [ ] Connect USB Cable to your SKR 2,&nbsp; **but do not connect it yet to your Raspberry Pi**

BAT85
: a Schottky barrier diode. BAT85 is needed to protect the SKR board (MCU board) from being fried. An inductive probe device (Omron TL-Q5MC2; Omron TL-Q5MC2-Z or Panasonic GX-HL15BI-P) communicates at a much higher voltage level (10V - 30V) then the MCU board. The BAT85 is used to protect the input signal PIN of the MCU board; without the BAT85 the MCU board will be damaged. If two BAT85s are used in series, the circuit will protect the MCU board and still allow the inductive probe to function properly. [For more information, click here](../../../build/electrical/index#bat85-diode){:target="_blank" rel="noopener"}

## MCU Z, Bed, Exhaust Fan in SPI Mode Wiring Diagram

###### ![](./images/V2_Wiring_Diagram_BTT_SKR2_Z_SPI.jpg) {#V2_Wiring_Diagram_BTT_SKR2_Z_SPI_v2}

* <span class="fs_percent_110">If you want to open the above diagram, in a new tab of your web browser, and have the ability to zoom and download the diagram in JPG format then [click here](./images/V2_Wiring_Diagram_BTT_SKR2_Z_SPI.jpg){:target="_blank" rel="noopener"}</span>

## Please Ensure the Heat Sinks are Installed Before Use

<span class="color-blind-red">Note on the Orientation of the Stepper Motor Driver's Heat Sinks</span>
: Place the heat sinks for the stepper motor drivers so that the orientation of the fins on the heat sinks are parallel to the air flow from the controller fans once the MCU board is installed on the DIN rail. Ensure the heat sinks are **not touching** the solder joints located on the top of the step stick. Please note, that your placement of heat sinks may be different from the orientation shown below.

## MCU X/Y/E, Hot End with Heat Sinks Installed

###### ![](./images/v2tri_SKR2_SPI_heatsinks1.jpg) {#v2tri_SKR2_SPI_heatsinks1_v2}

## MCU Z, Bed, Exhaust Fan with Heat Sinks Installed

###### ![](./images/v2_SKR2_SPI_heatsinks2.jpg) {#v2_SKR2_SPI_heatsinks2_v2}

## Raspberry Pi

## Power
* The BTT SKR 2 board is **NOT capable of providing 5V power** to run your Raspberry Pi.

## Setting up UART Serial Communications with the Raspberry Pi

* see [the SKR 2 Raspberry Pi Section](../../../build/electrical/skr2_RaspberryPi#raspberry-pi){:target="_blank" rel="noopener"}

## SSR Wiring (Boards Shown is in SPI mode)

* Wire colors will vary depending on your locale.

###### ![](./images/SKRV2inSPI-ssr-wiring.png) {#SKRV2inSPI-ssr-wiring_v2}

* If you want to open the above diagram, in a new tab of your web browser, and have the ability to zoom and download the diagram in PNG format then [click here](./images/SKRV2inSPI-ssr-wiring.png){:target="_blank" rel="noopener"}

## The Klipper Configuration file by TechnoPhreak for SKR 2 board (UART mode - SPI mode needs to be added to this)

The Klipper Configuration file from VoronDesign/VoronUsers TechnoPhreak's GitHub Repo for SKR 2 board is [located here](https://raw.githubusercontent.com/VoronDesign/VoronUsers/master/firmware_configurations/klipper/TechnoPhreak/BTT_SKR_v2/printer.cfg){:target="_blank" rel="noopener"};

## URL Resources Links for the SKR 2 (PIN Diagrams and Repo)

* see [The SKR 2 Resource Section](../../../build/electrical/skr2_Resources#color-pin-diagram-for-skr-2){:target="_blank" rel="noopener"}

## After I have Wired up the MCU Board, What Comes Next?

1. Once the MCU board is wired up and wire management has been performed, the next step is to install Mainsail/Fluidd or Octoprint, please see [The Build ═► Software Installation](../../../build/software/index#software-installation){:target="_blank" rel="noopener"}

2. Once Mainsail/Fluidd or Octoprint has been installed, the next step is to **compile and install** the Klipper Firmware, please use the Color Pin Diagram displayed here, look for ["Klipper Building Options"](../../../build/electrical/images/SKR_2_V1.0_Colored_PIN_Diagram.pdf){:target="_blank" rel="noopener"}; an alternative source of information on "how to build and install the Klipper firmware for the SKR 2" is at [TechnoPhreak's README file](https://github.com/VoronDesign/VoronUsers/tree/master/firmware_configurations/klipper/TechnoPhreak/BTT_SKR_v2#user-content-compiler-instructions){:target="_blank" rel="noopener"}

3. Once the MCU board has the Klipper Firmware Installed, the next step is to **create/edit** the Klipper Config file (TechnoPhreak's printer.cfg file is already named printer.cfg, but you will need to replace UART with SPI). Please see [the file located here](https://raw.githubusercontent.com/VoronDesign/VoronUsers/master/firmware_configurations/klipper/TechnoPhreak/BTT_SKR_v2/printer.cfg){:target="_blank" rel="noopener"} as a good starting point;

* Please use the Color PIN Diagrams, [displayed here](../../../build/electrical/skr2_Resources#color-pin-diagram-for-skr-2){:target="_blank" rel="noopener"}, as a source of information;

* Please consult [The Build ═► Software Configuration](../../../build/software/configuration#software-configuration){:target="_blank" rel="noopener"} on how to edit the Klipper Config file.

4. After **creating/editing** the Klipper Config file (printer.cfg), the next step is to check all the Motors and the mechanics of the Voron printer, please see [The Build ═► Initial Startup Checks](../../../build/startup/index#initial-startup-checks){:target="_blank" rel="noopener"}

<script>
window.onload = function enable_checkboxes(){
const checkboxes = document.getElementsByClassName('task-list-item-checkbox');
Array.prototype.forEach.call(checkboxes, function (e) {
e.removeAttribute('disabled');
});
}
</script>
50 changes: 50 additions & 0 deletions community/electronics/GadgetAngel/v2_skr2_wiring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
layout: default
title: "Voron V2 - BTT SKR 2 Wiring for both SPI and UART modes"
nav_exclude: true
has_children: true
has_toc: false
---

# Voron V2 - BTT SKR 2 Wiring for both SPI and UART modes

## What is the difference between UART mode and SPI mode?

* This stuff refers to the way the hardware communicates.

* So, how do you know which mode to pick? It depends on the stepper motor drivers you choose to buy with the SKR 2 boards.

* The list below shows which stepper motor drivers are UART mode and which are SPI mode.

* In the list below, locate the name of the stepper motor drivers that were purchased with the boards and click on their name.

## Information

* Read this article ["Understanding the Difference Between UART vs SPI" ](./images/What_is_the_Difference_Between_SPI_vs_UART.pdf#toolbar=1&page=1){:target="_blank" rel="noopener"} for further information.

* Here is a [comparison chart of the different TMC stepper motor drivers](https://learn.watterott.com/silentstepstick/comparison/){:target="_blank" rel="noopener"}


## SPI Mode TMC Driver List

### SPI Mode TMC Drivers That Use 24 VDC:

1. [TMC2100](./v2_skr2_spi_wiring#voron-v2---skr-2-tmc2100-tmc2130-tmc5160-tmc5161-tmc5160hv-tmc5160pro-wiring){:target="_blank" rel="noopener"}
2. [TMC2130](./v2_skr2_spi_wiring#voron-v2---skr-2-tmc2100-tmc2130-tmc5160-tmc5161-tmc5160hv-tmc5160pro-wiring){:target="_blank" rel="noopener"}
3. [TMC5160](./v2_skr2_spi_wiring#voron-v2---skr-2-tmc2100-tmc2130-tmc5160-tmc5161-tmc5160hv-tmc5160pro-wiring){:target="_blank" rel="noopener"}
4. [TMC5161](./v2_skr2_spi_wiring#voron-v2---skr-2-tmc2100-tmc2130-tmc5160-tmc5161-tmc5160hv-tmc5160pro-wiring){:target="_blank" rel="noopener"}

### SPI Mode TMC Drivers That Use 48 VDC or Higher:

1. [TMC5160HV](./v2_skr2_spi_wiring#voron-v2---skr-2-tmc2100-tmc2130-tmc5160-tmc5161-tmc5160hv-tmc5160pro-wiring){:target="_blank" rel="noopener"}
2. [TMC5160_PRO](./v2_skr2_spi_wiring#voron-v2---skr-2-tmc2100-tmc2130-tmc5160-tmc5161-tmc5160hv-tmc5160pro-wiring){:target="_blank" rel="noopener"}


## UART Mode TMC Driver List

### UART Mode TMC Drivers That Use 24 VDC:

1. [TMC2208](../../../build/electrical/v2_skr2_uart_wiring#voron-v2---skr-2-tmc2208-tmc2209-tmc2225-tmc2226-wiring){:target="_blank" rel="noopener"}
2. [TMC2209](../../../build/electrical/v2_skr2_uart_wiring#voron-v2---skr-2-tmc2208-tmc2209-tmc2225-tmc2226-wiring){:target="_blank" rel="noopener"}
3. [TMC2225](../../../build/electrical/v2_skr2_uart_wiring#voron-v2---skr-2-tmc2208-tmc2209-tmc2225-tmc2226-wiring){:target="_blank" rel="noopener"}
4. [TMC2226](../../../build/electrical/v2_skr2_uart_wiring#voron-v2---skr-2-tmc2208-tmc2209-tmc2225-tmc2226-wiring){:target="_blank" rel="noopener"}
1 change: 1 addition & 0 deletions community/electronics/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Community-generated documentation for alternate (non-spec) electronics and relat
| [Hall Effect Endstop Setup](./120decibell/hall_effect_endstop_setup.md) | 120decibell |
| [PT100 MAX31865 Setup](./xbst_/PT100.md) | xbst_ |
| [MKS Makerbase Monster8 v1.0](./Deuce/Voron2_Monster8_v1.0_Config.md) | Deuce |
| [Voron V2 - BTT SKR 2 Wiring for both SPI and UART modes](./GadgetAngel/v2_skr2_wiring.md) | GadgetAngel |

### External Links

Expand Down