<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
        <description>Hello Everyone,

after some months of reading this forum, searching the web, construction and reconstruction of several ideas, I thought I could share some ideas and images of my machine.
My target: Compact and portable laser engraver for cutting paper and/or thin polymer layers, branding into wood.

There are many machines using cartesian geometry, which would somehow be an &quot;easy&quot; solution with ready available components, software etc.... 
Nevertheless, I focused onto SCARA-like geometries because:
Small footprint.
No linear rails, no belts,...
Low part count.
...

As far as I tried recherching this forum, the www and literature, there are several different approaches for:

1. Single arm SCARA: 
a: Lower arm motor sits on the upper arm and rotates with the upper arm. Motor for the upper arm sits in the base. 
Examples are:
- Heliumfrog-SCARA by Mr. Martin Price   http://www.heliumfrog.com/hf06robot/hf06blog.html 
This machine is controlled using his selfmade software on an Arduino.

- Vitaminrad-SCARA http://forums.reprap.org/read.php?185,476178,479264#msg-479264
This machine is controlled by a modified Marlin-Software https://github.com/vitaminrad/Marlin-for-Scara-Arm

-Scribing SCARA-arm http://mindbleach.com/words/scribing-robot-arm/
This machine is controlled using standard GRBL on an Arduino. Inverse kinematics are done on a host PC, sending converted data to the GRBL.

- Commercial SCARA, such as http://transistor-man.com/3dprintbot.html
controlled by LinuxCNC.

b: Both motors sit in the base, and rotation of the lower arm has to be compensated with respect to case 1 a,c.

c: Motor of upper arm sits in the base, motor for lower arm sits on lower arm, and rotation of the lower arm has to be compensated with respect to case 1 a,b.
- Lewis by Insilicoresearch (Mr. Steve Kelly )  http://diy3dprinting.blogspot.de/2013/09/reprap-lewis.html 
https://github.com/sjkelly/RepRap-Lewis 
Firmware ??



2. Parallel-arm SCARA where the motors are spatially separated (personally I would say, these type of machines are &quot;dual arm&quot; SCARAs...):
a: Motors directly drive the upper arm.
Examples are:
- Armstrong by Mr. ttsalo http://forums.reprap.org/read.php?185,156261
Controlled by the following software https://github.com/ttsalo/Armstrong-SCARA

- Armstrong-style by Mr. EvilMonkey http://forums.reprap.org/read.php?185,389489,page=1
Controlled using the ttsalo software https://github.com/ttsalo/Armstrong-SCARA

b: Motors directly drive the lower arm.
Examples are:
- Wally by Nicholas Seward http://reprap.org/wiki/Wally 
http://forums.reprap.org/read.php?185,220993
http://forum.conceptforge.org/viewforum.php?f=7


3. Parallel-arm SCARA where the motors are coaxial:
a: Motors directly drive the upper arm.
- Morgan by Mr. Quentin Harley http://reprap.org/wiki/RepRap_Morgan
Controlled by a modified Marlin software https://github.com/qharley/Marlin 
Another possibility would be usage of the smoothieware http://smoothieware.org/
Another possibility would be the usage of Teacup https://github.com/Traumflug/Teacup_Firmware/tree/scara

b: Motors directly drive the lower arm.
Examples ?? Nothing found...


Please excuse any missing examples...it´s just for getting an idea, otherwise feel free to send me a PN if you think I should list further ones.

Unfortunately all firmwares state something like &quot;supports SCARA geometry&quot; but without defining the real geometry in detail !
Although software documentation seems to be quite crude for me, most SCARA-software can be found for 3.a., the &quot;Morgan&quot; style machine.

Nevertheless, I want to built a machine &quot;Armstrong&quot; style because I think it has some benefits regarding my desired specifications.. 
Currently, software is a real problem for me, because I do not know anything about programming.
For first tests I think about using &quot;ttsalo´s&quot; software. Here, EvilMonkey already listed some needed modifications. 
Alternatively, I would really love to use something like Teacup, but I don´t know how to modify it for the dual arm SCARA geometry....When I´m completely finished with the mechanical build, I will focus again onto software.
I already calculated the inverse kinematics (IC) for it and thought that it should be possible to implement a displacement parameter &quot;d&quot; into the current Teacup-software. When setting d=0, the standard &quot;Morgan&quot; configuration should come up. So here´s my IC calculation:
[attachment 51935 scara_parallel_arm_red1.jpg]
The problem here is, that I do not know which files to modify. There´s no good documentation where to define new parameters (&quot;d&quot;), where to set the homing sequence, where to set the actual position after homing switch triggering, where to set the bed coordinates etc...
Hopefully I will find a solution in the future for these issues.

