Skip to content

Commit c9fe822

Browse files
authored
✨ Weedo 62A Tina2 / Monoprice Cadet (MarlinFirmware#23817)
1 parent 9ef01d4 commit c9fe822

File tree

4 files changed

+110
-0
lines changed

4 files changed

+110
-0
lines changed

Marlin/src/core/boards.h

+1
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@
164164
#define BOARD_MALYAN_M180 1327 // Malyan M180 Mainboard Version 2 (no display function, direct gcode only)
165165
#define BOARD_GT2560_V4_A20 1328 // Geeetech GT2560 Rev B for A20(M/T/D)
166166
#define BOARD_PROTONEER_CNC_SHIELD_V3 1329 // Mega controller & Protoneer CNC Shield V3.00
167+
#define BOARD_WEEDO_62A 1330 // WEEDO 62A board (TINA2, Monoprice Cadet, etc.)
167168

168169
//
169170
// ATmega1281, ATmega2561

Marlin/src/pins/mega/pins_PICA.h

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
#define SERVO0_PIN 3
5252
#define SERVO1_PIN 4
5353
#define SERVO2_PIN 5
54+
5455
//
5556
// Limit Switches
5657
//

Marlin/src/pins/mega/pins_WEEDO_62A.h

+106
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
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

Marlin/src/pins/pins.h

+2
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,8 @@
287287
#include "mega/pins_MALYAN_M180.h" // ATmega2560 env:mega2560
288288
#elif MB(PROTONEER_CNC_SHIELD_V3)
289289
#include "mega/pins_PROTONEER_CNC_SHIELD_V3.h"// ATmega2560 env:mega2560
290+
#elif MB(WEEDO_62A)
291+
#include "mega/pins_WEEDO_62A.h" // ATmega2560 env:mega2560
290292

291293
//
292294
// ATmega1281, ATmega2561

0 commit comments

Comments
 (0)