Hello. Sorry to start off on this forum with a help request - am currently at the bottom of the learning curve.
I've recently bought a cheap(ish) CNC machine off EBay. These things come with a controller board that requires a PC with a hardware parallel port to do the real-time stuff so obviously I've ripped that out and replaced with an Arduino+GAUPS shield (which is gShield compatible) running the latest version of GRBL fetched from their source repo.
Despite my ham-fisted efforts it seems to work for straight lines in all axes for linear motion. However I tried the circle example from the GRBL website, adapted to mm, and I get what's in the image below. The preview in Grbl controller 3.6.1 thinks I should get a circle, and so do I. To state the bleeding obvious, I've taped a pencil to the tool housing to do this.
It starts in the bottom left of the image, draws the first arc (and a bit) correctly then goes wrong and doesn't make it back to the origin. I don't think it's bad connections or overheating as it's quite repeatable.
Does anybody recognise this kind of problem? Googling isn't turning anything up. Looks like some kind of arithmetic error to me but it really should work as far as I can see. I'm not necessarily looking for a detailed solution (although that would be nice) but right now I'm not even sure where to start looking.
Here's my gcode:
G17 G21 G90 G94 G54 G91.1 G0 Z10 F 500 X-100 Y0. Z2 G01 Z0. F500 G02 X0. Y100 I100. J0. F500 G02 X100 Y0. I0. J-100. F500 G02 X0. Y-100 I-100. J0. F500 G02 X-100 Y0. I0. J100. F500 G01 Z2 F500 G00 X0. Y0. Z10
Looks like the stepper on the long axis (Y?) is stalling.
What stepper drivers have you fitted, and what voltage power supply are you running?
Realistically could be anything from loss of step pulses, a failing driver as it heats up, or something mechanical.Avoiding the rubbish customer service from AluminiumWarehouse since July '13.
The Following User Says Thank You to m_c For This Useful Post:
I think both x&y are skipping steps;
Sounds like the power supply is hitting its limit, what psu are you using?
Check the voltages when one stepper is running, and then when two are!
The Following User Says Thank You to Robjampar For This Useful Post:
I'm using Pololu DRV8825 drivers with an aluminium heatsink on top. This was the problem. I've now replaced the heatsinks with copper ones and put them on the top AND the bottom (should have read the driver documentation better - the bottom is where they're meant to go). It now draws circles correctly. I'm guessing that the drivers were overheating cutting out, then cooling, then restarting, resulting in the bits and pieces of curves I saw.
The rest of the kit is just what came with the machine from China. Undoubtedly many other bits will turn out to be problematical but for now you've solved my problem. Thanks!
By peter gillespie in forum BobCAD-CAMReplies: 0Last Post: 11-06-2015, 02:51 PM
By craigrobbo in forum AutoCADReplies: 8Last Post: 01-02-2014, 08:33 AM
By AdCNC in forum Resources & HelpReplies: 16Last Post: 10-07-2013, 02:01 PM
By lakmalp in forum Machine Control SoftwareReplies: 3Last Post: 16-06-2013, 04:52 PM
By fasteddy in forum Programmers CornerReplies: 19Last Post: 16-05-2010, 06:46 AM