12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- /**
- * Marlin 3D Printer Firmware
- * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
- *
- * Based on Sprinter and grbl.
- * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <https://www.gnu.org/licenses/>.
- *
- */
- #pragma once
-
- /**
- * Arduino Mega with RAMPS v1.4Plus, also known as 3DYMY version, pin assignments
- *
- * Applies to the following boards:
- *
- * RAMPS_PLUS_EFB (Extruder, Fan, Bed)
- * RAMPS_PLUS_EEB (Extruder, Extruder, Bed)
- * RAMPS_PLUS_EFF (Extruder, Fan, Fan)
- * RAMPS_PLUS_EEF (Extruder, Extruder, Fan)
- * RAMPS_PLUS_SF (Spindle, Controller Fan)
- *
- * Differences from RAMPS v1.4:
- * - Swap heater E0 with E1
- * - Swap pins 8 and 10. Bed/Fan/Hotend as labeled on the board are on pins 8/9/10.
- * - Change EXP1/2 pins
- */
-
- #include "env_validate.h"
-
- #define BOARD_INFO_NAME "RAMPS 1.4 Plus"
-
- #define MOSFET_A_PIN 8
- #define MOSFET_C_PIN 10
-
- //
- // Steppers
- //
- #define X_CS_PIN -1
- #define Y_CS_PIN -1
- #define Z_CS_PIN -1
-
- // Swap E0 / E1 on 3DYMY
- #define E0_STEP_PIN 36
- #define E0_DIR_PIN 34
- #define E0_ENABLE_PIN 30
- #define E0_CS_PIN -1
-
- #define E1_STEP_PIN 26
- #define E1_DIR_PIN 28
- #define E1_ENABLE_PIN 24
- #define E1_CS_PIN -1
-
- /** 3DYMY Expansion Headers
- * ------ ------
- * 37 | 1 2 | 35 (MISO) 50 | 1 2 | 52 (SCK)
- * 31 | 3 4 | 41 29 | 3 4 | 53
- * 33 5 6 | 23 25 5 6 | 51 (MOSI)
- * 42 | 7 8 | 44 49 | 7 8 | 27
- * GND | 9 10 | 5V GND | 9 10 | --
- * ------ ------
- * EXP1 EXP2
- */
- #define EXP1_01_PIN 37
- #define EXP1_02_PIN 35
- #define EXP1_03_PIN 31
- #define EXP1_04_PIN 41
- #define EXP1_05_PIN 33
- #define EXP1_06_PIN 23
- #define EXP1_07_PIN 42
- #define EXP1_08_PIN 44
-
- #define EXP2_01_PIN 50
- #define EXP2_02_PIN 52
- #define EXP2_03_PIN 29
- #define EXP2_04_PIN 53
- #define EXP2_05_PIN 25
- #define EXP2_06_PIN 51
- #define EXP2_07_PIN 49
- #define EXP2_08_PIN 27
-
- #include "pins_RAMPS.h"
|