diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d4f89da --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SphereBot Arduino/SphereBot/config2.h \ No newline at end of file diff --git a/SphereBot Arduino/SphereBot/config2.h b/SphereBot Arduino/SphereBot/config2.h index 1e88d8e..fcff3c0 100644 --- a/SphereBot Arduino/SphereBot/config2.h +++ b/SphereBot Arduino/SphereBot/config2.h @@ -5,11 +5,12 @@ */ // Y-Axis -#define YAXIS_DIR_PIN 14 -#define YAXIS_STEP_PIN 15 -#define YAXIS_ENABLE_PIN 21 +#define YAXIS_DIR_PIN 9 +#define YAXIS_STEP_PIN 8 +#define YAXIS_ENABLE_PIN 7 #define YAXIS_MS1_PIN -1 #define YAXIS_MS2_PIN -1 +#define YAXIS_MS3_PIN -1 #define YAXIS_ENDSTOP_PIN -1 // -1 -> No Endstop #define YAXIS_VMS1 HIGH #define YAXIS_VMS2 HIGH @@ -21,10 +22,11 @@ //X-Axis #define XAXIS_DIR_PIN 10 -#define XAXIS_STEP_PIN 8 -#define XAXIS_ENABLE_PIN 2 +#define XAXIS_STEP_PIN 11 +#define XAXIS_ENABLE_PIN 12 #define XAXIS_MS1_PIN -1 #define XAXIS_MS2_PIN -1 +#define XAXIS_MS3_PIN -1 #define XAXIS_ENDSTOP_PIN -1 // -1 -> No Endstop #define XAXIS_VMS1 HIGH #define XAXIS_VMS2 HIGH @@ -34,17 +36,18 @@ #define XAXIS_STEPS_PER_FULL_ROTATION 200.0 #define XAXIS_MICROSTEPPING 8 -#define SERVO_PIN 13 +#define SERVO_PIN 2 /* * Other Configuration */ -#define DEFAULT_PEN_UP_POSITION 35 +#define DEFAULT_PEN_UP_POSITION 90 -#define DEFAULT_ZOOM_FACTOR 0.1808 // With a Zoom-Faktor of .65, I can print gcode for Makerbot Unicorn without changes. - // The zoom factor can be also manipulated by the propretiary code M402 - +#define DEFAULT_ZOOM_FACTOR 0.1808//0.65 //0.1808 // // With a Zoom-Faktor of .65, I can print gcode for Makerbot Unicorn without changes. + // The zoom factor can be also manipulated by the propretiary code M402 +#define X_SCALING_FACTOR 1.71/2 //this factor is for correction to meet the unicorn coordinates +#define Y_SCALING_FACTOR 1.0 /* * Microstepping Information */