For the SCARA geometry the angular resolution is crucial for accuracy and gear backlash makes things worse.
So I decided to use second hand harmonic drives (80:1), Nema17 steppers and two ball bearings in each arm joint. 
Laser will be a 405 nm single mode semiconductor diode, focused by a glass lens. Output power around 500 mW.
d=85mm, l1=90mm, l2=125mm.

These are the ball bearings I will use:
[attachment 51937 lager1.JPG]
[attachment 51938 lager2.JPG]

And here you can see the current design:
[attachment 51939 SCARyllA_1.PNG]
[attachment 51940 SCARyllA_2.PNG]
[attachment 51941 SCARyllA_3.PNG]
[attachment 51942 SCARyllA_6.PNG]
This will be the preliminary working area (in reality somehow smaller, but currently it´s fine for me):
[attachment 51943 area.JPG]

And here are images of the first parts:
[attachment 51944 HDcarrier.JPG]
[attachment 51945 20150206_182522.jpg]


So long,
Mike

PS: I called my setup  &quot;SCARyllA&quot;, which is a combination of SCARA (typically having only one arm) and Skylla (typically having something between five heads and six legs) ...  ;-)</description>
        <link>https://reprap.org/forum/read.php?185,490216,490216#msg-490216</link>
        <lastBuildDate>Mon, 18 May 2026 12:25:54 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,818881#msg-818881</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,818881#msg-818881</link>
            <description><![CDATA[ Also, hi David Crocker! Love your ir sensor!]]></description>
            <dc:creator>Power3DPrinting</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Mon, 16 Apr 2018 11:42:38 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,818880#msg-818880</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,818880#msg-818880</link>
            <description><![CDATA[ 1200x1200mm is a rather massive thing to want, you probably want to go with a single arm SCARA or double your costs with four long segments rather than two, then you can just use Duet]]></description>
            <dc:creator>Power3DPrinting</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Mon, 16 Apr 2018 11:41:22 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,818337#msg-818337</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,818337#msg-818337</link>
            <description><![CDATA[ RepRapFirmware on Duet supports serial arm SCARA but not yet parallel arm SCARA.]]></description>
            <dc:creator>dc42</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Thu, 12 Apr 2018 16:42:09 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,818311#msg-818311</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,818311#msg-818311</link>
            <description><![CDATA[ Hi everyone<br />
I need to build a laser engraving machine with a field of 1200x1200mm. For a number of reasons for this project suited only SCARA arm. Single or parallel Scara. <br />
I am inspired by your work and wanted to ask if you could help me with.<br />
<br />
Theothermike - can you please share foto of printed parts? How precise and how fast SCARyllA can print?<br />
<br />
Evil Monkey - how your printer work with this firmware? <br />
<br />
Pavlo - can your firmware work on Smoothie board or Duet2 or any other 32 bit boards?]]></description>
            <dc:creator>dk</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Thu, 12 Apr 2018 12:49:58 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,568606#msg-568606</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,568606#msg-568606</link>
            <description><![CDATA[ Hi Mike<br />
<br />
I need to post an update on the single arm Scara when I get time. Not had a lot of time to play with it as much as I would of liked, as it has been a busy year work wise. <br />
That is the problem when you turn your hobby into a business, you end up with less play time trying to keep up with the demand of production products and less on the fun parts. <br />
But it is great going to work and doing what you love each day, instead of working for The Man as such.<br />
<br />
With the Scara MK3, I could not find any open source code that was suitable and good enough, so ended up designing our own controller and writing dedicated firmware/software. <br />
The problem with that though is de-bugging and getting it to the stage where you are happy to release it. We made up a few units that are out in the hands of developers and being tested, so more on that design later on down the line.<br />
<br />
We looked around for European supplies of the strain wave gearboxes and as usual Harmonic drives seem to be leading the way, but very expensive. We had the UK rep pop in and see us the other day at the workshop, with his case of samples and some really impressive products, but the price is crazy.<br />
<br />
We sourced a company outside the UK and even though a long makeup time they produced a gearbox to our spec and it works really well ( I have attached a picture, these are 100:1 and fit nice onto a Nema17 motor). But just ordering in a few for doing prototypes is expensive, with them coming out at $1000 for a pair, but still cheaper than any European supplier.<br />
But if we order in quantity the price does drop a lot and is actually viable to getting a model in production and keeping the price down. This is the way we would like to go in the future so we can produce cost effective machines, but also be able to offer a low cost, yet accurate gearbox to the hobby users for their own designs. I seriously cannot believe someone has not done this so far with the pace that Mechatronics has evolved over the last few years.<br />
<br />
The design of the rotating ballnut is looking pretty good this end and a simple case of fixing the ballscrew either end to base plate and top mount so it is static and then setting up a bearing to house the ballnut, combined with a pulley connected to the ballnut and another Nema 17 motor that is mounted in main block. I have sourced suitable, off the shelf bearings and waiting from out supplier to see if they can make the custom ballnuts to suit.<br />
<br />
I have allowed 100mm spacing between each arm link to the motors and the block ends up being about 170mm wide and 110mm high with all motors and gearboxes contained within. So now you just need to add the static ballscrew/Thread and a couple of linear rails. This makes life easy to extend the height to suit your needs. Just swap out the ballthread and longer rails.<br />
<br />
So all good fun as usual<br />
<br />
Cheers<br />
<br />
Sean]]></description>
            <dc:creator>CLaNZeR</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Fri, 09 Oct 2015 16:48:15 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,568578#msg-568578</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,568578#msg-568578</link>
            <description><![CDATA[ Hi Sean,<br />
<br />
thank you! Documentation here in the forum is also a giant help for myself.<br />
Pavlo has really done great work, I already thought about asking him about ABL and multiple extruders but I´m not ready yet and do not want to be a stressor... ;-)<br />
<br />
Unfortunately I currently have not so much time for it...but it will be better in some time.<br />
Still I have to think about the laser mount. I would like to implement at least a small manual height adaption...<br />
It will come and I will post it here.<br />
<br />
Would be very interesting to see more about your design, especially the rotating ballscrew nut. So feel free to share your thread link ! ;-)<br />
I already saw your scaras MK1-3 some months ago, which were also quite inspirating.<br />
Where do you source your harmonic drives?<br />
<br />
I also already searched for a more compact, integrated stepper-harmonic drive combination. The coupler arrangement here is one thing I also don´t like so much.<br />
Ideally a HD with an integrated flat stepper would be ideal....but never found and "smart" stepper-gear combinations are a little bit too costly...<br />
<br />
Kind regards,<br />
Mike]]></description>
            <dc:creator>theothermike</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Fri, 09 Oct 2015 15:01:29 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,568552#msg-568552</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,568552#msg-568552</link>
            <description><![CDATA[ Hi Mike<br />
<br />
Really nice work and thanks for sharing.<br />
<br />
And thanks Pavlo Gryb for the Marlin-5bar Firmware.<br />
<br />
I have had a parallel scara design on the table for a while, but as usual not much play time. But this thread has got me back to the urge of protoyping and making.<br />
<br />
Going to try and keep everything in one chunk of metal for the arm drives and also the Z-Axis by trying to add rotating ballscrew nut configuration and holding the ballscrew thread solid in place. This will save a bit of space not having the usual stepper motor and coupler configuration and also no moving bed.<br />
<br />
The chunk will contain 2 motors with harmonic drives for the arms and 1 motor to turn the ballscrew nut.<br />
<br />
Will start a new thread showing the build as do not want to hijack this one but great stuff and a big help.<br />
<br />
Cheers<br />
<br />
Sean.]]></description>
            <dc:creator>CLaNZeR</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Fri, 09 Oct 2015 13:57:45 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,560180#msg-560180</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,560180#msg-560180</link>
            <description><![CDATA[ i'm very interesting and will make one,thank you for all.]]></description>
            <dc:creator>kinghonwill</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Fri, 18 Sep 2015 23:13:25 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,543067#msg-543067</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,543067#msg-543067</link>
            <description><![CDATA[ That is great to hear! Looks like I need to dust off my printer and update the firmware.]]></description>
            <dc:creator>Evil Monkey</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Thu, 06 Aug 2015 22:18:15 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,542851#msg-542851</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,542851#msg-542851</link>
            <description><![CDATA[ SCARyllA runs quite well using Marlin-5bar Firmware by Pavlo Gryb.<br />
<br />
He made it accept g2/g3 commands, so path trajectories exported from inkscape, CAMBAM, etc. should work now!!<br />
 <b>g2-movements can be seen here:</b><br />
[<a href="https://www.youtube.com/watch?v=RxYrN2SNi-g" target="_blank"  rel="nofollow">www.youtube.com</a>]]]></description>
            <dc:creator>theothermike</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Thu, 06 Aug 2015 10:53:33 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,542183#msg-542183</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,542183#msg-542183</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>theothermike</strong><br />
The mathematical base zero coordinates (x=0, y=0) without offset sits in between the two shoulder joints ? </div></blockquote>
Yes.]]></description>
            <dc:creator>PavloG</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Wed, 05 Aug 2015 03:37:29 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,541974#msg-541974</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,541974#msg-541974</link>
            <description><![CDATA[ Tried several combinations now....think there´s an error concerning the reversed motor direction and xy_max endstops. Nevertheless, it works using the xy_min pins.<br />
This is my working configuration.h:<br />
[attachment 59409 Configuration.h]]]></description>
            <dc:creator>theothermike</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Tue, 04 Aug 2015 15:11:24 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,541955#msg-541955</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,541955#msg-541955</link>
            <description><![CDATA[ OK, works !!!<br />
<br />
It´s quite logical !! I had to mechanically change from x_max, y_max, z_max to the corresponding min pins. <br />
<br />
<br />
Great stuff !<br />
<br />
One further thing regarding the calculation of the offsets:<br />
The mathematical base zero coordinates (x=0, y=0) without offset sits in between the two shoulder joints ?]]></description>
            <dc:creator>theothermike</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Tue, 04 Aug 2015 14:49:57 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,541950#msg-541950</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,541950#msg-541950</link>
            <description><![CDATA[ FBSIGN is a direction of rotation (in my setup it working right only with -1)<br />
<br />
comment line with - #define DISABLE_XYMAX_ENDSTOPS to enable xy max<br />
Again in my setup i used min endstoppers for homing.]]></description>
            <dc:creator>PavloG</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Tue, 04 Aug 2015 14:47:21 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,541914#msg-541914</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,541914#msg-541914</link>
            <description><![CDATA[ What does "FBSIGN" do?<br />
<br />
Edit: OK, I see in Marlin_main the parity is changed with it...<br />
<br />
I setted:<br />
<pre class="bbcode">
#define INVERT_X_DIR false    // for Mendel set to false, for Orca set to true
#define INVERT_Y_DIR false    // for Mendel set to true, for Orca set to false
and
#define X_HOME_DIR -1
#define Y_HOME_DIR -1</pre>
<br />
But now the xy_max endstops are not effective any more..!<br />
Using "M119" they definitely get triggered, but machine moves on!]]></description>
            <dc:creator>theothermike</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Tue, 04 Aug 2015 14:20:07 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,541886#msg-541886</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,541886#msg-541886</link>
            <description><![CDATA[ Just tweak as your need values bellow (im my bot - steppers shaft looking down)<br />
<br />
<pre class="bbcode">
#define INVERT_X_DIR false    // for Mendel set to false, for Orca set to true
#define INVERT_Y_DIR false    // for Mendel set to true, for Orca set to false
and
#define X_HOME_DIR -1
#define Y_HOME_DIR -1</pre>
<br />
Added:<br />
<br />
Also you may change (i've updated git hub firmware - now it is in configuration.h)<br />
<br />
 <pre class="bbcode">
 #define FBSIGN -1 // for 5 bar only
</pre>]]></description>
            <dc:creator>PavloG</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Tue, 04 Aug 2015 13:45:01 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,541870#msg-541870</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,541870#msg-541870</link>
            <description><![CDATA[ right now testing Pavlo´s new Firmware.<br />
Installation´s fine, yet the endstops are wrong....needing xy_max instead of xy_min, z_max is jumpered.]]></description>
            <dc:creator>theothermike</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Tue, 04 Aug 2015 13:18:29 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,541468#msg-541468</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,541468#msg-541468</link>
            <description><![CDATA[ Hi.<br />
This is working <a href="https://github.com/pavlog/Marlin" target="_blank"  rel="nofollow">firmware</a> for your mechanics.<br />
<br />
<a href="https://youtu.be/Ef477o_Nw88" target="_blank"  rel="nofollow">Proof</a><br />
<br />
Just modify values as you want <br />
#define Linkage_1 70<br />
#define Linkage_2 80<br />
#define FiveBarAxesDist 0 // the distance beetween axes.<br />
<br />
Plus extra math for mount bar controlled by:<br />
#define EndPointMountOffset 18<br />
#define EndPointMountAngle 50<br />
<br />
<br />
<a href="http://jsfiddle.net/PavloG/0vq1nf2v/" target="_blank"  rel="nofollow">Visualizer</a>]]></description>
            <dc:creator>PavloG</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Mon, 03 Aug 2015 16:11:20 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,540596#msg-540596</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,540596#msg-540596</link>
            <description><![CDATA[ No strange swing.<br />
Just the end stop switch homing routine, as it can be seen here:<br />
[<a href="https://www.youtube.com/watch?v=3iHMnaFklOw&amp;feature=youtu.be" target="_blank"  rel="nofollow">www.youtube.com</a>]<br />
<br />
The rest depends on where you set your bed zero coordinates, but they are reached in a linear, understandable manner. <br />
<br />
Nevertheless, firmware still lacks g2/g3 codes ! :-((<br />
I tested un-uncommenting the g2/g3 routines, but that gives movements out of bound....... <br />
<br />
So, if anybody has an idea how to implement g2-movements, please let me know ! :-)]]></description>
            <dc:creator>theothermike</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Sat, 01 Aug 2015 14:34:47 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,540560#msg-540560</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,540560#msg-540560</link>
            <description><![CDATA[ Thats great news! Does the arm not have the weird bug that causes it to swing over at startup then?]]></description>
            <dc:creator>Evil Monkey</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Sat, 01 Aug 2015 13:01:22 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,540495#msg-540495</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,540495#msg-540495</link>
            <description><![CDATA[ Success !!! :-))))))   SCARyllA´s alive !<br />
