Rapide Lite 200 config, pins_RL200 RUMBA clone (#12848)

This commit is contained in:
chrisly42 2019-01-20 03:19:14 +01:00 committed by Scott Lahteine
parent 6411680364
commit 99e5e8362f
8 changed files with 4126 additions and 25 deletions

View File

@ -206,6 +206,8 @@ else ifeq ($(HARDWARE_MOTHERBOARD),72)
else ifeq ($(HARDWARE_MOTHERBOARD),80) else ifeq ($(HARDWARE_MOTHERBOARD),80)
# Raise3D Rumba # Raise3D Rumba
else ifeq ($(HARDWARE_MOTHERBOARD),333) else ifeq ($(HARDWARE_MOTHERBOARD),333)
# Rapide Lite RL200 Rumba
else ifeq ($(HARDWARE_MOTHERBOARD),801)
# Formbot T-Rex 2 Plus # Formbot T-Rex 2 Plus
else ifeq ($(HARDWARE_MOTHERBOARD),95) else ifeq ($(HARDWARE_MOTHERBOARD),95)
# Formbot T-Rex 3 # Formbot T-Rex 3

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -75,6 +75,7 @@
#define BOARD_ULTIMAIN_2 72 // Ultimainboard 2.x (Uses TEMP_SENSOR 20) #define BOARD_ULTIMAIN_2 72 // Ultimainboard 2.x (Uses TEMP_SENSOR 20)
#define BOARD_RUMBA 80 // Rumba #define BOARD_RUMBA 80 // Rumba
#define BOARD_RUMBA_RAISE3D 333 // Raise3D N series Rumba derivative #define BOARD_RUMBA_RAISE3D 333 // Raise3D N series Rumba derivative
#define BOARD_RL200 801 // Rapide Lite 200 (v1, low-cost RUMBA clone with drv)
#define BOARD_FORMBOT_TREX2PLUS 95 // Formbot T-Rex 2 Plus #define BOARD_FORMBOT_TREX2PLUS 95 // Formbot T-Rex 2 Plus
#define BOARD_FORMBOT_TREX3 96 // Formbot T-Rex 3 #define BOARD_FORMBOT_TREX3 96 // Formbot T-Rex 3
#define BOARD_FORMBOT_RAPTOR 97 // Formbot Raptor #define BOARD_FORMBOT_RAPTOR 97 // Formbot Raptor

View File

@ -144,6 +144,8 @@
#include "pins_RUMBA.h" // ATmega2560 env:megaatmega2560 #include "pins_RUMBA.h" // ATmega2560 env:megaatmega2560
#elif MB(RUMBA_RAISE3D) #elif MB(RUMBA_RAISE3D)
#include "pins_RUMBA_RAISE3D.h" // ATmega2560 env:megaatmega2560 #include "pins_RUMBA_RAISE3D.h" // ATmega2560 env:megaatmega2560
#elif MB(RL200)
#include "pins_RL200.h" // ATmega2560 env:megaatmega2560
#elif MB(BQ_ZUM_MEGA_3D) #elif MB(BQ_ZUM_MEGA_3D)
#include "pins_BQ_ZUM_MEGA_3D.h" // ATmega2560 env:megaatmega2560 #include "pins_BQ_ZUM_MEGA_3D.h" // ATmega2560 env:megaatmega2560
#elif MB(MAKEBOARD_MINI) #elif MB(MAKEBOARD_MINI)

View File

@ -109,7 +109,7 @@
#endif #endif
// //
// LCD // LCD / Controller
// //
#define LCD_PINS_RS 19 #define LCD_PINS_RS 19
#define LCD_PINS_ENABLE 42 #define LCD_PINS_ENABLE 42
@ -119,12 +119,18 @@
#define LCD_PINS_D7 40 #define LCD_PINS_D7 40
// //
// SD CARD, ROTARY ENCODER, BEEPER // Beeper, SD Card, Encoder
// //
#define BEEPER_PIN 44
#if ENABLED(SDSUPPORT)
#define SDPOWER -1 #define SDPOWER -1
#define SDSS 53 #define SDSS 53
#define SD_DETECT_PIN 49 #define SD_DETECT_PIN 49
#define BEEPER_PIN 44 #endif
#if ENABLED(NEWPANEL)
#define BTN_EN1 11 #define BTN_EN1 11
#define BTN_EN2 12 #define BTN_EN2 12
#define BTN_ENC 43 #define BTN_ENC 43
#endif

View File

@ -0,0 +1,55 @@
/**
* Marlin 3D Printer Firmware
* Copyright (C) 2016 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 <http://www.gnu.org/licenses/>.
*
*/
/**
* Rapide Lite 200 v1 (RUMBA clone) pin assignments. Has slightly different assignment for
* extruder motors due to dual Z motors. Pinout therefore based on pins_RUMBA.h.
*/
#define DEFAULT_MACHINE_NAME "Rapide Lite 200"
#define BOARD_NAME "RL200"
#if HOTENDS > 2 || E_STEPPERS > 2
#error "RL200v1 supports up to 2 hotends / E-steppers. Comment out this line to continue."
#endif
#if DISABLED(Z_DUAL_STEPPER_DRIVERS)
#error "RL200 uses dual Z stepper motors. Update Configuration_adv.h or comment out this line to continue."
#endif
#if !(AXIS_DRIVER_TYPE_X(DRV8825) && AXIS_DRIVER_TYPE_Y(DRV8825) && AXIS_DRIVER_TYPE_Z(DRV8825) && AXIS_DRIVER_TYPE_Z2(DRV8825) && AXIS_DRIVER_TYPE_E0(DRV8825))
#error "You must set ([XYZ]|Z2|E0)_DRIVER_TYPE to DRV8825 in Configuration.h for RL200."
#endif
#define E0_STEP_PIN 26 // (RUMBA E1 pins)
#define E0_DIR_PIN 25
#define E0_ENABLE_PIN 27
#define E1_STEP_PIN 29 // (RUMBA E2 pins)
#define E1_DIR_PIN 28
#define E1_ENABLE_PIN 39
#define Z2_STEP_PIN 23 // (RUMBA E0 pins)
#define Z2_DIR_PIN 22
#define Z2_ENABLE_PIN 24
#include "pins_RUMBA.h"

View File

@ -76,17 +76,23 @@
#define Z_DIR_PIN 56 #define Z_DIR_PIN 56
#define Z_ENABLE_PIN 62 #define Z_ENABLE_PIN 62
#ifndef E0_STEP_PIN
#define E0_STEP_PIN 23 #define E0_STEP_PIN 23
#define E0_DIR_PIN 22 #define E0_DIR_PIN 22
#define E0_ENABLE_PIN 24 #define E0_ENABLE_PIN 24
#endif
#ifndef E1_STEP_PIN
#define E1_STEP_PIN 26 #define E1_STEP_PIN 26
#define E1_DIR_PIN 25 #define E1_DIR_PIN 25
#define E1_ENABLE_PIN 27 #define E1_ENABLE_PIN 27
#endif
#if E1_STEP_PIN != 29
#define E2_STEP_PIN 29 #define E2_STEP_PIN 29
#define E2_DIR_PIN 28 #define E2_DIR_PIN 28
#define E2_ENABLE_PIN 39 #define E2_ENABLE_PIN 39
#endif
// //
// Temperature Sensors // Temperature Sensors
@ -140,7 +146,6 @@
// //
// Misc. Functions // Misc. Functions
// //
#define SDSS 53
#define LED_PIN 13 #define LED_PIN 13
#define PS_ON_PIN 45 #define PS_ON_PIN 45
#define KILL_PIN 46 #define KILL_PIN 46
@ -162,13 +167,6 @@
// //
// LCD / Controller // LCD / Controller
// //
#define SD_DETECT_PIN 49
#define BEEPER_PIN 44
#define LCD_PINS_D7 40
#define BTN_EN1 11
#define BTN_EN2 12
#define BTN_ENC 43
#if ENABLED(MKS_12864OLED) || ENABLED(MKS_12864OLED_SSD1306) #if ENABLED(MKS_12864OLED) || ENABLED(MKS_12864OLED_SSD1306)
#define LCD_PINS_DC 38 // Set as output on init #define LCD_PINS_DC 38 // Set as output on init
#define LCD_PINS_RS 41 // Pull low for 1s to init #define LCD_PINS_RS 41 // Pull low for 1s to init
@ -184,3 +182,22 @@
#define LCD_PINS_D5 38 #define LCD_PINS_D5 38
#define LCD_PINS_D6 41 #define LCD_PINS_D6 41
#endif #endif
#define LCD_PINS_D7 40
//
// Beeper, SD Card, Encoder
//
#define BEEPER_PIN 44
#if ENABLED(SDSUPPORT)
#define SDPOWER -1
#define SDSS 53
#define SD_DETECT_PIN 49
#endif
#if ENABLED(NEWPANEL)
#define BTN_EN1 11
#define BTN_EN2 12
#define BTN_ENC 43
#endif