lp76
unread,Jan 11, 2011, 4:07:00 AM1/11/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rstep
I am using the Pololu Stepper drivers with the Uno and have
rsteppercontroller loaded on it. First off, Reza, thanks for all your
hard work. I've been toying with rstepper for a month now and am
getting good results overall. There's only *some* flakiness which is
getting in the way which I haven't figured out the cause yet. I built
an XYZ table which I am still testing using a pen and paper. So the
focus of my work right now is 2D with the pen moving up and down until
I am confident with what I am seeing.
I am sending commands to the /dev/ttyACM(etc.) device using a python
script I wrote. Because the device will scramble w/o a delay, I built
one in to the script. At first I used just a fixed delay, but after a
while, I started calculating which were the most intricate parts of
the GCODE and adding more delay in those parts just as an insurance
policy.
What's happening is, randomly a coordinate will zero out, and I'll end
up getting ugly lines drawn where there shouldn't be any. The more
delay I add, the less this happens, but I am quickly hitting a point
where no matter how much delay I build, it still happens. I am
starting to wonder if its a delay issue at all.
I do know that if I run the code in pieces, and rerun the failed
sections, everything looks great. But if I try to run the entire file,
I get those stray lines.
Have you or anybody else encountered this before? I do not think it's
the electronics as the error always involves creating a perfect zero
position where there isn't one. And also that when I rerun the code it
works fine. I am thinking this has to be at the arduino-level.