Browse Source

Support for Gen3 Monolithic electronics

Techzone Monotronics support, ignoring the tip manager and using fan connector as on Sprinter FW
TODO: Add support for tipmanager
Alejandro Romero 10 years ago
parent
commit
1c9a70cee9
3 changed files with 71 additions and 0 deletions
  1. 1
    0
      Marlin/Configuration.h
  2. 5
    0
      Marlin/Makefile
  3. 65
    0
      Marlin/pins.h

+ 1
- 0
Marlin/Configuration.h View File

63
 // 82 = Brainwave (AT90USB646)
63
 // 82 = Brainwave (AT90USB646)
64
 // 83 = SAV Mk-I (AT90USB1286)
64
 // 83 = SAV Mk-I (AT90USB1286)
65
 // 9  = Gen3+
65
 // 9  = Gen3+
66
+// 22 = Gen3 Monolithic Electronics
66
 // 70 = Megatronics
67
 // 70 = Megatronics
67
 // 701= Megatronics v2.0
68
 // 701= Megatronics v2.0
68
 // 702= Minitronics v1.0
69
 // 702= Minitronics v1.0

+ 5
- 0
Marlin/Makefile View File

157
 HARDWARE_VARIANT ?= Sanguino
157
 HARDWARE_VARIANT ?= Sanguino
158
 MCU              ?= atmega644p
158
 MCU              ?= atmega644p
159
 
159
 
160
+#Gen3 Monolithic Electronics
161
+else ifeq  ($(HARDWARE_MOTHERBOARD),22)
162
+HARDWARE_VARIANT ?= Sanguino
163
+MCU              ?= atmega644p
164
+
160
 #Megatronics
165
 #Megatronics
161
 else ifeq  ($(HARDWARE_MOTHERBOARD),70)
166
 else ifeq  ($(HARDWARE_MOTHERBOARD),70)
162
 HARDWARE_VARIANT ?= arduino
167
 HARDWARE_VARIANT ?= arduino

+ 65
- 0
Marlin/pins.h View File

1911
 
1911
 
1912
 #endif
1912
 #endif
1913
 
1913
 
1914
+/****************************************************************************************
1915
+* Gen3  Monolithic Electronics
1916
+*
1917
+****************************************************************************************/
1918
+#if MOTHERBOARD == 22
1919
+#define KNOWN_BOARD 1
1920
+
1921
+#ifndef __AVR_ATmega644P__
1922
+    #error Oops!  Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu.
1923
+#endif
1924
+
1925
+#define DEBUG_PIN 0
1926
+
1927
+// x axis
1928
+#define X_STEP_PIN 15
1929
+#define X_DIR_PIN 18
1930
+#define X_MIN_PIN 20
1931
+//Alex Checar #define X_STOP_PIN         20
1932
+#define X_ENABLE_PIN 24 //actually uses Y_enable_pin
1933
+#define X_MAX_PIN -1
1934
+
1935
+// y axes
1936
+#define Y_STEP_PIN 23
1937
+#define Y_DIR_PIN 22
1938
+#define Y_MIN_PIN 25
1939
+//Alex Checar #define Y_STOP_PIN         25
1940
+#define Y_ENABLE_PIN 24 //shared with X_enable_pin
1941
+#define Y_MAX_PIN -1
1942
+
1943
+// z axes
1944
+#define Z_STEP_PIN 27
1945
+#define Z_DIR_PIN 28
1946
+#define Z_MIN_PIN 30
1947
+//Alex Checar #define Z_STOP_PIN         30
1948
+#define Z_ENABLE_PIN 29
1949
+#define Z_MAX_PIN -1
1950
+
1951
+//extruder pins
1952
+#define E0_STEP_PIN         12
1953
+#define E0_DIR_PIN          17
1954
+#define E0_ENABLE_PIN       3
1914
 
1955
 
1956
+#define HEATER_0_PIN 16
1957
+#define TEMP_0_PIN 0
1958
+
1959
+#define FAN_PIN -1
1960
+
1961
+//bed pins
1962
+#define HEATER_BED_PIN -1
1963
+#define TEMP_BED_PIN -1
1964
+
1965
+
1966
+#define SDSS		 -1
1967
+#define SDPOWER          -1
1968
+#define LED_PIN          -1
1969
+
1970
+//pin for controlling the PSU.
1971
+#define PS_ON_PIN       14	//Alex, Do this work on the card?
1972
+
1973
+//Alex extras from Gen3+
1974
+#define KILL_PIN           -1
1975
+#define TEMP_1_PIN         -1
1976
+#define TEMP_2_PIN         -1
1977
+#define HEATER_2_PIN       -1
1978
+
1979
+#endif
1915
 
1980
 
1916
 /****************************************************************************************
1981
 /****************************************************************************************
1917
 * Open Motion controller with enable based extruders
1982
 * Open Motion controller with enable based extruders

Loading…
Cancel
Save