New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pen up/down not working on firmware version >= 2.6.0 #47
Comments
Oh no, that's weird! saxi does use a slightly different command to raise/lower the pen: we use the S2 command, whereas axidraw's own firmware uses SP. It could potentially be an issue related to that difference? Here's some debugging steps you can try:
|
Firmware version is 2.6.5. Looks like that might be the issue? I can't get a GUI on the Pi right now to test Inkscape there, but pen up/down still works fine when controlled from Inkscape on my Mac. |
Ok, cool, looks like maybe a firmware issue then. I see there have been some changes that affect when servo power is enabled/disabled, so that might be the issue. An immediate workaround might be to flash a 2.5.x firmware version to your axidraw, but I'll plan to look into this and make it work with 2.6.x when I have time. |
Thanks! Appreciate you taking a look. |
I'm having similar issue on Mac. Pen up/down don't work. After launching Inkscape with AxiDraw Control and moving pen up and pen down. I relaunch saxi for some reason hitting Pen Up button puts pen down, and Pen Down brings pen up. Starting the plot pen is always down and doesn't lift up at all. I'm on 2.6.5 firmware for Axidraw V3. Let me know if you need to run some logging or debug mode. Thanks. |
Same here (im on raspberry pi 4), but I noticed, that when I print anything, after it stops, pen up/down starts working |
This problem can be fixed by sending 'SR,0', to the EBB, once it is conected:
|
@p01c : That works! I dropped a |
Likely will be resolved in a near-future firmware update: evil-mad/EggBot#144 |
I think this is also now fixed in the Would anyone who's able to reproduce this issue be able to try the following steps to run a pre-release version?
then visit If anyone can confirm that the issue is fixed with the current |
I tried the new
I've never seen this error in my (crudely patched) d624691. |
It still crashes, with:
|
@gilgamec unfortunately I'm not sure which command is failing there. I've just pushed a new commit that adds extra debugging info when a command fails. Would you be able to try again with the latest code? I've also added a
|
It completed a bunch of times, but failed once:
|
hm, looks like the error-handling logic I added didn't kick in. Would you be able to try one more time with Thanks so much for your help debugging this! |
I did get an error on my first attempt after plugging in the plotter, but everything I tried after that ran to completion (again, as far as I can tell since I can't stage the pen).
Still, without the "pen up" and "pen down" buttons working, the fix is only halfway successful. |
@gilgamec hm, sometimes there can be stale data left in the serial pipe that can cause issues when re-plugging the plotter after unplugging it without a full power cycle. saxi used to attempt to handle this (see saxi/driver/src/saxi/EBB.scala Lines 328 to 334 in 75cff91
The latest commit to master a7f55d0 should solve the issue with the pen up / pen down buttons. |
I still get a crash (with the same error) on the first plot, even after unplugging the AxiDraw. But after restarting saxi, everything after that seems to work fine (including the pen up/down). Thanks! |
Released 0.12.0, which contains the fixes for this. |
The underlying bug in the EBB firmware has been fixed as of the upcoming 2.7.0 release. |
I'm running Saxi on a Raspberry Pi 2 model B, and everything seems to work fine except that the software can't seem to move the pen up or down. The same Pi controls the Axidraw fine through Inkscape, so it's not a hardware issue.
The pen up/down buttons in the UI don't do anything, and during a plot the pen remains at the up position (though the arm moves around the plot as expected). No error messages are displayed.
Any idea what might be going on?
The text was updated successfully, but these errors were encountered: