|
| 1 | +/** |
| 2 | + * Marlin 3D Printer Firmware |
| 3 | + * Copyright (c) 2021 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 | +#pragma once |
| 23 | + |
| 24 | +/** |
| 25 | + * Protoneer v3.00 pin assignments |
| 26 | + * |
| 27 | + * This CNC shield has an UNO pinout and fits all Arduino-compatibles. |
| 28 | + * |
| 29 | + * Referenced docs: |
| 30 | + * - https://blog.protoneer.co.nz/arduino-cnc-shield-v3-00-assembly-guide/ |
| 31 | + * - https://blog.protoneer.co.nz/arduino-cnc-shield/ |
| 32 | + */ |
| 33 | + |
| 34 | +#include "env_validate.h" |
| 35 | + |
| 36 | +#define BOARD_INFO_NAME "Protoneer CNC Shield v3.00" |
| 37 | + |
| 38 | +// |
| 39 | +// Limit Switches |
| 40 | +// |
| 41 | +#define X_STOP_PIN 9 |
| 42 | +#define Y_STOP_PIN 10 |
| 43 | +#define Z_STOP_PIN 11 |
| 44 | + |
| 45 | +// |
| 46 | +// Steppers |
| 47 | +// |
| 48 | +#define X_STEP_PIN 2 |
| 49 | +#define X_DIR_PIN 5 |
| 50 | +#define X_ENABLE_PIN 8 // Shared enable pin |
| 51 | + |
| 52 | +#define Y_STEP_PIN 3 |
| 53 | +#define Y_DIR_PIN 6 |
| 54 | +#define Y_ENABLE_PIN X_ENABLE_PIN |
| 55 | + |
| 56 | +#define Z_STEP_PIN 4 |
| 57 | +#define Z_DIR_PIN 7 |
| 58 | +#define Z_ENABLE_PIN X_ENABLE_PIN |
| 59 | + |
| 60 | +// Designated with letter "A" on BOARD |
| 61 | +#define E0_STEP_PIN 12 |
| 62 | +#define E0_DIR_PIN 13 |
| 63 | +#define E0_ENABLE_PIN X_ENABLE_PIN |
| 64 | + |
| 65 | +// |
| 66 | +// Temperature sensors - These could be any analog output not hidden by board |
| 67 | +// |
| 68 | +#define TEMP_0_PIN 8 // Analog Input |
| 69 | +//#define TEMP_1_PIN 9 // Analog Input |
| 70 | +//#define TEMP_BED_PIN 10 // Analog Input |
| 71 | + |
| 72 | +// |
| 73 | +// Heaters / Fans - These could be any digital input not hidden by board |
| 74 | +// |
| 75 | +//#define HEATER_0_PIN 22 // EXTRUDER 1 |
| 76 | +//#define HEATER_1_PIN 23 // EXTRUDER 2 |
| 77 | +//#define HEATER_BED_PIN 24 |
0 commit comments