<br />
Of course, there were some more issues in my forward calculation program routine. But I was able to debug them using a different procedure.<br />
I defined much more variables than initially needed, calculated each small term and printed them out using the serial-out.<br />
Then I compared the values with the excel sheet and was able to correct each term separately.<br />
<br />
But now homing works, software endstops work, jogging is fine, gcode acceptance at least seems to be fine.<br />
<br />
This brings me to the next level and to do´s :<br />
- Manufacture last aluminum parts.<br />
- Fabricate Laser driver &amp; holder.<br />
- Clean up my firmware modification.<br />
- House and mount the Arduino+Ramps.<br />
- Readjust y-motors magnet holder (endstop position still lies in xy-workspace which is not good when hitting "homing" again).<br />
- Write simple Arduino adjustment program &amp; fabricate corresponding positioning device. I want to make a spacer which defines exact parallel arm positions. From there, jogging and counting steps until endstop triggers. Using the excel calculation the precise angles can then be defined.<br />
<br />
With this it´s only a matter of time to enforce &amp; unleash SCARyllAs indisputable power ;-))]]></description>
            <dc:creator>theothermike</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Sat, 01 Aug 2015 07:19:51 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,540285#msg-540285</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,540285#msg-540285</link>
            <description><![CDATA[ Here´s the corrected calculation:<br />
[attachment 59136 SCARyllA_IK.jpg]<br />
On the right side, the argument in the epsilon term must be divided by "e".]]></description>
            <dc:creator>theothermike</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Fri, 31 Jul 2015 13:37:48 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,540152#msg-540152</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,540152#msg-540152</link>
            <description><![CDATA[ At least here´s the Excel script.]]></description>
            <dc:creator>theothermike</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Fri, 31 Jul 2015 08:11:25 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,540149#msg-540149</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,540149#msg-540149</link>
            <description><![CDATA[ Yeahh ! One error found !! It really helps posting here so one is forced to think deeper... :-)<br />
Made an Excel Skript and *BAM* ........should have done that much earlier.<br />
<br />
With this I can calculate the arm coordinates to be approx. x=-73 and y=105.4<br />
<br />
I have to correct the inverse calculation. When calculating Epsilon, it must be divided by e, not c....<br />
Photo will be posted asap.]]></description>
            <dc:creator>theothermike</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Fri, 31 Jul 2015 08:06:21 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,539902#msg-539902</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,539902#msg-539902</link>
            <description><![CDATA[ Very slow progress...<br />
Magnet holder and HES-box installed:<br />
[attachment 59079 IMG_0119r.jpg]<br />
Distance between Clamp and HES-box surface is 0.5mm:<br />
[attachment 59080 IMG_0120r.jpg]<br />
<br />
Best of all: Endstop switches are working ! :-)) x-motor port of Ramps-shield is right shoulder joint, y-motor port is left shoulder joint. Switches are connected to x-max pins.<br />
Proof is here:<br />
[<a href="https://youtu.be/3iHMnaFklOw" target="_blank"  rel="nofollow">youtu.be</a>]<br />
And that´s the arm position after homing:<br />
[attachment 59081 IMG_0125r.jpg]<br />
<br />
Roughly measured, the real angles after homing are:<br />
Theta (beta within my drawing):  113°<br />
Psi (alpha within my drawing):    192°<br />
which roughly corresponds to following coordinates:<br />
x:    -105 mm<br />
y:   +105 mm<br />
<br />
OK, so far, I tried to modify the FW...unfortunately with no success.<br />
I refer to this one: <a href="https://github.com/qharley/Marlin/tree/armlevel/Marlin" target="_blank"  rel="nofollow">Marlin-armlevel</a><br />
<br />
Within "Marlin_main.cpp" I switched Quentin Harleys with my inverse kinematics:<br />
<pre class="bbcode">
//++++++++++++++++++++Inverse Theothermike Begin +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// /*
  SCARA_C2 = (pow(SCARA_pos[X_AXIS],2)+pow(SCARA_pos[Y_AXIS],2)-pow(Linkage_2/1000,2)+pow(Linkage_1/1000,2)) / (2 * pow(Linkage_1/1000,2)*sqrt(pow(SCARA_pos[X_AXIS],2)+pow(SCARA_pos[Y_AXIS],2)));
