|
@@ -1911,7 +1911,72 @@
|
1911
|
1911
|
|
1912
|
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
|
1982
|
* Open Motion controller with enable based extruders
|