MarginallyClever / Makelangelo-software

Software for plotters - especially the wall-hanging polargraph also called Makelangelo.
http://www.marginallyclever.com/
GNU General Public License v2.0
350 stars 177 forks source link

Drawing stops on first command #38

Closed i-make-robots closed 11 years ago

i-make-robots commented 11 years ago

Are you experiencing this problem? Please copy your log file. This will take some back and forth because I am unable to reproduce the results.

sodanovels commented 11 years ago

Dan, I have followed the instructions you provided at: http://www.marginallyclever.com/forum/viewtopic.php?f=2&t=2242&p=2488#p2488 and they do help, thx. I have confirmed, via the serial monitor window in Arduino, that the motors are working, the arduino works properly and I can send gcode the drawbot.

I get the following after configuring limits, loading the image and then trying to draw.

Opening file /Users/davidolsson/Desktop/bf1633ebfeca1314319b9086fcf1c735.ngc... 1670 line segments. 525.3417cm of line. Estimated 2m59s s to draw. Connecting to /dev/tty.usbmodem241421... Opened. HELLO WORLD ! I AM DRAWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/ == All commands end with a semi-colon. HELP ; - display this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.xx] [Yx.xx] ; - move the virtual plotter. As well as the following G-codes (http://en.wikipedia.org/wiki/G-code): G00,G01,G02,G03,G04,G20,G21,G28,G90,G91, M18,M114

CONFIG T20.0 B-20.0 L-20.0 R20.0 I-1 J-1; TELEPORT X0 Y0 Z0; L=,A, HELLO WORLD! I AM DRAWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/ == All commands end with a semi-colon. HELP; - display this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.xx] [Yx.xx]; - move the virtual plotter. As well as the following G-codes (http://en.wikipedia.org/wiki/G-code): G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18,M114

M114; Invalid command 'RT˛M114;' > CONFIG T20.0 B-20.0 L-20.0 R20.0 I-1 J-1; TELEPORT X0 Y0 Z0; L=, HELLO WORLD! I AM DRAWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/ == All commands end wit h a semi-colon. HELP; - display this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TE LEPORT [Xx.xx] [Yx.xx]; - move the virtual plotter. As well as the following G-codes (http://en.wikipedia.org/wiki/G-code): G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18,M114

M114; In valid command 'OR ⁄˛M114;' > CONFIG T20.0 B-20.0 L-20.0 R20.0 I-1 J-1; TELEPORT X0 Y0 Z0; L=, HELLO WORLD! I AM DRAWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/ == All commands end with a semi-c olon. HELP; - display this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx .xx] [Yx.xx]; - move the virtual plotter. As well as the following G-codes (http://en.wikipedia.org/wiki/G-code): G00,G01,G02,G03,G04,G20,G21,G 28,G90,G91,M18,M114

Opening file /Users/davidolsson/Desktop/bf1633ebfeca1314319b9086fcf1c735.ngc... 1670 line segments. 525.3417cm of line. Estimated 2m59s s to draw. G00 F1000 Z90; Invalid command ' OR ⁄˛G00 F1000 Z90;' > G01 X-1.0 Y0.0;

G00 Z10;

i-make-robots commented 11 years ago

You should only see hello world once. It looks as though your robot is rebooting over and over. I don't understand where it is getting "OR ⁄˛" from. What happens if you type

CONFIG T20.0 B-20.0 L-20.0 R20.0 I-1 J-1;

TELEPORT X0 Y0 Z0;

?

(adventuring)

On 2012-12-28, at 12:48, David Olsson notifications@github.com wrote:

Dan, I have followed the instructions you provided at: http://www.marginallyclever.com/forum/viewtopic.php?f=2&t=2242&p=2488#p2488 and they do help, thx. I have confirmed, via the serial monitor window in Arduino, that the motors are working, the arduino works properly and I can send gcode the drawbot.

I get the following after configuring limits, loading the image and then trying to draw.

Opening file /Users/davidolsson/Desktop/bf1633ebfeca1314319b9086fcf1c735.ngc... 1670 line segments. 525.3417cm of line. Estimated 2m59s s to draw. Connecting to /dev/tty.usbmodem241421... Opened. HELLO WORLD ! I AM DRAWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/ == All commands end with a semi-colon. HELP ; - display this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.xx] [Yx.xx] ; - move the virtual plotter. As well as the following G-codes (http://en.wikipedia.org/wiki/G-code): G00,G01,G02,G03,G04,G20,G21,G28,G90,G91, M18,M114

CONFIG T20.0 B-20.0 L-20.0 R20.0 I-1 J-1; TELEPORT X0 Y0 Z0; L=,A, HELLO WORLD! I AM DRAWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/ == All commands end with a semi-colon. HELP; - display this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx.xx] [Yx.xx]; - move the virtual plotter. As well as the following G-codes (http://en.wikipedia.org/wiki/G-code): G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18,M114

M114; Invalid command 'RT˛M114;' > CONFIG T20.0 B-20.0 L-20.0 R20.0 I-1 J-1; TELEPORT X0 Y0 Z0; L=, HELLO WORLD! I AM DRAWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/ == All commands end wit h a semi-colon. HELP; - display this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TE LEPORT [Xx.xx] [Yx.xx]; - move the virtual plotter. As well as the following G-codes (http://en.wikipedia.org/wiki/G-code): G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18,M114

M114; In valid command 'OR ⁄˛M114;' > CONFIG T20.0 B-20.0 L-20.0 R20.0 I-1 J-1; TELEPORT X0 Y0 Z0; L=, HELLO WORLD! I AM DRAWBOT #104 == DRAWBOT - http://github.com/i-make-robots/Drawbot/ == All commands end with a semi-c olon. HELP; - display this message CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]; - display/update this robot's configuration. TELEPORT [Xx .xx] [Yx.xx]; - move the virtual plotter. As well as the following G-codes (http://en.wikipedia.org/wiki/G-code): G00,G01,G02,G03,G04,G20,G21,G 28,G90,G91,M18,M114

Opening file /Users/davidolsson/Desktop/bf1633ebfeca1314319b9086fcf1c735.ngc... 1670 line segments. 525.3417cm of line. Estimated 2m59s s to draw. G00 F1000 Z90; Invalid command ' OR ⁄˛G00 F1000 Z90;' > G01 X-1.0 Y0.0;

G00 Z10;

— Reply to this email directly or view it on GitHub.

i-make-robots commented 11 years ago

Also, is your 12v power supply connected? I wonder if your board is rebooting because something is drawing too much current.

i-make-robots commented 11 years ago

I've just released a patch that should fix the issue. Please get version 0.8.6, update your firmware, and report back. Thank you!

i-make-robots commented 11 years ago

Confirmed fixed.

sodanovels commented 11 years ago

Confirming the confirm. Thanks Dan. Awesome. Will now mount and calibrate and I'm off to make sketches!

i-make-robots commented 11 years ago

Awesomesauce! Please share what you make, I'd love to blog about it.

On Sun, Jan 27, 2013 at 11:41 AM, David Olsson notifications@github.comwrote:

Confirming the confirm. Thanks Dan. Awesome. Will now mount and calibrate and I'm off to make sketches!

— Reply to this email directly or view it on GitHubhttps://github.com/i-make-robots/DrawBot/issues/38#issuecomment-12759911.

Dan Royer, Marginally Clever Software http://www.marginallyclever.com/ - Robots, websites, kits, and more. +1.604.916.2281