|
| 1 | +/** |
| 2 | + * Marlin 3D Printer Firmware |
| 3 | + * Copyright (c) 2022 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] |
| 4 | + * |
| 5 | + * Based on Sprinter and grbl. |
| 6 | + * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm |
| 7 | + * |
| 8 | + * This program is free software: you can redistribute it and/or modify |
| 9 | + * it under the terms of the GNU General Public License as published by |
| 10 | + * the Free Software Foundation, either version 3 of the License, or |
| 11 | + * (at your option) any later version. |
| 12 | + * |
| 13 | + * This program is distributed in the hope that it will be useful, |
| 14 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 | + * GNU General Public License for more details. |
| 17 | + * |
| 18 | + * You should have received a copy of the GNU General Public License |
| 19 | + * along with this program. If not, see <https://www.gnu.org/licenses/>. |
| 20 | + * |
| 21 | + */ |
| 22 | + |
| 23 | +/** |
| 24 | + * Based on WEEDO 62A pin configuration |
| 25 | + * Copyright (c) 2019 WEEDO3D Perron |
| 26 | + */ |
| 27 | + |
| 28 | +#pragma once |
| 29 | + |
| 30 | +#include "env_validate.h" |
| 31 | + |
| 32 | +#ifndef BOARD_INFO_NAME |
| 33 | + #define BOARD_INFO_NAME "WEEDO 62A" |
| 34 | +#endif |
| 35 | + |
| 36 | +// |
| 37 | +// Limit Switches |
| 38 | +// |
| 39 | +#define X_MIN_PIN 3 |
| 40 | +#define X_MAX_PIN 2 |
| 41 | +#define Y_MIN_PIN 40 |
| 42 | +#define Y_MAX_PIN 41 |
| 43 | +#define Z_MIN_PIN 18 |
| 44 | +#define Z_MAX_PIN 19 |
| 45 | + |
| 46 | +// |
| 47 | +// Steppers |
| 48 | +// |
| 49 | +#define X_STEP_PIN 26 |
| 50 | +#define X_DIR_PIN 28 |
| 51 | +#define X_ENABLE_PIN 24 |
| 52 | + |
| 53 | +#define Y_STEP_PIN 60 |
| 54 | +#define Y_DIR_PIN 61 |
| 55 | +#define Y_ENABLE_PIN 56 |
| 56 | + |
| 57 | +#define Z_STEP_PIN 46 |
| 58 | +#define Z_DIR_PIN 48 |
| 59 | +#define Z_ENABLE_PIN 62 |
| 60 | + |
| 61 | +#define E0_STEP_PIN 54 |
| 62 | +#define E0_DIR_PIN 55 |
| 63 | +#define E0_ENABLE_PIN 38 |
| 64 | + |
| 65 | +// |
| 66 | +// Temperature Sensors |
| 67 | +// |
| 68 | +#define TEMP_0_PIN 13 // ANALOG NUMBERING |
| 69 | +#define TEMP_BED_PIN 14 // ANALOG NUMBERING |
| 70 | + |
| 71 | +// |
| 72 | +// Heaters / Fans |
| 73 | +// |
| 74 | +#define HEATER_0_PIN 10 // EXTRUDER 1 |
| 75 | +#define HEATER_BED_PIN 8 // BED |
| 76 | +#define FAN_PIN 4 // IO pin. Buffer needed |
| 77 | + |
| 78 | +// |
| 79 | +// Misc. Functions |
| 80 | +// |
| 81 | +#define PS_ON_PIN 12 |
| 82 | +#define LED_PIN 13 |
| 83 | + |
| 84 | +// |
| 85 | +// SD Support |
| 86 | +// |
| 87 | +#if ENABLED(SDSUPPORT) |
| 88 | + #define SDSS 53 |
| 89 | + #define SD_DETECT_PIN 49 |
| 90 | +#endif |
| 91 | + |
| 92 | +// |
| 93 | +// LCD / Controller |
| 94 | +// |
| 95 | +#if HAS_WIRED_LCD |
| 96 | + #define BEEPER_PIN 37 |
| 97 | + |
| 98 | + #define DOGLCD_A0 27 |
| 99 | + #define DOGLCD_CS 29 |
| 100 | + #define LCD_RESET_PIN 25 |
| 101 | + #define LCD_CONTRAST_INIT 255 |
| 102 | + |
| 103 | + #define BTN_EN1 33 |
| 104 | + #define BTN_EN2 31 |
| 105 | + #define BTN_ENC 35 |
| 106 | +#endif |
0 commit comments