Browse Source

New board variant, Open Motion Controller

Open Hardware board currently used by the group build of http://tvrrug.org.uk
The board can be found at http://solderpad.com/folknology/open-motion-controller/

Signed-off-by: Michel Pollet <buserror@gmail.com>
Michel Pollet 13 years ago
parent
commit
5550e893d5
1 changed files with 155 additions and 0 deletions
  1. 155
    0
      Marlin/pins.h

+ 155
- 0
Marlin/pins.h View File

@@ -934,6 +934,161 @@
934 934
 
935 935
 
936 936
 
937
+/****************************************************************************************
938
+* Open Motion controller with enable based extruders
939
+*
940
+*                        ATMega644
941
+*
942
+*                        +---\/---+
943
+*            (D 0) PB0  1|        |40  PA0 (AI 0 / D31)
944
+*            (D 1) PB1  2|        |39  PA1 (AI 1 / D30)
945
+*       INT2 (D 2) PB2  3|        |38  PA2 (AI 2 / D29)
946
+*        PWM (D 3) PB3  4|        |37  PA3 (AI 3 / D28)
947
+*        PWM (D 4) PB4  5|        |36  PA4 (AI 4 / D27)
948
+*       MOSI (D 5) PB5  6|        |35  PA5 (AI 5 / D26)
949
+*       MISO (D 6) PB6  7|        |34  PA6 (AI 6 / D25)
950
+*        SCK (D 7) PB7  8|        |33  PA7 (AI 7 / D24)
951
+*                  RST  9|        |32  AREF
952
+*                  VCC 10|        |31  GND 
953
+*                  GND 11|        |30  AVCC
954
+*                XTAL2 12|        |29  PC7 (D 23)
955
+*                XTAL1 13|        |28  PC6 (D 22)
956
+*       RX0 (D 8)  PD0 14|        |27  PC5 (D 21) TDI
957
+*       TX0 (D 9)  PD1 15|        |26  PC4 (D 20) TDO
958
+*  INT0 RX1 (D 10) PD2 16|        |25  PC3 (D 19) TMS
959
+*  INT1 TX1 (D 11) PD3 17|        |24  PC2 (D 18) TCK
960
+*       PWM (D 12) PD4 18|        |23  PC1 (D 17) SDA
961
+*       PWM (D 13) PD5 19|        |22  PC0 (D 16) SCL
962
+*       PWM (D 14) PD6 20|        |21  PD7 (D 15) PWM
963
+*                        +--------+
964
+*
965
+****************************************************************************************/
966
+#if MOTHERBOARD == 90 //Alpha OMCA board
967
+#define KNOWN_BOARD 1
968
+
969
+#ifndef __AVR_ATmega644__
970
+#error Oops!  Make sure you have 'SanguinoA' selected from the 'Tools -> Boards' menu.
971
+#endif
972
+
973
+#define X_STEP_PIN         21
974
+#define X_DIR_PIN          20
975
+#define X_ENABLE_PIN       24
976
+#define X_MIN_PIN          0
977
+#define X_MAX_PIN          -1
978
+
979
+#define Y_STEP_PIN         23
980
+#define Y_DIR_PIN          22
981
+#define Y_ENABLE_PIN       24
982
+#define Y_MIN_PIN          1
983
+#define Y_MAX_PIN          -1
984
+
985
+#define Z_STEP_PIN         26
986
+#define Z_DIR_PIN          25
987
+#define Z_ENABLE_PIN       24
988
+#define Z_MIN_PIN          2
989
+#define Z_MAX_PIN          -1
990
+
991
+#define E0_STEP_PIN         28
992
+#define E0_DIR_PIN          27
993
+#define E0_ENABLE_PIN       24
994
+
995
+#define E1_STEP_PIN         -1 // 19
996
+#define E1_DIR_PIN          -1 // 18
997
+#define E1_ENABLE_PIN       24
998
+
999
+#define E2_STEP_PIN         -1 // 17
1000
+#define E2_DIR_PIN          -1 // 16
1001
+#define E2_ENABLE_PIN       24
1002
+
1003
+#define SDPOWER            -1
1004
+#define SDSS               11
1005
+#define SDCARDDETECT       -1 // 10 optional also used as mode pin
1006
+#define LED_PIN            -1
1007
+#define FAN_PIN            3
1008
+#define PS_ON_PIN          -1
1009
+#define KILL_PIN           -1
1010
+
1011
+#define HEATER_0_PIN       4
1012
+#define HEATER_1_PIN       -1 // 12 
1013
+#define HEATER_2_PIN       -1 // 13
1014
+#define TEMP_0_PIN          0 //D27   // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
1015
+#define TEMP_1_PIN         -1 // 1
1016
+#define TEMP_2_PIN         -1 // 2
1017
+#define HEATER_BED_PIN     -1 // 14/15
1018
+#define TEMP_BED_PIN       -1 // 1,2 or I2C
1019
+/*  Unused (1) (2) (3) 4 5 6 7 8 9 10 11 12 13 (14) (15) (16) 17 (18) (19) (20) (21) (22) (23) 24 (25) (26) (27) 28 (29) (30) (31)  */
1020
+
1021
+#endif
1022
+
1023
+#if MOTHERBOARD == 91  // Final OMCA board -- REF http://sanguino.cc/hardware
1024
+#define KNOWN_BOARD 1
1025
+
1026
+#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__)
1027
+#error Oops!  Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu. (Final OMCA board)
1028
+#endif
1029
+
1030
+#define X_STEP_PIN         26
1031
+#define X_DIR_PIN          25
1032
+#define X_ENABLE_PIN       10
1033
+#define X_MIN_PIN          0
1034
+#define X_MAX_PIN          -1
1035
+
1036
+#define Y_STEP_PIN         28
1037
+#define Y_DIR_PIN          27
1038
+#define Y_ENABLE_PIN       10
1039
+#define Y_MIN_PIN          1
1040
+#define Y_MAX_PIN          -1
1041
+
1042
+#define Z_STEP_PIN         23
1043
+#define Z_DIR_PIN          22
1044
+#define Z_ENABLE_PIN       10
1045
+#define Z_MIN_PIN          2
1046
+#define Z_MAX_PIN          -1
1047
+
1048
+#define E0_STEP_PIN         24
1049
+#define E0_DIR_PIN          21
1050
+#define E0_ENABLE_PIN       10
1051
+
1052
+/* future proofing */
1053
+#define __FS	20
1054
+#define __FD	19
1055
+#define __GS	18
1056
+#define __GD	13
1057
+
1058
+#define UNUSED_PWM           14	/* PWM on LEFT connector */
1059
+
1060
+#define E1_STEP_PIN         -1 // 21
1061
+#define E1_DIR_PIN          -1 // 20
1062
+#define E1_ENABLE_PIN       -1 // 19
1063
+
1064
+#define E2_STEP_PIN         -1 // 21
1065
+#define E2_DIR_PIN          -1 // 20
1066
+#define E2_ENABLE_PIN       -1 // 18
1067
+
1068
+#define SDPOWER            -1
1069
+#define SDSS               11
1070
+#define SDCARDDETECT       -1 // 10 optional also used as mode pin
1071
+#define LED_PIN            -1
1072
+#define FAN_PIN            14 /* PWM on MIDDLE connector */
1073
+#define PS_ON_PIN          -1
1074
+#define KILL_PIN           -1
1075
+
1076
+#define HEATER_0_PIN        3 /*DONE PWM on RIGHT connector */
1077
+#define HEATER_1_PIN       -1 
1078
+#define HEATER_2_PIN       -1
1079
+#define HEATER_1_PIN       -1 
1080
+#define HEATER_2_PIN       -1
1081
+#define TEMP_0_PIN          0 // ANALOG INPUT NUMBERING 
1082
+#define TEMP_1_PIN          1 // ANALOG
1083
+#define TEMP_2_PIN         -1 // 2
1084
+#define HEATER_BED_PIN      4
1085
+#define TEMP_BED_PIN        2 // 1,2 or I2C
1086
+
1087
+#define I2C_SCL				16
1088
+#define I2C_SDA				17
1089
+
1090
+#endif
1091
+
937 1092
 
938 1093
 #ifndef KNOWN_BOARD
939 1094
 #error Unknown MOTHERBOARD value in configuration.h

Loading…
Cancel
Save