//checked

  SCARA_S2 =  pow(85.0-SCARA_pos[X_AXIS],2)+pow(SCARA_pos[Y_AXIS],2);     // pow(85.0-SCARA_pos[X_AXIS],2)+pow(SCARA_pos[Y_AXIS],2);

  SCARA_K1 = Linkage_1/1000-Linkage_2/1000;
  SCARA_K2 = 2*Linkage_2/1000*sqrt(pow(SCARA_pos[X_AXIS],2)+pow(SCARA_pos[Y_AXIS],2));
  SCARA_K3 = (SCARA_S2+SCARA_K1)/(SCARA_K2); // (SCARA_S2+SCARA_K1)/(SCARA_K2);

  SCARA_theta =(atan2(85.0 - SCARA_pos[X_AXIS],SCARA_pos[Y_AXIS])+3.1415927/2.0-(SCARA_K3)-pow(SCARA_K3,3)/6.0-3.0/40.0*pow(SCARA_K3,5)-5.0/112.0*pow(SCARA_K3,7)-35.0/1152.0*pow(SCARA_K3,9)-63.0/2816.0*pow(SCARA_K3,11)-231.0/13312.0*pow(SCARA_K3,13)-143.0/10240.0*pow(SCARA_K3,15)-6435.0/557056.0*pow(SCARA_K3,17)); //atan2(85.0 - SCARA_pos[X_AXIS],SCARA_pos[Y_AXIS])+acos((SCARA_S2+SCARA_K1)/(SCARA_K2));  //(atan2(85.0 - SCARA_pos[X_AXIS],SCARA_pos[Y_AXIS]) + acos((SCARA_S2+SCARA_K1)/(SCARA_K2)));
  SCARA_psi = atan2(SCARA_pos[X_AXIS],SCARA_pos[Y_AXIS])+3.1415927/2.0-(SCARA_C2)-pow(SCARA_C2,3)/6.0-3.0/40.0*pow(SCARA_C2,5)-5.0/112.0*pow(SCARA_C2,7)-35.0/1152.0*pow(SCARA_C2,9)-63.0/2816.0*pow(SCARA_C2,11)-231.0/13312.0*pow(SCARA_C2,13)-143.0/10240.0*pow(SCARA_C2,15)-6435.0/557056.0*pow(SCARA_C2,17);  //acos(SCARA_C2)+atan2(SCARA_pos[X_AXIS],SCARA_pos[Y_AXIS]);


  delta[X_AXIS] = 180 - SCARA_theta * SCARA_RAD2DEG;  // Multiply by 180/Pi  -  theta is support arm angle
  delta[Y_AXIS] = SCARA_psi * SCARA_RAD2DEG;  //       -  equal to sub arm angle (inverted motor)
