Marlin_Firmware/Marlin/src/pins/ramps/pins_K8800.h

110 lines
3.3 KiB
C
Raw Normal View History

2019-02-04 00:15:08 -06:00
/**
* Marlin 3D Printer Firmware
2020-02-03 08:00:57 -06:00
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
2019-02-04 00:15:08 -06:00
*
* Based on Sprinter and grbl.
2019-06-27 23:57:50 -05:00
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
2019-02-04 00:15:08 -06:00
*
* 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 <http://www.gnu.org/licenses/>.
*
*/
2019-07-04 22:44:12 -05:00
#pragma once
2019-02-04 00:15:08 -06:00
/**
* Velleman K8800 (Vertex)
*/
#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif
2019-08-20 19:08:58 -05:00
#define BOARD_INFO_NAME "K8800"
2019-07-09 21:29:14 -05:00
#define DEFAULT_MACHINE_NAME "Vertex Delta"
2019-02-04 00:15:08 -06:00
//#define LCD_SCREEN_ROT_180
//
// Limit Switches
//
2020-03-21 21:13:19 -05:00
#define X_STOP_PIN 3
#define Y_STOP_PIN 14
#define Z_MIN_PIN 68 // Used for bed leveling
#define Z_MAX_PIN 66
2019-02-04 00:15:08 -06:00
//
// Steppers
//
2020-03-21 21:13:19 -05:00
#define X_STEP_PIN 54
#define X_DIR_PIN 55
#define X_ENABLE_PIN 38
2019-02-04 00:15:08 -06:00
2020-03-21 21:13:19 -05:00
#define Y_STEP_PIN 60
#define Y_DIR_PIN 61
#define Y_ENABLE_PIN 56
2019-02-04 00:15:08 -06:00
2020-03-21 21:13:19 -05:00
#define Z_STEP_PIN 46
#define Z_DIR_PIN 48
#define Z_ENABLE_PIN 63
2019-02-04 00:15:08 -06:00
2020-03-21 21:13:19 -05:00
#define E0_STEP_PIN 26
#define E0_DIR_PIN 28
#define E0_ENABLE_PIN 24
2019-02-04 00:15:08 -06:00
2020-03-21 21:13:19 -05:00
#define E1_STEP_PIN 32
#define E1_DIR_PIN 34
#define E1_ENABLE_PIN 30
2019-02-04 00:15:08 -06:00
//
// Temperature Sensors
//
2020-03-21 21:13:19 -05:00
#define TEMP_0_PIN 13
2019-02-04 00:15:08 -06:00
//
// Heaters / Fans
//
2020-03-21 21:13:19 -05:00
#define HEATER_0_PIN 10
#define FAN_PIN 8
#define CONTROLLER_FAN_PIN 9
2019-02-04 00:15:08 -06:00
//
// Misc. Functions
//
2020-03-21 21:13:19 -05:00
#define SDSS 25
2019-02-04 00:15:08 -06:00
2020-03-21 21:13:19 -05:00
#define FIL_RUNOUT_PIN 69 // PK7
#define KILL_PIN 20 // PD1
2019-02-04 00:15:08 -06:00
//
// LCD / Controller
//
2020-03-21 21:13:19 -05:00
#define SD_DETECT_PIN 21 // PD0
#define LCD_SDSS 53
#define BEEPER_PIN 6
2019-02-04 00:15:08 -06:00
2020-03-21 21:13:19 -05:00
#define DOGLCD_CS 29
#define DOGLCD_A0 27
2019-02-04 00:15:08 -06:00
2020-03-21 21:13:19 -05:00
#define LCD_PINS_RS 27
#define LCD_PINS_ENABLE 29
#define LCD_PINS_D4 37
#define LCD_PINS_D5 35
#define LCD_PINS_D6 33
#define LCD_PINS_D7 31
2019-02-04 00:15:08 -06:00
#if ENABLED(NEWPANEL)
2020-03-21 21:13:19 -05:00
#define BTN_EN1 17
#define BTN_EN2 16
#define BTN_ENC 23
2019-02-04 00:15:08 -06:00
#endif