Skip to content

Commit

Permalink
📌 ZRIB V52-V53 Servo Pins (MarlinFirmware#24880)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellensp authored and thinkyhead committed Dec 16, 2022
1 parent 38375cf commit 4737af7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 17 deletions.
19 changes: 11 additions & 8 deletions Marlin/src/pins/ramps/pins_ZRIB_V52.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,16 @@
#define E2_DIR_PIN 5
#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

/**
Expand Down Expand Up @@ -78,20 +88,13 @@
* | GND |
* ==========
*
* XS3 Connector
* Servos / XS3 Connector
* =================
* | 65 | GND | 5V | (65) PK3 ** Pin86 ** A11
* |----|-----|----|
* | 66 | GND | 5V | (66) PK4 ** Pin85 ** A12
* =================
*
* Servos Connector
* =================
* | 11 | GND | 5V | (11) PB5 ** Pin24 ** PWM11
* |----|-----|----|
* | 12 | GND | 5V | (12) PB6 ** Pin25 ** PWM12
* =================
*
* ICSP
* =================
* | 5V | 51 | GND | (51) PB2 ** Pin21 ** SPI_MOSI
Expand Down
12 changes: 3 additions & 9 deletions Marlin/src/pins/ramps/pins_ZRIB_V53.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@
// Servos / XS3 Connector
//
#ifndef SERVO0_PIN
#define SERVO0_PIN 11 // Analog Output
#define SERVO0_PIN 65 // PWM
#endif
#ifndef SERVO1_PIN
#define SERVO1_PIN 12 // Analog Output
#define SERVO1_PIN 66 // PWM
#endif

//
Expand Down Expand Up @@ -424,18 +424,12 @@
* |--------| Power
* | GND |
* ==========
* XS3 Connector
* Servos / XS3 Connector
* =================
* | 65 | GND | 5V | (65) PK3 ** Pin86 ** A11
* |----|-----|----|
* | 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
* =================
* | 5V | 51 | GND | (51) PB2 ** Pin21 ** SPI_MOSI
Expand Down

0 comments on commit 4737af7

Please sign in to comment.