Browse Source

Eryone Thinker V2 (#21190)

Co-Authored-By: Bryan Joshua Pedini <b.pedini@bjphoster.com>
vanilla_fb_2.0.x
Scott Lahteine 3 years ago
committed by Scott Lahteine
parent
commit
08d54b3d78
  1. 2
      Marlin/Makefile
  2. 1
      Marlin/src/core/boards.h
  3. 2
      Marlin/src/pins/pins.h
  4. 32
      Marlin/src/pins/rambo/pins_RAMBO.h
  5. 60
      Marlin/src/pins/rambo/pins_RAMBO_THINKERV2.h

2
Marlin/Makefile

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

1
Marlin/src/core/boards.h

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

2
Marlin/src/pins/pins.h

@ -207,6 +207,8 @@
#include "rambo/pins_EINSY_RETRO.h" // ATmega2560 env:rambo
#elif MB(SCOOVO_X9H)
#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

32
Marlin/src/pins/rambo/pins_RAMBO.h

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

60
Marlin/src/pins/rambo/pins_RAMBO_THINKERV2.h

@ -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"
Loading…
Cancel
Save