Welcome! Log In Create A New Profile

Advanced

3D Touch for Hictop

Posted by Roberts_Clif 
3D Touch for Hictop
September 08, 2020 05:33PM
3-pin: Brown (-, GND), Red (+5V), Orange (control signal) (Z-Max)
2-pin: Black (-, GND), White (Z min)



Making sure the pin configuration is correct.
Connect the 3 pin wire to the Z max pin.
Connect the 2 pin wire to the Z min pin.

Marlin Code Changes
#define NUM_SERVOS 1 // Servo index starts with 0 for M280 command

#define SERVO_ENDSTOPS {-1, -1, 0} // Servo index for X, Y, Z. Disable with -1
#define SERVO_ENDSTOP_ANGLES {0,0, 0,0, 10,90} // X,Y,Z Axis
#define Z_MAX_PIN -1 //Old pin 19
#define SERVO0_PIN 19 //Old pin 6

OK I have come up with an Ideal can anyone help me and tell me if this looks correct.

Quote

When 3D Touch is first powered up it does a self test
Starting with the pin up it them goes down/up 3 times and ends up the the LED on solid.
Continuous flashing means that there is an obstruction or fault.

The 3D Touch responds to these gcodes

M280 P0 S10 ; pushes the pin down
M280 P0 S90 ; pulls the pin up
M280 P0 S120 ; Self test – keeps going until you do pin up/down or release alarm
M280 P0 S160 ; Release alarm

Alarm – The 3DTouch can sense when something is wrong and then goes into alarm mode which is continuous flashing. Alarm can be triggered like an obstruction that stops the pin going up and down freely, it could be dirt etc.

Thank You.


Computer Programmer / Electronics Technician
Re: 3D Touch for Hictop
September 10, 2020 10:25AM
Ordered a single unit will test to see if my pins are correct. Using my MPCNC with an Arduino Mega and Ramps 1.6

Edited 1 time(s). Last edit at 09/10/2020 10:27AM by Roberts_Clif.


Computer Programmer / Electronics Technician
Sorry, only registered users may post in this forum.

Click here to login