Welcome! Log In Create A New Profile

Advanced

BLTouch/3D touch help with mks base v1.4 board

Posted by bentech4u 
BLTouch/3D touch help with mks base v1.4 board
January 20, 2020 04:40AM
HI Forum,

i am new to Touch sensors. I got a 3d Touch (clone BLTouch) and i did the wiring based like below



Also i did the marlin firmware changes, i am using 1.1.9, below are the changes i did



when i run the gcodes , the touch sensor pins are reacting to it.eg:

M280 P0 S160 : clearing alarm ( stops LED blinking)

M280 P0 S10 : pin goes down

M280 P0 S90: pin goes in

in both cases (pin out & in ) m119 is showing open. But when i push and hold the pin , sensor triggring the alarm(led blinks) and that time m119 is showing triggred.

anyone please help me to solve this issue.
Re: BLTouch/3D touch help with mks base v1.4 board
January 20, 2020 09:49AM
after some software changes the behavior changed

M280 P0 S10 : pin goes down : m119 shows open

M280 P0 S90: pin goes in : m119 shows triggered

, but when i try to home all, after touching bed also z axis is moving down and it is stopping only when the 3dtouch goes into alarm state
Re: BLTouch/3D touch help with mks base v1.4 board
January 20, 2020 10:17AM
HI

here is what i am facing now

video of issue
Re: BLTouch/3D touch help with mks base v1.4 board
January 21, 2020 10:16AM
any help sad smiley

here is the issue [youtu.be]
Re: BLTouch/3D touch help with mks base v1.4 board
January 21, 2020 10:34AM
can you attach your complete configuration.h pls
Re: BLTouch/3D touch help with mks base v1.4 board
January 21, 2020 10:36AM
Thanks for responding. here i am attaching my configuration files
Attachments:
open | download - Configuration.h (70.4 KB)
open | download - Configuration_adv.h (71.4 KB)
Re: BLTouch/3D touch help with mks base v1.4 board
January 21, 2020 03:48PM
I dont think the 3dtouch needs the pullup resistor enabled as it uses a hall effect sensor.
Try disabling it with

// Enable pullup for all endstops to prevent a floating state
//#define ENDSTOPPULLUPS
#if DISABLED(ENDSTOPPULLUPS)
// Disable ENDSTOPPULLUPS to set pullups individually
#define ENDSTOPPULLUP_XMAX
#define ENDSTOPPULLUP_YMAX
#define ENDSTOPPULLUP_ZMAX
#define ENDSTOPPULLUP_XMIN
#define ENDSTOPPULLUP_YMIN
//#define ENDSTOPPULLUP_ZMIN
//#define ENDSTOPPULLUP_ZMIN_PROBE
#endif
Re: BLTouch/3D touch help with mks base v1.4 board
January 21, 2020 04:22PM
HI

i have configured marlin 2.0-bugfix on the same board and it got fixed.

now G28 is working as expected, but G29 is probing out of bed.

i have enabled AUTO_BED_LEVELING_UBL
Attachments:
open | download - Configuration.h (81.6 KB)
open | download - Configuration_adv.h (121 KB)
Re: BLTouch/3D touch help with mks base v1.4 board
January 24, 2020 02:12PM
Quote
bentech4u
HI

i have configured marlin 2.0-bugfix on the same board and it got fixed.

now G28 is working as expected, but G29 is probing out of bed.

i have enabled AUTO_BED_LEVELING_UBL

Did you reinitialize your EEPROM with M502 after uploading your new firmware? The NOZZLE_TO_PROBE_OFFSET is now stored in EEPROM and needs to be initialized correctly. Use M851 to ensure that the stored value is the same as your NOZZLE_TO_PROBE_OFFSET.
Your configuration files look OK to me, so that's the most likely culprit.
I assume that if you home with "G28" and do a "G0 X0 Y0" the nozzle ends up exactly at the front-left corner of the bed?
Re: BLTouch/3D touch help with mks base v1.4 board
May 25, 2020 05:59PM
Could someone clarify what is the correct ENDSTOPPULLUPS Marlin 2 settings for 3d touch?

obewan said:

Quote
obewan
I dont think the 3dtouch needs the pullup resistor enabled as it uses a hall effect sensor.
Try disabling it with

// Enable pullup for all endstops to prevent a floating state
//#define ENDSTOPPULLUPS
#if DISABLED(ENDSTOPPULLUPS)
// Disable ENDSTOPPULLUPS to set pullups individually
#define ENDSTOPPULLUP_XMAX
#define ENDSTOPPULLUP_YMAX
#define ENDSTOPPULLUP_ZMAX
#define ENDSTOPPULLUP_XMIN
#define ENDSTOPPULLUP_YMIN
//#define ENDSTOPPULLUP_ZMIN
//#define ENDSTOPPULLUP_ZMIN_PROBE
#endif

I have:

// Enable pullup for all endstops to prevent a floating state
#define ENDSTOPPULLUPS
#if DISABLED(ENDSTOPPULLUPS)
// Disable ENDSTOPPULLUPS to set pullups individually
//#define ENDSTOPPULLUP_XMAX
//#define ENDSTOPPULLUP_YMAX
//#define ENDSTOPPULLUP_ZMAX
//#define ENDSTOPPULLUP_XMIN
//#define ENDSTOPPULLUP_YMIN
//#define ENDSTOPPULLUP_ZMIN
//#define ENDSTOPPULLUP_ZMIN_PROBE
#endif

My 3d touch works but probing fails often enough for me to not fully trust it.

Could it be because my ENDSTOPPULLUPS setting? can I change it to settings suggested by Obewan without risking frying anything?
Re: BLTouch/3D touch help with mks base v1.4 board
May 27, 2020 01:22PM
Most sensors should work either way. I believe this one will also.
Using the pullups will reduce noise and provide an inactive condition if the connection is open.
Changing it will not fry anything.
Removing pullups will reduce current.
The only reason to do that is if the sensor is not capable of pulling down the added current. I do not think that is the issue.
You need to verify that the 5V is 5V at the sensor and you have a good ground.
You need to verify you do not have noisy lines which could result if the wires are run too close to fan or stepper motor wires.
This mostly happens with thermistor lines and depends on the impedance of the sensor. This should be low enough, but........
Re: BLTouch/3D touch help with mks base v1.4 board
May 28, 2020 05:54AM
Thank you for your response.

How to verify if i have a good ground?

Wires have to go to the hot end in one bunch. How to make 3D touch wires to be away from motor and fan wires?
Re: BLTouch/3D touch help with mks base v1.4 board
May 28, 2020 08:54AM
Usually a physical inspection can reveal that, but a DVM comes in handy here. Measure the resistance of the line from the sensor to the power supply ground. It should be < 1Ω.

Most control boards and sensors have bypass capacitors. If yours does not, you can add them or maybe add additional ones to the sensor.

You can twist wires for thermistor, fan, motor, sensors.
Thermistor is most sensitive. My fan drove mine crazy.
Twisting will shorten the wires so you may need to add to them.

Don't ignore the fact that there may be something wrong with your 3Dtouch.
You can't do much to troubleshoot that without a scope except replace it.
Sorry, only registered users may post in this forum.

Click here to login