// */
//++++++++++++++++++++Inverse Theothermike End +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</pre>
<br />
Somehow, the FW has problems to calculate the inverse cosine function acos(). I spent hours and suddenly it was clear...therefore I approximated the acos() using its Taylor expansion at x=0.<br />
At least it somehow calculates some values and jogging is possible.<br />
<br />
Afterwards, the forward calculation was added in "Marlin_main.cpp":<br />
<pre class="bbcode">
 //################## Theothermikes Calculation for SCARyllA Begin.#################################################################################################
  // Perform forward kinematics, and place results in delta[0]
// /*
  float y1, y2, x1, x2, df0, df1, df2, df3;
  y1 = sin(f_delta[Y_AXIS]/SCARA_RAD2DEG) * Linkage_1 / 1000;
  y2 = sin(f_delta[X_AXIS]/SCARA_RAD2DEG) * Linkage_1 / 1000;
  x1 = cos(f_delta[Y_AXIS]/SCARA_RAD2DEG) * Linkage_1 / 1000;
  x2 = 85.0 + cos(f_delta[X_AXIS]/SCARA_RAD2DEG) * Linkage_1 / 1000;
  df0 = (sqrt(pow(df1,2) + pow(df2,2)))/(2 * Linkage_2/1000);
  df1 = (x2 - x1);
  df2 = (y2 - y1);
  df3 = atan2(df2 , df1) + 3.1415927/2.0-(df0)-pow(df0,3)/6.0-3.0/40.0*pow(df0,5)-5.0/112.0*pow(df0,7)-35.0/1152.0*pow(df0,9)-63.0/2816.0*pow(df0,11)-231.0/13312.0*pow(df0,13)-143.0/10240.0*pow(df0,15)-6435.0/557056.0*pow(df0,17);
  
  
  delta[X_AXIS] = x1 + Linkage_2/1000 * cos(df3) + SCARA_offset_x;
  delta[Y_AXIS] = y1 + Linkage_2/1000 * sin(df3) + SCARA_offset_y;
