Prusa MINI Firmware overview
Main Page
Modules
Classes
Files
File List
File Members
pins_WANHAO_ONEPLUS.h
Go to the documentation of this file.
1
/**
2
* Marlin 3D Printer Firmware
3
* Copyright (c) 2019 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 <http://www.gnu.org/licenses/>.
20
*
21
*/
22
#pragma once
23
24
/**
25
* Wanhao 0ne+ pin assignments
26
*/
27
28
#ifndef __AVR_ATmega2560__
29
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
30
#endif
31
32
#define BOARD_INFO_NAME "Wanhao i3 Mini 0ne+"
33
#define DEFAULT_MACHINE_NAME "i3 Mini"
34
#define BOARD_WEBSITE_URL "https://tinyurl.com/yyxw7se7"
35
36
//
37
// Limit Switches
38
//
39
#define X_STOP_PIN 19
40
#define Y_STOP_PIN 18
41
#define Z_STOP_PIN 38
42
43
//
44
// Z Probe (when not Z_MIN_PIN)
45
//
46
#ifndef Z_MIN_PROBE_PIN
47
#define Z_MIN_PROBE_PIN 38
48
#endif
49
50
//
51
// Steppers
52
//
53
#define X_STEP_PIN 22
54
#define X_DIR_PIN 23
55
#define X_ENABLE_PIN 57
56
57
#define Y_STEP_PIN 25
58
#define Y_DIR_PIN 26
59
#define Y_ENABLE_PIN 24
60
61
#define Z_STEP_PIN 29
62
#define Z_DIR_PIN 39
63
#define Z_ENABLE_PIN 28
64
65
#define E0_STEP_PIN 55
66
#define E0_DIR_PIN 56
67
#define E0_ENABLE_PIN 54
68
69
//
70
// Temperature Sensors
71
//
72
#define TEMP_0_PIN 13
73
#define TEMP_BED_PIN 14
74
75
//
76
// Heaters / Fans
77
//
78
#define HEATER_0_PIN 4
79
#define HEATER_BED_PIN 44
80
#define FAN_PIN 12 // IO pin. Buffer needed
81
82
//
83
// SD Card
84
//
85
#define SD_DETECT_PIN -1
86
#define SDSS 53
87
88
//
89
// Misc. Functions
90
//
91
#define BEEPER_PIN 37
92
#define KILL_PIN 64
93
94
//
95
// LCD / Controller (Integrated MINIPANEL)
96
//
97
#if ENABLED(MINIPANEL)
98
#define DOGLCD_A0 40
99
#define DOGLCD_CS 41
100
#define LCD_BACKLIGHT_PIN 65 // Backlight LED on A11/D65
101
#define LCD_RESET_PIN 27
102
103
#define BTN_EN1 2
104
#define BTN_EN2 3
105
#define BTN_ENC 5
106
107
// This display has adjustable contrast
108
#define LCD_CONTRAST_MIN 0
109
#define LCD_CONTRAST_MAX 255
110
#define LCD_CONTRAST_INIT LCD_CONTRAST_MAX
111
#endif
Prusa-Firmware-Buddy-Private1
lib
Marlin
Marlin
src
pins
mega
pins_WANHAO_ONEPLUS.h
Generated by
1.8.16