Makeblock-official / mDrawBot

mDrawbot is a four-in-one drawing robotic kit, you can assembly into 4 different configuration drawing robots, learn more from Makeblock official website
http://www.makeblock.com
GNU General Public License v3.0
201 stars 148 forks source link

Limit switches not recognized for XY plotter #33

Open MikeHg opened 9 years ago

MikeHg commented 9 years ago

I did the following.

  1. Go home (i.e. the [0,0] position)
  2. Enter values for a certain position and go there, like for instance [100,100]
  3. Press "Go home" again.

It might be that it has something to do with x and y swapped as reported by meeuw. But after step 3 the slides will go to one side and the stepper motor continues to make noises without stopping. Only disconneting the plotter and restarting mdraw helps.

Makeblock-official commented 9 years ago

have you try the latest xybot firmware go with the distribution package or build from the source code, I made some test just now and looks fine.

MikeHg commented 9 years ago

Yes I used the official distribution (version 1_1.zip) together with its firmware. I also tried the github-master but got the same result.

I didn't use it with the pen but rather with the laser, if that makes a difference.

meeuw commented 9 years ago

@MikeHg could you try to setup the XY bot motors and set Stepper B in Anti Clockwise mode? Check the image to see the "home" position and manually hit the limit switches and swap some cables.