January 28, 2019 at 5:37 pm #86316
So now that I know it moves I want to update the firmware to the newest one Marlin 2.0 Marlin-MPCNC_Ramps_T8_16T_LCD_32step, but I need to set it for the LCD2004_GLCD, Enable min and max end stops, and swap Y axis and E1.
I’m not great at this firmware stuff and the new one is set up a little different with folders etc.
I found the pins_ramps and did the Y axis and E1 swap.
could use an assist on the others
other than the pins change everything is just as I downloaded from Ryan’s github.
ThanksJanuary 29, 2019 at 6:58 am #86377
You did the hard part! The other changes are just in configuration.h. You will comment out the LCD I have and choose the other LCD. Flash and test.
The endstops you have to enable and choose the logic you want (normally open, normally closed), flash test with M119.January 31, 2019 at 5:10 pm #86768
ok so I partially figured it out. wouldn’t compile at first because of the graphical splash screen stuff, but end stops are not working at all. no min, no max. my switches are normally open and there is the touch plate.
//============================== Endstop Settings ===========================
// @section homing
// Specify here all the endstop connectors that are connected to any endstop or probe.
// Almost all printers will be using one per axis. Probes will use one or more of the
// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
// Enable pullup for all endstops to prevent a floating state
// Disable ENDSTOPPULLUPS to set pullups individually
// Enable pulldown for all endstops to prevent a floating state
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
// Mechanical endstop with COM to ground and NC to Signal uses “false” here (most common setup).
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define Z_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define X_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define Y_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define Z_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
#define Z_MIN_PROBE_ENDSTOP_INVERTING true // set to true to invert the logic of the probe.
* Stepper Drivers
* These settings allow Marlin to tune stepper driver timing and enable advanced options for
* stepper drivers that support them. You may also override timing options in Configuration_adv.h.
* A4988 is assumed for unspecified drivers.
* Options: A4988, A5984, DRV8825, LV8729, L6470, TB6560, TB6600, TMC2100,
* TMC2130, TMC2130_STANDALONE, TMC2208, TMC2208_STANDALONE,
* TMC26X, TMC26X_STANDALONE, TMC2660, TMC2660_STANDALONE,
* TMC5130, TMC5130_STANDALONE
* :[‘A4988’, ‘A5984’, ‘DRV8825’, ‘LV8729’, ‘L6470’, ‘TB6560’, ‘TB6600’, ‘TMC2100’, ‘TMC2130’, ‘TMC2130_STANDALONE’, ‘TMC2208’, ‘TMC2208_STANDALONE’, ‘TMC26X’, ‘TMC26X_STANDALONE’, ‘TMC2660’, ‘TMC2660_STANDALONE’, ‘TMC5130’, ‘TMC5130_STANDALONE’]
#define X_DRIVER_TYPE DRV8825
#define Y_DRIVER_TYPE DRV8825
#define Z_DRIVER_TYPE DRV8825
#define X2_DRIVER_TYPE DRV8825
#define Y2_DRIVER_TYPE DRV8825
#define Z2_DRIVER_TYPE DRV8825
//#define Z3_DRIVER_TYPE A4988
#define E0_DRIVER_TYPE DRV8825
#define E1_DRIVER_TYPE DRV8825
#define E2_DRIVER_TYPE DRV8825
//#define E3_DRIVER_TYPE A4988
//#define E4_DRIVER_TYPE A4988
//#define E5_DRIVER_TYPE A4988
// Enable this feature if all enabled endstop pins are interrupt-capable.
// This will remove the need to poll the interrupt pins, saving many CPU cycles.
* Endstop Noise Threshold
* Enable if your probe or endstops falsely trigger due to noise.
* – Higher values may affect repeatability or accuracy of some bed probes.
* – To fix noise install a 100nF ceramic capacitor inline with the switch.
* – This feature is not required for common micro-switches mounted on PCBs
* based on the Makerbot design, which already have the 100nF capacitor.
//#define ENDSTOP_NOISE_THRESHOLD 2January 31, 2019 at 6:13 pm #86786
What does m119 say?February 1, 2019 at 3:51 pm #86938
18:45:57.117 : Reporting endstop status
18:45:57.117 : x_min: open
18:45:57.117 : x_max: open
18:45:57.117 : y_min: open
18:45:57.117 : y_max: open
18:45:57.117 : z_min: open
18:45:57.117 : z_max: open
with each switch activated
18:47:33.864 : Reporting endstop status
18:47:33.864 : x_min: TRIGGERED
18:47:33.864 : x_max: open
18:47:33.864 : y_min: open
18:47:33.864 : y_max: open
18:47:33.864 : z_min: open
18:47:33.864 : z_max: open
18:47:50.489 : Reporting endstop status
18:47:50.489 : x_min: open
18:47:50.489 : x_max: open
18:47:50.489 : y_min: open
18:47:50.489 : y_max: TRIGGERED
18:47:50.489 : z_min: open
18:47:50.489 : z_max: open
18:48:15.586 : Reporting endstop status
18:48:15.586 : x_min: open
18:48:15.586 : x_max: open
18:48:15.586 : y_min: TRIGGERED
18:48:15.586 : y_max: open
18:48:15.586 : z_min: open
18:48:15.586 : z_max: open
18:48:51.380 : Reporting endstop status
18:48:51.380 : x_min: open
18:48:51.380 : x_max: TRIGGERED
18:48:51.380 : y_min: open
18:48:51.380 : y_max: open
18:48:51.380 : z_min: open
18:48:51.380 : z_max: open
18:49:25.524 : Reporting endstop status
18:49:25.524 : x_min: open
18:49:25.524 : x_max: open
18:49:25.524 : y_min: open
18:49:25.524 : y_max: open
18:49:25.524 : z_min: open
18:49:25.524 : z_max: TRIGGERED
18:49:50.191 : Reporting endstop status
18:49:50.191 : x_min: open
18:49:50.191 : x_max: open
18:49:50.191 : y_min: open
18:49:50.191 : y_max: open
18:49:50.191 : z_min: TRIGGERED
18:49:50.191 : z_max: openFebruary 2, 2019 at 5:44 am #87022
So basically the switches all work as they should so why doesn’t it stop moving when they are triggered? I’m more confused now.February 2, 2019 at 7:05 am #87024
I only have the firmware set for trigger activation when homing (g28) they are off all other times to prevent false triggers.
1 user thanked author for this post.February 3, 2019 at 1:56 pm #87252
Thanks for the tip Ryan. I found the setting in the configuration.adv.h. All endstops now functioning. Motion is smooth. next test tomorrow I hope.February 6, 2019 at 8:04 am #87689
Tried to use sad card to run crown won’t read SD card Ug!February 6, 2019 at 8:27 am #87698
That’s SD but it did make me sadFebruary 7, 2019 at 4:58 am #87873
Smaller sd cards work best, need to be fat32.February 8, 2019 at 8:15 am #88098
Thanks Barry, tried 1GB fat32 still not reading can’t find smallerFebruary 8, 2019 at 9:36 am #88131
BarryParticipantFebruary 9, 2019 at 5:50 pm #88389
well I figured the SD problem out today my cards were too old and slow – 1gb was the “big one” got an new 8gb and it works fine.
ran the crown with a sharpie zip tide to the leg of the z cam out well enough to know I’m good. thanks guys.February 10, 2019 at 7:50 am #88464
Wow, really? I had no idea that could be a thing. It is almost always the bigger faster cards causing a problem for some reason.
I think it is time for a new LCD design with some updated components…V1 MPLCD…a kid can dream right?February 11, 2019 at 9:30 am #88670
You must be logged in to reply to this topic.