Prusa MINI Firmware overview
pins_MEGATRONICS_3.h File Reference

Go to the source code of this file.

Macros

#define BOARD_INFO_NAME   "Megatronics v3.0"
 
#define SERVO0_PIN   46
 
#define SERVO1_PIN   47
 
#define SERVO2_PIN   48
 
#define SERVO3_PIN   49
 
#define X_MIN_PIN   37
 
#define X_MAX_PIN   40
 
#define Y_MIN_PIN   41
 
#define Y_MAX_PIN   38
 
#define Z_MIN_PIN   18
 
#define Z_MAX_PIN   19
 
#define Z_MIN_PROBE_PIN   19
 
#define X_STEP_PIN   58
 
#define X_DIR_PIN   57
 
#define X_ENABLE_PIN   59
 
#define Y_STEP_PIN   5
 
#define Y_DIR_PIN   17
 
#define Y_ENABLE_PIN   4
 
#define Z_STEP_PIN   16
 
#define Z_DIR_PIN   11
 
#define Z_ENABLE_PIN   3
 
#define E0_STEP_PIN   28
 
#define E0_DIR_PIN   27
 
#define E0_ENABLE_PIN   29
 
#define E1_STEP_PIN   25
 
#define E1_DIR_PIN   24
 
#define E1_ENABLE_PIN   26
 
#define E2_STEP_PIN   22
 
#define E2_DIR_PIN   60
 
#define E2_ENABLE_PIN   23
 
#define TEMP_0_PIN   15
 
#define TEMP_1_PIN   13
 
#define TEMP_2_PIN   12
 
#define TEMP_BED_PIN   14
 
#define HEATER_0_PIN   2
 
#define HEATER_1_PIN   9
 
#define HEATER_2_PIN   8
 
#define HEATER_BED_PIN   10
 
#define FAN_PIN   6
 
#define FAN1_PIN   7
 
#define SDSS   53
 
#define LED_PIN   13
 
#define PS_ON_PIN   12
 
#define CASE_LIGHT_PIN   45
 
#define BEEPER_PIN   61
 
#define BTN_EN1   44
 
#define BTN_EN2   45
 
#define BTN_ENC   33
 
#define LCD_PINS_RS   32
 
#define LCD_PINS_ENABLE   31
 
#define LCD_PINS_D4   14
 
#define LCD_PINS_D5   30
 
#define LCD_PINS_D6   39
 
#define LCD_PINS_D7   15
 
#define SHIFT_CLK   43
 
#define SHIFT_LD   35
 
#define SHIFT_OUT   34
 
#define SHIFT_EN   44
 
#define Y_ENABLE_PIN   23
 
#define Y_STEP_PIN   22
 
#define Y_DIR_PIN   60
 
#define SPINDLE_LASER_PWM_PIN   4
 
#define SPINDLE_LASER_ENA_PIN   17
 
#define SPINDLE_DIR_PIN   5
 

Macro Definition Documentation

◆ BOARD_INFO_NAME

#define BOARD_INFO_NAME   "Megatronics v3.0"

Marlin 3D Printer Firmware Copyright (c) 2019 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/. MegaTronics v3.0 / v3.1 / v3.2 pin assignments

◆ SERVO0_PIN

#define SERVO0_PIN   46

◆ SERVO1_PIN

#define SERVO1_PIN   47

◆ SERVO2_PIN

#define SERVO2_PIN   48

◆ SERVO3_PIN

#define SERVO3_PIN   49

◆ X_MIN_PIN

#define X_MIN_PIN   37

◆ X_MAX_PIN

#define X_MAX_PIN   40

◆ Y_MIN_PIN

#define Y_MIN_PIN   41

◆ Y_MAX_PIN

#define Y_MAX_PIN   38

◆ Z_MIN_PIN

#define Z_MIN_PIN   18

◆ Z_MAX_PIN

#define Z_MAX_PIN   19

◆ Z_MIN_PROBE_PIN

