📌 ZRIB V52-V53 Servo Pins (#24880)

This commit is contained in:
ellensp 2022-10-30 16:45:08 +13:00 committed by Scott Lahteine
parent 38375cf7a7
commit 4737af7d70
2 changed files with 14 additions and 17 deletions

View File

@ -47,6 +47,16 @@
#define E2_DIR_PIN 5 #define E2_DIR_PIN 5
#define E2_ENABLE_PIN 22 #define E2_ENABLE_PIN 22
//
// Servos / XS3 Connector
//
#ifndef SERVO0_PIN
#define SERVO0_PIN 65 // PWM
#endif
#ifndef SERVO1_PIN
#define SERVO1_PIN 66 // PWM
#endif
#include "pins_MKS_BASE_common.h" // ... RAMPS #include "pins_MKS_BASE_common.h" // ... RAMPS
/** /**
@ -78,20 +88,13 @@
* | GND | * | GND |
* ========== * ==========
* *
* XS3 Connector * Servos / XS3 Connector
* ================= * =================
* | 65 | GND | 5V | (65) PK3 ** Pin86 ** A11 * | 65 | GND | 5V | (65) PK3 ** Pin86 ** A11
* |----|-----|----| * |----|-----|----|
* | 66 | GND | 5V | (66) PK4 ** Pin85 ** A12 * | 66 | GND | 5V | (66) PK4 ** Pin85 ** A12
* ================= * =================
* *
* Servos Connector
* =================
* | 11 | GND | 5V | (11) PB5 ** Pin24 ** PWM11
* |----|-----|----|
* | 12 | GND | 5V | (12) PB6 ** Pin25 ** PWM12
* =================
*
* ICSP * ICSP
* ================= * =================
* | 5V | 51 | GND | (51) PB2 ** Pin21 ** SPI_MOSI * | 5V | 51 | GND | (51) PB2 ** Pin21 ** SPI_MOSI

View File

@ -62,10 +62,10 @@
// Servos / XS3 Connector // Servos / XS3 Connector
// //
#ifndef SERVO0_PIN #ifndef SERVO0_PIN
#define SERVO0_PIN 11 // Analog Output #define SERVO0_PIN 65 // PWM
#endif #endif
#ifndef SERVO1_PIN #ifndef SERVO1_PIN
#define SERVO1_PIN 12 // Analog Output #define SERVO1_PIN 66 // PWM
#endif #endif
// //
@ -424,18 +424,12 @@
* |--------| Power * |--------| Power
* | GND | * | GND |
* ========== * ==========
* XS3 Connector * Servos / XS3 Connector
* ================= * =================
* | 65 | GND | 5V | (65) PK3 ** Pin86 ** A11 * | 65 | GND | 5V | (65) PK3 ** Pin86 ** A11
* |----|-----|----| * |----|-----|----|
* | 66 | GND | 5V | (66) PK4 ** Pin85 ** A12 * | 66 | GND | 5V | (66) PK4 ** Pin85 ** A12
* ================= * =================
* XS3/Servos Connector
* =================
* | 11 | GND | 5V | (11) PB5 ** Pin24 ** PWM11
* |----|-----|----|
* | 12 | GND | 5V | (12) PB6 ** Pin25 ** PWM12
* =================
* ICSP * ICSP
* ================= * =================
* | 5V | 51 | GND | (51) PB2 ** Pin21 ** SPI_MOSI * | 5V | 51 | GND | (51) PB2 ** Pin21 ** SPI_MOSI