Re: Sensor LJ18A3-8-Z BX NPN NO - problem with Prusa i3 November 11, 2016 04:55AM |
Registered: 7 years ago Posts: 759 |
Re: Sensor LJ18A3-8-Z BX NPN NO - problem with Prusa i3 November 11, 2016 05:12AM |
Registered: 9 years ago Posts: 111 |
Quote
obewan
LJ18A3-8-Z BY PNP NO still 8 mm sense range
Quote
obewan
but the output is reversed so you need to set endstop inverting to 'true' for this one
and dissable the endstp pullup option
#define USE_XMIN_PLUG #define USE_YMIN_PLUG #define USE_ZMIN_PLUG //#define USE_XMAX_PLUG //#define USE_YMAX_PLUG //#define USE_ZMAX_PLUG // coarse Endstop Settings #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors #if DISABLED(ENDSTOPPULLUPS) // fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined //#define ENDSTOPPULLUP_XMAX //#define ENDSTOPPULLUP_YMAX //#define ENDSTOPPULLUP_ZMAX //#define ENDSTOPPULLUP_XMIN //#define ENDSTOPPULLUP_YMIN //#define ENDSTOPPULLUP_ZMIN //#define ENDSTOPPULLUP_ZMIN_PROBE #endif // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup). #define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. #define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. #define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. #define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. #define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. #define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. #define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
Re: Sensor LJ18A3-8-Z BX NPN NO - problem with Prusa i3 November 13, 2016 09:00PM |
Registered: 8 years ago Posts: 916 |
Re: Sensor LJ18A3-8-Z BX NPN NO - problem with Prusa i3 November 14, 2016 03:36AM |
Registered: 9 years ago Posts: 111 |
Re: Sensor LJ18A3-8-Z BX NPN NO - problem with Prusa i3 July 05, 2019 05:58PM |
Registered: 4 years ago Posts: 4 |
Re: Sensor LJ18A3-8-Z BX NPN NO - problem with Prusa i3 July 06, 2019 08:05PM |
Registered: 6 years ago Posts: 134 |
Re: Sensor LJ18A3-8-Z BX NPN NO - problem with Prusa i3 July 07, 2019 03:49AM |
Admin Registered: 11 years ago Posts: 3,096 |
Quote
piper3d
Run google search and use schematics with a voltage divider (2 resistors).
Re: Sensor LJ18A3-8-Z BX NPN NO - problem with Prusa i3 July 08, 2019 11:11AM |
Registered: 4 years ago Posts: 4 |