// */
 //################## Theothermikes Calculation for SCARyllA END.#################################################################################################</pre>
Again, acos() was not working --&gt; Same Taylor expansion.<br />
<br />
Within "Configuration.h" settings using the measured coordinates after homing are:<br />
<pre class="bbcode">
// Manual homing switch locations:
// For deltabots this means top and center of the cartesian print volume.
// Scara: x centered, y 0
#define MANUAL_X_HOME_POS -105.0
#define MANUAL_Y_HOME_POS 105.0
#define MANUAL_Z_HOME_POS 210  // Distance between nozzle and print surface after homing.</pre>
<br />
Offsets equal zero, so that the "real" coordinates and angles should be given:<br />
<pre class="bbcode">
// SCARA tower offset (position of Tower relative to bed zero position) 
// This needs to be reasonably accurate as it defines the printbed position in the SCARA space.
#define SCARA_offset_x 0.0 //mm   
#define SCARA_offset_y 0.0 //mm</pre>
<br />
Steps per rev. settings are:<br />
<pre class="bbcode">
// default settings 

#define DEFAULT_AXIS_STEPS_PER_UNIT   {711, 711, 100, 450}
#define DEFAULT_MAX_FEEDRATE          {300, 300, 300, 45}  // (mm/sec)
#define DEFAULT_MAX_ACCELERATION      {400, 400, 400, 8000}    // X, Y, Z, E maximum start speed for accelerated moves.</pre>
Currently the gear ratio is 1:80, motors exhibit 200 steps/rev and driver is set to 16x microstepping, yielding in a total of 256000 steps/rev = 711.111 steps/deg.<br />
<br />
So far, so good. I think mechanical and electrical system is running as it should, but FW is still faulty.<br />
I still do not understand how homing is working.<br />
After homing, by submitting M114 to the device, the x,y-coordinates do not equal the setted home position and the angles are completely wrong.<br />
After endswitch triggering, does the FW take the setted home coordinates and calculates the corresponding angles?<br />
Perhaps I still have an error within the calculations or something during code execution goes wrong?<br />
Do I need to swap motors?<br />
In Quentin Harleys version, he multiplies Theta inside the IK by (-1). Why that? Have I missed some inverted motor direction?<br />
<br />
However, when using the unmodified FW, it somehow correspond correct ( jogging +x --&gt; movement -x, angles and home coordinates not too far away,..)<br />
<br />
<br />
I will check calculation using an excel script or so...Really weird the Marlin-armlevel-FW....]]></description>
            <dc:creator>theothermike</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Thu, 30 Jul 2015 15:44:24 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,529898#msg-529898</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,529898#msg-529898</link>
            <description><![CDATA[ Thanks for the link....while reading through it I remember that I already found it some months ago, but set it aside because it needs several steps of simplification into a more compact mathematical form.<br />
But, indeed, it´s at least one calculation I can still compare ! :-)]]></description>
            <dc:creator>theothermike</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Tue, 07 Jul 2015 06:32:13 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,529846#msg-529846</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,529846#msg-529846</link>
            <description><![CDATA[ Just regarding our discussion on the kinematics : in this document you will find both the forward and the inverse <br />
[<a href="http://www.ohio.edu/people/williar4/html/PDF/Supplement4290.pdf" target="_blank"  rel="nofollow">www.ohio.edu</a>]<br />
<br />
Could be helpfull to check :)]]></description>
            <dc:creator>lyscanthrope</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Tue, 07 Jul 2015 02:40:13 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,529682#msg-529682</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,529682#msg-529682</link>
            <description><![CDATA[ Yesterday I tested the hall effect switches (HES) on a breadboard with an LED. Seems to work well when using a pullup resistor.<br />
<br />
So I decided to design and manufacture a corresponding HES-box (material is black POM):<br />
[attachment 57645 POM-HES_Box.JPG]<br />
The HES´s will be glued into the box to give a sturdy finish.<br />
It will be set into the middle beteen the two gears:<br />
[attachment 57646 NeuerHallHalter2.JPG]<br />
Next step will be a small redesign of the magnet holder clamps...<br />
<br />
I want to use two 3x6mm NdFeB-magnet rods (N45). Lateral distance between them seems to be OK from the breadboard tests...]]></description>
            <dc:creator>theothermike</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Mon, 06 Jul 2015 13:46:35 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,528453#msg-528453</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,528453#msg-528453</link>
            <description><![CDATA[ I think the forward kinematic is the following:<br />
[attachment 57430 Forwardkinematic.JPG]<br />
<br />
Looks weird (quite nested) and I´m sorry it´s not written very clearly, but it was a first try.]]></description>
            <dc:creator>theothermike</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Thu, 02 Jul 2015 13:57:38 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?185,490216,528388#msg-528388</guid>
            <title>Re: SCARyllA: Dual (parallel) arm SCARA laser engraver build</title>
            <link>https://reprap.org/forum/read.php?185,490216,528388#msg-528388</link>
            <description><![CDATA[ It could be ....but it is quite suspicious. I think I have missed something ... if the guy has commited it ...he should have tested before ! So I think I missed something !<br />
Did you manage to have a forward kinematics for your build ? I treid ...but didn't succed :(]]></description>
            <dc:creator>lyscanthrope</dc:creator>
            <category>Polar Machines, SCARA, Robot Arms</category>
            <pubDate>Thu, 02 Jul 2015 11:44:13 -0400</pubDate>
        </item>
    </channel>
</rss>