#define Z_MIN_PROBE_PIN   19

◆ X_STEP_PIN

#define X_STEP_PIN   58

◆ X_DIR_PIN

#define X_DIR_PIN   57

◆ X_ENABLE_PIN

#define X_ENABLE_PIN   59

◆ Y_STEP_PIN [1/2]

#define Y_STEP_PIN   5

◆ Y_DIR_PIN [1/2]

#define Y_DIR_PIN   17

◆ Y_ENABLE_PIN [1/2]

#define Y_ENABLE_PIN   4

◆ Z_STEP_PIN

#define Z_STEP_PIN   16

◆ Z_DIR_PIN

#define Z_DIR_PIN   11

◆ Z_ENABLE_PIN

#define Z_ENABLE_PIN   3

◆ E0_STEP_PIN

#define E0_STEP_PIN   28

◆ E0_DIR_PIN

#define E0_DIR_PIN   27

◆ E0_ENABLE_PIN

#define E0_ENABLE_PIN   29

◆ E1_STEP_PIN

#define E1_STEP_PIN   25

◆ E1_DIR_PIN

#define E1_DIR_PIN   24

◆ E1_ENABLE_PIN

#define E1_ENABLE_PIN   26

◆ E2_STEP_PIN

#define E2_STEP_PIN   22

◆ E2_DIR_PIN

#define E2_DIR_PIN   60

◆ E2_ENABLE_PIN

#define E2_ENABLE_PIN   23

◆ TEMP_0_PIN

#define TEMP_0_PIN   15

◆ TEMP_1_PIN

#define TEMP_1_PIN   13

◆ TEMP_2_PIN

#define TEMP_2_PIN   12

◆ TEMP_BED_PIN

#define TEMP_BED_PIN   14

◆ HEATER_0_PIN

#define HEATER_0_PIN   2

◆ HEATER_1_PIN

#define HEATER_1_PIN   9

◆ HEATER_2_PIN

#define HEATER_2_PIN   8

◆ HEATER_BED_PIN

#define HEATER_BED_PIN   10

◆ FAN_PIN

#define FAN_PIN   6

◆ FAN1_PIN

#define FAN1_PIN   7

◆ SDSS

#define SDSS   53

◆ LED_PIN

#define LED_PIN   13

◆ PS_ON_PIN

#define PS_ON_PIN   12

◆ CASE_LIGHT_PIN

#define CASE_LIGHT_PIN   45

◆ BEEPER_PIN

#define BEEPER_PIN   61

◆ BTN_EN1

#define BTN_EN1   44

◆ BTN_EN2

#define BTN_EN2   45

◆ BTN_ENC

#define BTN_ENC   33

◆ LCD_PINS_RS

#define LCD_PINS_RS   32

◆ LCD_PINS_ENABLE

#define LCD_PINS_ENABLE   31

◆ LCD_PINS_D4

#define LCD_PINS_D4   14

◆ LCD_PINS_D5

#define LCD_PINS_D5   30

◆ LCD_PINS_D6

#define LCD_PINS_D6   39

◆ LCD_PINS_D7

#define LCD_PINS_D7   15

◆ SHIFT_CLK

#define SHIFT_CLK   43

◆ SHIFT_LD

#define SHIFT_LD   35

◆ SHIFT_OUT

#define SHIFT_OUT   34

◆ SHIFT_EN

#define SHIFT_EN   44

◆ Y_ENABLE_PIN [2/2]

#define Y_ENABLE_PIN   23

◆ Y_STEP_PIN [2/2]

#define Y_STEP_PIN   22

◆ Y_DIR_PIN [2/2]

#define Y_DIR_PIN   60

◆ SPINDLE_LASER_PWM_PIN

#define SPINDLE_LASER_PWM_PIN   4

◆ SPINDLE_LASER_ENA_PIN

#define SPINDLE_LASER_ENA_PIN   17

◆ SPINDLE_DIR_PIN

#define SPINDLE_DIR_PIN   5