<div dir="ltr">I think I would have to see it to understand properly, as I cannot figure out how the arduino can calculate the kinematics in realtime, as this information is not contained in the gcode, and also how you would touch off the workpiece (touching off usually (for me anyway) involves moving the tip of the tool to the datum for the cut to within a cigarette paper's width (why machinests who do not smoke carry cigarette papers), moving. after this point i guess you could run from the gcode arduino device (assuming that kinematics are handled)<div><br></div><div>Would it be possible for the interested parties to meet up at the space one night this week (pref not friday) and we can get it set up, i can show you how I use the machine just now, then then you guys can figure out how to run the same thing without a permanent PC in the loop.</div><div><br></div><div>PS just had a better look at the grblweb tool, that could work assuming it was almost realtime for touching off, and there is some security to lockout anyone who is not actively using the machine</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 17 September 2014 13:31, Justin Mitchell <span dir="ltr"><<a href="mailto:justin@swansea.hackspace.org.uk" target="_blank">justin@swansea.hackspace.org.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You do (mostly) still need a PC.<br>
<br>
Idea is :-<br>
Software on pc sends g-code down USB to arduino<br>
arduino does the timing critical stuff down the parallel port<br>
<br>
If the arduino is running Marlin firmware then you can use any standard<br>
reprap style gcode sender, such as Pronterface, or possibly even<br>
OctoPrint.<br>
<br>
If the arduino is running GRBL then there are specific gcode senders for<br>
that such as grbl-controller, Grblweb, etc<br>
<br>
<a href="http://zapmaker.org/projects/grbl-controller-3-0/" target="_blank">http://zapmaker.org/projects/grbl-controller-3-0/</a><br>
<a href="http://andrewhodel.github.io/grblweb/" target="_blank">http://andrewhodel.github.io/grblweb/</a><br>
<br>
<br>
either way you remove the need for a pc parallel interface, and also<br>
remove the timing critical stuff the pc was trying to do, which desktop<br>
class hardware is just not good at.<br>
<br>
Whilst firmware like Marlin can do stuff like printing from SDCard (and<br>
run its own little LCD based UI) the speed of print is lower, and its<br>
more difficult to stop it, so using sender software is preferred.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On Wed, 2014-09-17 at 12:56 +0100, Graham Owens wrote:<br>
> Perhaps i am missing something still, but how exactly do you control<br>
> these things without a pc? I understand the how of toggling pins etc,<br>
> but i mean the practical aspect of actually setting up the machine and<br>
> running it?<br>
><br>
> Ho for example do you do a touch-off on an arduino controlled cnc?<br>
><br>
> > On 17 Sep 2014, at 12:38, Justin Mitchell <<a href="mailto:justin@swansea.hackspace.org.uk">justin@swansea.hackspace.org.uk</a>> wrote:<br>
> ><br>
> >> On Wed, 2014-09-17 at 11:44 +0100, Justin Mitchell wrote:<br>
> >> So after we have jury rigged one using a standard arduino, we can then<br>
> >> mill the pcb for a custom made one :)<br>
> >><br>
> >>> On Wed, 2014-09-17 at 11:39 +0100, Gerrit Niezen wrote:<br>
> >>> It seems a solution appeared on Hackaday the same day that you were<br>
> >>> discussing the problem:<br>
> >>> <a href="http://hackaday.com/2014/09/16/usb-to-db25-adapter-uses-grbl-for-parallel-port-cnc-communication/" target="_blank">http://hackaday.com/2014/09/16/usb-to-db25-adapter-uses-grbl-for-parallel-port-cnc-communication/</a><br>
> >>><br>
> >>><br>
> >>> Guess what: It’s Arduino-based and runs GRBL.<br>
> ><br>
> > This also seems to apply to laser cutters, at least the cheap ones with<br>
> > parallel port connectors. They appear to be the same level of dumb<br>
> > step-stick style driver inputs that many CNC machines are.<br>
> ><br>
> > So a cheap laser cutter could be adapted to work (the supplied software<br>
> > is notoriously bad) without even changing the electronics.<br>
> ><br>
> > Further research has shown that these cheap cutters tend to have two<br>
> > control boards, one is the psu, and connects to the safety interlocks,<br>
> > the HV laser tube drive, stop switch, etc. this in turn gives 5v, laser<br>
> > trigger, and motor drive voltage (24V?) outputs.<br>
> ><br>
> > the second board is then the stepper controller / interface board,<br>
> > theres often just two steppers X/Y, end stops, and the TTL level laser<br>
> > on/off trigger, which can be driven with PWM for finer control.<br>
> ><br>
> > So replacing the stepper controller with something more modern is going<br>
> > to be pretty easy if you need to, but if its a parallel port one you can<br>
> > just as easily put an arduino with GRBL/Marlin on the outside and get<br>
> > the same level of control.<br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > Hackspace mailing list<br>
> > <a href="mailto:Hackspace@swansea.hackspace.org.uk">Hackspace@swansea.hackspace.org.uk</a><br>
> > <a href="http://swansea.hackspace.org.uk/mailman/listinfo/hackspace" target="_blank">http://swansea.hackspace.org.uk/mailman/listinfo/hackspace</a><br>
> _______________________________________________<br>
> Hackspace mailing list<br>
> <a href="mailto:Hackspace@swansea.hackspace.org.uk">Hackspace@swansea.hackspace.org.uk</a><br>
> <a href="http://swansea.hackspace.org.uk/mailman/listinfo/hackspace" target="_blank">http://swansea.hackspace.org.uk/mailman/listinfo/hackspace</a><br>
<br>
<br>
_______________________________________________<br>
Hackspace mailing list<br>
<a href="mailto:Hackspace@swansea.hackspace.org.uk">Hackspace@swansea.hackspace.org.uk</a><br>
<a href="http://swansea.hackspace.org.uk/mailman/listinfo/hackspace" target="_blank">http://swansea.hackspace.org.uk/mailman/listinfo/hackspace</a><br>
</div></div></blockquote></div><br></div>