Eryone Thinker V2 (#21190)

Co-Authored-By: Bryan Joshua Pedini <b.pedini@bjphoster.com>
This commit is contained in:
Scott Lahteine 2021-02-25 09:14:24 -06:00 committed by Scott Lahteine
parent 735c1b6183
commit 08d54b3d78
5 changed files with 89 additions and 8 deletions

View file

@ -323,6 +323,8 @@ else ifeq ($(HARDWARE_MOTHERBOARD),1203)
else ifeq ($(HARDWARE_MOTHERBOARD),1204) else ifeq ($(HARDWARE_MOTHERBOARD),1204)
# abee Scoovo X9H # abee Scoovo X9H
else ifeq ($(HARDWARE_MOTHERBOARD),1205) else ifeq ($(HARDWARE_MOTHERBOARD),1205)
# Rambo ThinkerV2
else ifeq ($(HARDWARE_MOTHERBOARD),1206)
# #
# Other ATmega1280, ATmega2560 # Other ATmega1280, ATmega2560

View file

@ -126,6 +126,7 @@
#define BOARD_EINSY_RAMBO 1203 // Einsy Rambo #define BOARD_EINSY_RAMBO 1203 // Einsy Rambo
#define BOARD_EINSY_RETRO 1204 // Einsy Retro #define BOARD_EINSY_RETRO 1204 // Einsy Retro
#define BOARD_SCOOVO_X9H 1205 // abee Scoovo X9H #define BOARD_SCOOVO_X9H 1205 // abee Scoovo X9H
#define BOARD_RAMBO_THINKERV2 1206 // ThinkerV2
// //
// Other ATmega1280, ATmega2560 // Other ATmega1280, ATmega2560

View file

@ -207,6 +207,8 @@
#include "rambo/pins_EINSY_RETRO.h" // ATmega2560 env:rambo #include "rambo/pins_EINSY_RETRO.h" // ATmega2560 env:rambo
#elif MB(SCOOVO_X9H) #elif MB(SCOOVO_X9H)
#include "rambo/pins_SCOOVO_X9H.h" // ATmega2560 env:rambo #include "rambo/pins_SCOOVO_X9H.h" // ATmega2560 env:rambo
#elif MB(RAMBO_THINKERV2)
#include "rambo/pins_RAMBO_THINKERV2.h" // ATmega2560 env:rambo
// //
// Other ATmega1280, ATmega2560 // Other ATmega1280, ATmega2560

View file

@ -45,14 +45,20 @@
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'" #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif #endif
#ifndef BOARD_INFO_NAME
#define BOARD_INFO_NAME "Rambo" #define BOARD_INFO_NAME "Rambo"
#endif
// //
// Servos // Servos
// //
#ifndef SERVO0_PIN
#define SERVO0_PIN 22 // Motor header MX1 #define SERVO0_PIN 22 // Motor header MX1
#endif
#define SERVO1_PIN 23 // Motor header MX2 #define SERVO1_PIN 23 // Motor header MX2
#ifndef SERVO2_PIN
#define SERVO2_PIN 24 // Motor header MX3 #define SERVO2_PIN 24 // Motor header MX3
#endif
#define SERVO3_PIN 5 // PWM header pin 5 #define SERVO3_PIN 5 // PWM header pin 5
// //
@ -62,7 +68,9 @@
#define X_MAX_PIN 24 #define X_MAX_PIN 24
#define Y_MIN_PIN 11 #define Y_MIN_PIN 11
#define Y_MAX_PIN 23 #define Y_MAX_PIN 23
#ifndef Z_MIN_PIN
#define Z_MIN_PIN 10 #define Z_MIN_PIN 10
#endif
#define Z_MAX_PIN 30 #define Z_MAX_PIN 30
// //
@ -135,8 +143,12 @@
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN 8 #define FAN_PIN 8
#endif #endif
#ifndef FAN1_PIN
#define FAN1_PIN 6 #define FAN1_PIN 6
#endif
#ifndef FAN2_PIN
#define FAN2_PIN 2 #define FAN2_PIN 2
#endif
// //
// Misc. Functions // Misc. Functions
@ -220,8 +232,12 @@
#define BEEPER_PIN 79 // AUX-4 #define BEEPER_PIN 79 // AUX-4
// AUX-2 // AUX-2
#ifndef BTN_EN1
#define BTN_EN1 76 #define BTN_EN1 76
#endif
#ifndef BTN_EN2
#define BTN_EN2 77 #define BTN_EN2 77
#endif
#define BTN_ENC 78 #define BTN_ENC 78
#define SD_DETECT_PIN 81 #define SD_DETECT_PIN 81

View file

@ -0,0 +1,60 @@
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* 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 <https://www.gnu.org/licenses/>.
*
*/
#pragma once
/**
* Rambo ThinkerV2 pin assignments
*/
#define BOARD_INFO_NAME "Rambo ThinkerV2"
#define SERVO0_PIN 4 // Motor header MX1
#define SERVO2_PIN -1 // Motor header MX3
#ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN 10
#endif
// Support BLTouch and fixed probes
#if ENABLED(BLTOUCH)
#if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
#define Z_MIN_PIN 22
#elif !defined(Z_MIN_PROBE_PIN)
#define Z_MIN_PROBE_PIN 22
#endif
#elif ENABLED(FIX_MOUNTED_PROBE)
#if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
#define Z_MIN_PIN 4
#elif !defined(Z_MIN_PROBE_PIN)
#define Z_MIN_PROBE_PIN 4
#endif
#endif
// Eryone has the fan pins reversed
#define FAN1_PIN 2
#define FAN2_PIN 6
// Encoder
#define BTN_EN1 64
#define BTN_EN2 63
#include "pins_RAMBO.h"