Welcome! Log In Create A New Profile

Advanced

Please help for getting proper firmware for this

Posted by Saurabh Lanje 
Please help for getting proper firmware for this
November 17, 2013 07:56AM
I have started working on this design,this is only initial design, but unfortunately i dont know how to modify existing firmwares for this 3d printer. Attached figure shows mechanism for motion in x and y direction only.....please tell me about what to do with firmware issue.
thanks in advance
Attachments:
open | download - Untitled.jpg (43.5 KB)
Re: Please help for getting proper firmware for this
November 17, 2013 12:03PM
You made a Wally type mechanism.
See [forums.reprap.org]

smiling smiley
A2
Re: Please help for getting proper firmware for this
November 17, 2013 03:27PM


DexTAR
[www.youtube.com]

Edited 1 time(s). Last edit at 11/17/2013 03:28PM by A2.
Attachments:
open | download - ScreenHunter_200 Oct. 24 10.27.jpg (50 KB)
Re: Please help for getting proper firmware for this
November 17, 2013 11:11PM
@Saurabh Lanje: If you grab some firmware like Marlin with delta support then you can replace the coordinate transformation function with your own.

I believe that as drawn your design will have a very limited build area. The main problem will be from the singularity you get when the forearms are co-linear. The DexTAR above sets a high bar by having a very smart control system. It's path planning has to make sure that momentum will carry the machine through a singularity. I would love to see something like this for 3D printing but as you can imagine it would require heavily modified firmware.
Re: Please help for getting proper firmware for this
November 18, 2013 01:02AM
@nicholas.seward
Thanks for reply

I am have designed the bed area such that it will never have pass such condition of singularity. attached images shows the dimensional details of arms from top view.
1st fig show that the arms are in such conditions when the extrudewr come below level in y direction. so i have reduced bed area. it is shown in fig. In this bed area such condition never arises.the bed area is very less as it can be seen from fig. Even it will be lesser than that shown in figures. It ok for me

Edited 1 time(s). Last edit at 11/18/2013 01:05AM by Saurabh Lanje.
Attachments:
open | download - 2.jpg (65.6 KB)
open | download - 1.jpg (62.4 KB)
Re: Please help for getting proper firmware for this
November 18, 2013 02:26AM
@Saurabh Lanje: Nice! I just wanted to make sure you were aware of the limitations and you are.



You might want to consider making it so that the motor arms lengths plus the distance between the motors sum to be the same as the combined length of the forearms. You can see in the diagram that it moves your envelope closer in. I drew the rectangle with an optimized area. If you want a square area then the biggest one for this arrangement is 162x162mm.

You can also get access to both sides without any singularities if you can give each link its own level which will cause you to get real creative with motor mounting and filament routing. That is probably out of the scope of what you want to do.

Edited 1 time(s). Last edit at 11/18/2013 02:27AM by nicholas.seward.
Attachments:
open | download - envelope.png (17.9 KB)
Re: Please help for getting proper firmware for this
November 19, 2013 08:44AM
@nicholas.seward
Thats great......hence i can increase bed area even more......thanks for such great idea......i will definitely implement that.......currenty i am trying to stude morgan firmware to modify it. i Will it be better to study marlin firmware or delta firmware?

Edited 1 time(s). Last edit at 11/19/2013 08:46AM by Saurabh Lanje.
Re: Please help for getting proper firmware for this
November 23, 2013 11:18PM
What modifications should i do in firmware for this printer?
Re: Please help for getting proper firmware for this
November 27, 2013 05:26AM
thats my final design for motion in x and y direction
Attachments:
open | download - final_design2.jpg (97 KB)
A2
Re: Please help for getting proper firmware for this
November 27, 2013 05:41AM
I like the worm drive thumbs up
Re: Please help for getting proper firmware for this
November 27, 2013 07:02AM
@A2
thankssmiling smiley
A2
Re: Please help for getting proper firmware for this
November 27, 2013 08:33PM


@ Saurabh Lanje

It might be simpler to use decorative aluminum C-channel and angle stock to mount and align the motors and worm drive.
You could also use PVC channel/angles (guttters?) or wood to create a box structure to mount the hardware.
This would allow you to support the end of the worm and the worm wheel.

