3DTouch Auto Leveling Sensor

Dear Arduino users...
i am writing to you looking for advice
i am using 3DTouch Auto Leveling Sensor. the idea is to coenact the Touch sensor to x,y,z movement motors .
i have problem of writing the code , i am using Arduino UNO .

please help

This doesn't seem to be an installation or troubleshooting issue.
Maybe you could get a moderator to move this topic to a more appropriate forum section.

Can you give a little more detail, please?
Like more about what you want to achieve, and how far you've got already?

Your post was MOVED to its current location as it is more suitable.

In the upper right hand corner is a little entry thingy with the words "Search on Arduino Forum." In that box type the words "level camper." By reading a few of the postings you may get a better idea of how the thing be done.

The 3DTouch Auto Leveling Sensor is usually used in 3D printer bed auto leveling.

Please provide a more detailed explanation of your project.

Really has little information that we can use to help you. More details of what you want to do, please.

Post the code that you have tried. Read the forum guidelines to see how to properly post code.
Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags.

Post a schematic of the project. If you do not have a schematic tool, how to make a schematic that you can post.

this is the code i used

#include <Servo.h>
Servo myservo;
int Touch = 0;
const int ledPin = 13;
const byte interruptPin = 2;

void setup()
pinMode(ledPin, OUTPUT);
pinMode(interruptPin, INPUT_PULLUP);
attachInterrupt(digitalPinToInterrupt(interruptPin), blink, RISING


void loop()

if (Touch == 1) {
myservo.write(90); .
digitalWrite(ledPin, HIGH);
digitalWrite(ledPin, LOW);
Touch = 0;

void blink() {
Touch = 1;

Please follow the advice given in the link below when posting code. Use code tags (the </> icon above the compose window) to make it easier to read and copy for examination

Better would be

volatile byte touch;

(Your code is incomplete)

write(90); .

(and has extraneous characters)

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.