Welcome! Log In Create A New Profile

Advanced

Problem with endstops X and Y axis

Posted by chrobry 
Problem with endstops X and Y axis
September 08, 2014 10:16AM
Hi everybody,
I am building my Prusa i3 Rework printer 3d. I everything done as showed in instruction on reprap.org. Now, I done few tests. It looks that everything is working but without two endstops (X-axis and Y-axis). I uploaded Sprinter on Arduino. I tried connecting the Z-axis endstop (which is working ok) to X-axis but it is also failed.
How can I check what is wrong?

Ramps 1.4, Nema 17, Arduino Mega 2560, endstops v 1.2

Edited 1 time(s). Last edit at 09/08/2014 10:34AM by chrobry.
Re: Problem with endstops X and Y axis
September 08, 2014 02:49PM
If the X-endstop is on the right side you need to set it as a MAX endstop in sprinter and connect the wires to the MAX position on the RAMPS board. If it's on the left it's a MIN endstop.

Same for the Y-endstop. If it's at the back it will be a MIN endstop, if it's at the front it will be a MAX endstop

See my Instructable:
[www.instructables.com]
and
[www.instructables.com]
Re: Problem with endstops X and Y axis
September 12, 2014 08:50AM
Hello,

I am testing my printer with Sprinter firmware. Your advices don't work sad smiley. Below, I posted my config file. Everything is working perfect, but two endstops don't stop motors, when endstop is triggered. Axes X and Y have connected endstops in the opposite way than in your project. Please, help me!

Quote
Config.h
#ifndef CONFIGURATION_H
#define CONFIGURATION_H

#define MOTHERBOARD 33

#define THERMISTORHEATER 1
#define THERMISTORBED 1

float axis_steps_per_unit[] = {53.333, 53.333, 3200/1.25, 618};

#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
const bool ENDSTOPS_INVERTING = true; //set to true to invert the logic of the endstops

#define BAUDRATE 115200
#define SDSUPPORT

#include "thermistortables.h"

#define X_ENABLE_ON 0
#define Y_ENABLE_ON 0
#define Z_ENABLE_ON 0
#define E_ENABLE_ON 0

const bool DISABLE_X = true;
const bool DISABLE_Y = true;
const bool DISABLE_Z = true; //false; //true;
const bool DISABLE_E = false;

const bool INVERT_X_DIR = false;
const bool INVERT_Y_DIR = false;
const bool INVERT_Z_DIR = true;
const bool INVERT_E_DIR = true;

#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR -1

const bool min_software_endstops = false; //If true, axis won't move to coordinates less than zero.
const bool max_software_endstops = false; //If true, axis won't move to coordinates greater than the defined lengths below.
const int X_MAX_LENGTH = 200; //200; //
const int Y_MAX_LENGTH = 200; //200;
const int Z_MAX_LENGTH = 135;

const int NUM_AXIS = 4; // The axis order in all axis related arrays is X, Y, Z, E
float max_feedrate[] = {200000, 200000, 240, 500000};
float homing_feedrate[] = {1500,1500,120};
bool axis_relative_modes[] = {false, false, false, false};
#define RAMP_ACCELERATION

#ifdef RAMP_ACCELERATION
float max_start_speed_units_per_second[] = {25.0,25.0,0.2,10.0}; // //10 for mosaic?
long max_acceleration_units_per_sq_second[] = {1000,1000,50,10000}; // X, Y, Z and E max acceleration in mm/s^2 for printing moves or retracts //100 Z for mosaic
long max_travel_acceleration_units_per_sq_second[] = {500,500,50,500}; // X, Y, Z max acceleration in mm/s^2 for travel moves //100 Z for mosaic
#endif
char uuid[] = "00000000-0000-0000-0000-000000000000";

#ifdef PIDTEMP
#define PID_MAX 255 // limits current to nozzle
#define PID_INTEGRAL_DRIVE_MAX 220
#define PID_PGAIN 180 //100 is 1.0
#define PID_IGAIN 2 //100 is 1.0
#define PID_DGAIN 100 //100 is 1.0
#endif


#define HEATER_CHECK_INTERVAL 500
#define BED_CHECK_INTERVAL 5000

#define DISABLE_CHECK_DURING_ACC
#ifndef DISABLE_CHECK_DURING_ACC


#endif
#define DISABLE_CHECK_DURING_TRAVEL 1000

#define MINTEMP 5
#define MAXTEMP 245

#define HEATER_USES_THERMISTOR
#define BED_USES_THERMISTOR

#ifdef DEBUG
#endif

#endif

Edited 1 time(s). Last edit at 09/12/2014 12:49PM by chrobry.
Re: Problem with endstops X and Y axis
September 23, 2014 12:45PM
Hello,

I resolved my problem. My RAMPS board is a bit different. Endstops pins are connected in the another place in the RAMPS than usually.
Re: Problem with endstops X and Y axis
September 24, 2014 03:52AM
What?


_______________________________________
Waitaki 3D Printer
Re: Problem with endstops X and Y axis
September 24, 2014 08:54AM
Quote
chrobry
I resolved my problem. My RAMPS board is a bit different. Endstops pins are connected in the another place in the RAMPS than usually.
Then it's probably not a RAMPS board. Can you post a picture or a link to where you bought it?
Sorry, only registered users may post in this forum.

Click here to login