At minimum I would suggest adding a cross bar to the top of the two worm wheels as you have drawn.
This would help reduce flexing.

Edited 2 time(s). Last edit at 11/27/2013 08:37PM by A2.
Attachments:
open | download - ScreenHunter_235 Nov. 27 20.28.jpg (15.1 KB)
Re: Please help for getting proper firmware for this
December 03, 2013 07:59AM
@ A2
thanks .....that seems to be clean and easy to manufacture.....please tell me weather there is need to attach bearing to vertical shaft supporting the links?
and Sry for delay
A2
Re: Please help for getting proper firmware for this
December 13, 2013 06:36PM


Printable Parallel SCARA first print
Published on Nov 15, 2012
[www.youtube.com]

First ever print in the world (as far as I know) from a 3D-printable parallel SCARA 3D printer.

Edited 1 time(s). Last edit at 12/13/2013 06:36PM by A2.
Attachments:
open | download - ScreenHunter_302 Dec. 13 18.32.jpg (44.9 KB)
Re: Please help for getting proper firmware for this
December 13, 2013 09:15PM
@A2
Thats great, it's almost similar to my design, i have seen its firmware and it is working fine,but there is need for adding homing facility in the firmware,the firmware allows change in interpolation length for SCARA motion
Re: Please help for getting proper firmware for this
September 03, 2014 11:21AM
Finally I have completed this project successfully. I have added homing support for the firmware.
Attachments:
open | download - DSCN8956.JPG (258 KB)
open | download - DSCN8961.JPG (297.8 KB)
open | download - DSCN8962.JPG (254.4 KB)
open | download - IMG_20140107_165905.jpg (226.1 KB)
Re: Please help for getting proper firmware for this
September 03, 2014 11:34AM
Can you share how you added homing?


[scara3dprinter.wordpress.com]
Re: Please help for getting proper firmware for this
September 04, 2014 08:29AM
yes.....I will upload the main file of firmware where I have made changes.....u need to add end stops for each link connected to motor.
A2
Re: Please help for getting proper firmware for this
September 04, 2014 06:15PM
@Saurabh Lanje:

Very nice thumbs up
Looking forward to watching a video it operating!
Where did you source the worm, and worm wheel, and what resolution can you resolve?
Re: Please help for getting proper firmware for this
September 06, 2014 12:03PM
The worm wheel were manufactured from local manufacturer. We used 1:25 reduction and 1/16 microstepping. The backlash was very difficult to avoid. Also the alignment of worm wheel was very difficult
Re: Please help for getting proper firmware for this
September 06, 2014 12:04PM
[m.youtube.com]


This is the link for video
Re: Please help for getting proper firmware for this
September 09, 2014 09:41AM
We're you able to remove from the firmware the initial arm movement that causes the arms to collide upon startup? Are all the modifications needed in the marlin_main.cpp file?


[scara3dprinter.wordpress.com]
Re: Please help for getting proper firmware for this
September 10, 2014 12:17PM
I didnt tried to remove this problem intentionally, this problem was solved as I add homing finction......still for very few times it clash but almost for most of time it dont clash
Re: Please help for getting proper firmware for this
September 10, 2014 12:18PM
And v I have added only two cases for homin function
Re: Please help for getting proper firmware for this
September 10, 2014 12:33PM
Would this be modifying case 92?


[scara3dprinter.wordpress.com]
Re: Please help for getting proper firmware for this
September 12, 2014 04:57AM
You can add that code to any of the cases or you can add your own cases
Re: Please help for getting proper firmware for this
September 12, 2014 11:21AM
I am still confused. Can you copy and paste what you did in that part of the code and post it on the forum?


