Browse Source

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

pull/1/head
chrisly42 6 years ago
committed by Scott Lahteine
parent
commit
99e5e8362f
  1. 2
      Marlin/Makefile
  2. 2052
      Marlin/src/config/examples/RapideLite/RL200/Configuration.h
  3. 1966
      Marlin/src/config/examples/RapideLite/RL200/Configuration_adv.h
  4. 1
      Marlin/src/core/boards.h
  5. 2
      Marlin/src/pins/pins.h
  6. 22
      Marlin/src/pins/pins_CHEAPTRONICv2.h
  7. 55
      Marlin/src/pins/pins_RL200.h
  8. 51
      Marlin/src/pins/pins_RUMBA.h

2
Marlin/Makefile

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

2052
Marlin/src/config/examples/RapideLite/RL200/Configuration.h

File diff suppressed because it is too large

1966
Marlin/src/config/examples/RapideLite/RL200/Configuration_adv.h

File diff suppressed because it is too large

1
Marlin/src/core/boards.h

@ -75,6 +75,7 @@
#define BOARD_ULTIMAIN_2 72 // Ultimainboard 2.x (Uses TEMP_SENSOR 20)
#define BOARD_RUMBA 80 // Rumba
#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_TREX3 96 // Formbot T-Rex 3
#define BOARD_FORMBOT_RAPTOR 97 // Formbot Raptor

2
Marlin/src/pins/pins.h

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

22
Marlin/src/pins/pins_CHEAPTRONICv2.h

@ -109,7 +109,7 @@
#endif
//
// LCD
// LCD / Controller
//
#define LCD_PINS_RS 19
#define LCD_PINS_ENABLE 42
@ -119,12 +119,18 @@
#define LCD_PINS_D7 40
//
// SD CARD, ROTARY ENCODER, BEEPER
// Beeper, SD Card, Encoder
//
#define SDPOWER -1
#define SDSS 53
#define SD_DETECT_PIN 49
#define BEEPER_PIN 44
#define BTN_EN1 11
#define BTN_EN2 12
#define BTN_ENC 43
#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

55
Marlin/src/pins/pins_RL200.h

@ -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"

51
Marlin/src/pins/pins_RUMBA.h

@ -76,17 +76,23 @@
#define Z_DIR_PIN 56
#define Z_ENABLE_PIN 62
#define E0_STEP_PIN 23
#define E0_DIR_PIN 22
#define E0_ENABLE_PIN 24
#ifndef E0_STEP_PIN
#define E0_STEP_PIN 23
#define E0_DIR_PIN 22
#define E0_ENABLE_PIN 24
#endif
#define E1_STEP_PIN 26
#define E1_DIR_PIN 25
#define E1_ENABLE_PIN 27
#ifndef E1_STEP_PIN
#define E1_STEP_PIN 26
#define E1_DIR_PIN 25
#define E1_ENABLE_PIN 27
#endif
#define E2_STEP_PIN 29
#define E2_DIR_PIN 28
#define E2_ENABLE_PIN 39
#if E1_STEP_PIN != 29
#define E2_STEP_PIN 29
#define E2_DIR_PIN 28
#define E2_ENABLE_PIN 39
#endif
//
// Temperature Sensors
@ -140,7 +146,6 @@
//
// Misc. Functions
//
#define SDSS 53
#define LED_PIN 13
#define PS_ON_PIN 45
#define KILL_PIN 46
@ -162,13 +167,6 @@
//
// 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)
#define LCD_PINS_DC 38 // Set as output on init
#define LCD_PINS_RS 41 // Pull low for 1s to init
@ -184,3 +182,22 @@
#define LCD_PINS_D5 38
#define LCD_PINS_D6 41
#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

Loading…
Cancel
Save