blob: 638281bb78e8ea57b73a6b49ba41e3489226ffc7 (
plain)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
//#define SANGUINO
#ifdef SANGUINO
/****************************************************************************************
* Sanguino digital i/o pin assignment
*
****************************************************************************************/
//cartesian bot pins
#define X_STEP_PIN 15
#define X_DIR_PIN 18
#define X_MIN_PIN 20
#define X_MAX_PIN 21
#define X_ENABLE_PIN 19
#define Y_STEP_PIN 22
#define Y_DIR_PIN 23
#define Y_MIN_PIN 25
#define Y_MAX_PIN 26
#define Y_ENABLE_PIN 19
#define Z_STEP_PIN 29
#define Z_DIR_PIN 30
#define Z_MIN_PIN 1
#define Z_MAX_PIN 2
#define Z_ENABLE_PIN 31
//extruder pins
#define EXTRUDER_0_MOTOR_SPEED_PIN 12
#define EXTRUDER_0_MOTOR_DIR_PIN 16
#define EXTRUDER_0_HEATER_PIN 14
#define EXTRUDER_0_FAN_PIN 3
#define EXTRUDER_0_THERMISTOR_PIN -1 //a -1 disables thermistor readings
#define EXTRUDER_0_THERMOCOUPLE_PIN 4 //a -1 disables thermocouple readings
#define EXTRUDER_0_VALVE_DIR_PIN 17
#define EXTRUDER_0_VALVE_ENABLE_PIN 13 // Valve needs to be redesigned not to need this
/*
#define EXTRUDER_1_MOTOR_SPEED_PIN 99
#define EXTRUDER_1_MOTOR_DIR_PIN 99
#define EXTRUDER_1_HEATER_PIN 99
#define EXTRUDER_1_FAN_PIN 99
#define EXTRUDER_1_THERMISTOR_PIN 99 //a -1 disables thermistor readings
#define EXTRUDER_1_THERMOCOUPLE_PIN 99 //a -1 disables thermocouple readings
#define EXTRUDER_1_VALVE_DIR_PIN 99
#define EXTRUDER_1_VALVE_ENABLE_PIN 99
*/
#else
// Arduino cartesian bot pins
#define X_STEP_PIN 2
#define X_DIR_PIN 3
#define X_MIN_PIN 4
#define X_MAX_PIN 9
//#define X_ENABLE_PIN 15
#define Y_STEP_PIN 10
#define Y_DIR_PIN 7
#define Y_MIN_PIN 8
#define Y_MAX_PIN 13
//#define Y_ENABLE_PIN 15
#define Z_STEP_PIN 19
#define Z_DIR_PIN 18
#define Z_MIN_PIN 17
#define Z_MAX_PIN 16
//#define Z_ENABLE_PIN 15
//extruder pins
#define EXTRUDER_0_MOTOR_SPEED_PIN 11
#define EXTRUDER_0_MOTOR_DIR_PIN 12
#define EXTRUDER_0_HEATER_PIN 6
#define EXTRUDER_0_FAN_PIN 5
#define EXTRUDER_0_THERMISTOR_PIN -1 //a -1 disables thermistor readings
#define EXTRUDER_0_THERMOCOUPLE_PIN 0 //a -1 disables thermocouple readings
#define EXTRUDER_0_VALVE_ENABLE_PIN 15
#define EXTRUDER_0_VALVE_DIR_PIN 16 //NB: Conflicts with Max Z!!!!
#endif
|