[scara3dprinter.wordpress.com]
Re: Please help for getting proper firmware for this
September 23, 2014 11:45AM
case 113://for debuging(Saurabh)
/* add homing algorithm here
start homing of x and y together
and after that start homing of z axis
when all axis are homed properly set co ordinates
X_STEP_PIN 14
X_DIR_PIN 11

Y_STEP_PIN 22
Y_DIR_PIN 23

Z_STEP_PIN 3
Z_DIR_PIN 2
pinMode(X_MIN_PIN, INPUT);
pinMode(Y_MIN_PIN, INPUT);
pinMode(Z_MIN_PIN, INPUT);

digitalWrite(Z_STEP_PIN, HIGH);
digitalWrite(Z_STEP_PIN, LOW);
pinMode(buttonPin, INPUT);
*/
//Z HOMING
/*
digitalWrite(Z_DIR_PIN, LOW);
digitalWrite(Z_ENABLE_PIN, LOW);
while(1)
{
_delay_us(100);
digitalWrite(Z_STEP_PIN, HIGH);
_delay_us(100);
if(digitalRead(Z_MIN_PIN)==LOW)
{
digitalWrite(Z_ENABLE_PIN, HIGH);
break;
}
digitalWrite(Z_STEP_PIN, LOW);
}
*/
/*
//X HOMING
digitalWrite(X_DIR_PIN, HIGH);
digitalWrite(X_ENABLE_PIN, LOW);
while(1)
{
_delay_us(100);
digitalWrite(X_STEP_PIN, HIGH);
_delay_us(100);
if(digitalRead(X_MIN_PIN)==LOW)
{
digitalWrite(X_ENABLE_PIN, HIGH);
break;
}
digitalWrite(X_STEP_PIN, LOW);
}

//Y HOMING
//X HOMING
digitalWrite(Y_DIR_PIN, HIGH);
digitalWrite(Y_ENABLE_PIN, LOW);
while(1)
{
_delay_us(100);
digitalWrite(Y_STEP_PIN, HIGH);
_delay_us(100);
if(digitalRead(Y_MIN_PIN)==LOW)
{
digitalWrite(Y_ENABLE_PIN, HIGH);
break;
}
digitalWrite(Y_STEP_PIN, LOW);
}
*/
//XY HOME TOGTHER
digitalWrite(Y_DIR_PIN, HIGH);
digitalWrite(Y_ENABLE_PIN, LOW);
digitalWrite(X_DIR_PIN, HIGH);
digitalWrite(X_ENABLE_PIN, LOW);
while(1)
{
_delay_us(100);
digitalWrite(Y_STEP_PIN, HIGH);
digitalWrite(X_STEP_PIN, HIGH);
_delay_us(100);
if(digitalRead(Y_MIN_PIN)==HIGH)
{
digitalWrite(Y_STEP_PIN, LOW);
}
if(digitalRead(X_MIN_PIN)==HIGH)
{
digitalWrite(X_STEP_PIN, LOW);
}
if(digitalRead(X_MIN_PIN)==LOW&&digitalRead(Y_MIN_PIN)==LOW)
{
digitalWrite(X_ENABLE_PIN, HIGH);
digitalWrite(Y_DIR_PIN, HIGH);
for(i=0;i<4992;i++)
{
_delay_us(100);
digitalWrite(Y_STEP_PIN, HIGH);
_delay_us(100);
digitalWrite(Y_STEP_PIN, LOW);
}

break;
}
}
SERIAL_PROTOCOLPGM("X motor homming completed");
SERIAL_PROTOCOLPGM("Enter m116 for homing Y motor");

break;
case 116:
digitalWrite(Y_DIR_PIN, LOW);
digitalWrite(Y_ENABLE_PIN, LOW);
for(i=0;i<9984;i++)
{
_delay_us(100);
digitalWrite(Y_STEP_PIN, HIGH);
_delay_us(100);
digitalWrite(Y_STEP_PIN, LOW);
}
digitalWrite(Y_ENABLE_PIN, HIGH);
plan_set_position(current_scara_x_position,current_scara_y_position,0,0);
st_synchronize();
break;
Re: Please help for getting proper firmware for this
September 23, 2014 11:46AM
this is the part of code which i added to firmware. it is not in proper format but it works.....
Re: Please help for getting proper firmware for this
September 23, 2014 11:51AM
m113 starts moving the links towards end stops, the links stop when they touch the end stops.
the end stop position must be selected such that it should be out of working zone of 3d printer,or it must be extreme of links.
angle by which each link should move to reach cartesian origin of bed area is calculated and put in the code. by this angle each motor is moved after homing the link to extreme positions.
Sorry, only registered users may post in this forum.

Click here to login