Noob Help – Wager at stake!
Shop › Forum › Makelangelo Polargraph Art Robot › Noob Help – Wager at stake!
- This topic is empty.
-
AuthorPosts
-
2014-06-08 at 16:29 #5988AnonymousInactive
Hi all
Started Building my Makelangelo yesterday (well electronics only)
I made a bet that I could have this running by Wednesday – and i need help urgently ! 😳Using an Adruino Mega and NO motor Shield. (pins from Mega go to Breadboard onto Wangtai Drivers (Step/Dir/Enable) so I am using the RUMBA firmware.
the Good news! all the manual jog Controls work and motors move 🙂
bad news – I don’t know Java and am relatively new to Arduinio ( I normally use PICs) 😳
Config:
downloaded makelanglo-master from github.
JRE 7
windows XPissues : (moderator please split if required)
most important
a) in the GU, when i use the text to GCode feature, the word “TEST & makelangelo” is displayed on the UI as expected, but clicking Start i am prompted “Set the Pen, and Press any button to start” – I presume we are talking the UI buttons here? but nothing happens! Solved – See my next Commentb) Pen up & pen Down Commands seem to step in +/- 10 degree increments. (changed PEN_DELAY to 50 from 250) and now pen up is quick (or rather moves smoothly), but Pen Down still steps the servo in 10 degree increments.
c) when i Connect a common LCD Only, and disable the SD card (don’t have one of those) the LCD screen starts fine, and then Scrolls, filled with garbage. seems there are Defines that enable the SD card if you have an LCD.
d) i then commented out the SD defines, when turning the Encoder, garbage appears on the LCD after the Z: position label.
all the connections (apart from the Servo PWM) are on the digital io at the end of the board) odd pins only as i only have a SIL connector.
Connections:
motor0.step = 23
motor0.dir = 25
motor0.en = 27
motor1.step = 29
motor1.dir = 31
motor1.en = 33
ENC_a = 35
ENC_b = 37ENC _BTN = 41
LCD RS = 43
LCD EN = 45
LCD D4 = 47
LCD D5 = 49
LCD D6 = 51
LCD D7 = 53any help will be appreciated
2014-06-08 at 16:31 #6594AnonymousInactivesorry – when Clicking Start the Following appears in the monitor
N0 CONFIG T45.5 B-45.5 L-45.5 R45.5 I-1 J-1;
BADLINENUM 3
HTML.LOG (removed some of the html for better viewing)
CONFIG T45.5 B-45.5 L-45.5 R45.5 I-1 J-1
D01 L3.0 R3.0
TELEPORT X0 Y0 Z0
-45.50,45.50 – 45.50,-45.50 > > >
Completed.
133 line segments. 89.60986cm of line. Estimated 23s s to draw.
M110 N0
M110 N0
> >
N0 CONFIG T45.5 B-45.5 L-45.5 R45.5 I-1 J-1;
>
N1 D01 L3.0 R3.0;
>
N3 G90;
N2 M06 T0;
BADLINENUM 2 >
>
[/code]File I tried to Send: ( first 8 lines)
CONFIG T45.5 B-45.5 L-45.5 R45.5 I-1 J-1;
D01 L3.0 R3.0;
M06 T0;
G90;
G00 Z50.0 F120.0;
G00 F1750.0;
G0 X1.0625 Y-3.1875;
G91;
It seems that the Java is sending line 1, then Line 3 and Line 2 together! so the CRC is failing.
Edit : removed Lines M06 T0; G90; and Motors move! these lines seem to be causing the issue!
This is Related to the BADLINENUM issue
RobZ2014-06-11 at 23:52 #6595AnonymousInactiveI think there’s a bug in the line numbering that’s causing the issue, it’s not your system.
line numbering and CRC checking is brand new. It sounds like you’ve got it working on time. (for a given definition of “working”). What do you have to do to win? Post a picture online?
(b) I’ve never seen this issue. I use the “calibrate current tool” and adjust the pen angle with great precision.
(c+d) maybe your LCD is a different width and height (in letters)?
-
AuthorPosts
- You must be logged in to reply to this topic.