Jump to: navigation, search

Setting up Replicape for Deltas

Revision as of 16:20, 18 August 2017 by Dancook (talk | contribs)

Under Construction!!!

Before I start this tutorial, one very important detail to know before you start stripping wires and cranking on your Delta is:

Wiring up the steppers/end stops...

             X-axis in the back
             Y-axis to the left
             Z-axis to the right

Get this wrong, and you'll be chasing your tail for a while!

My goal here is to give a quick rundown of how to get your Delta going... If you need help with wiring, WiFi, SSH'ing into your BBB, or generally linking your printer with Octoprint there's plenty of documentation within the Wiki, and we also have plenty of skilled guys over at: Slack and Google+ to offer help.

OK, so you have your towers figured out? Good.. and you've wired everything up to the best of your knowledge? Great! Your printer is connected to Octoprint? Fantastic!

Before we make any moves with the machine, let's wrap our brains around the Profile Configurations which are located in <Settings> <Redeem Plugin> These guys are what tells Redeem (the software) what kind of printer it's dealing with. At the bottom you'll see "Default.cfg"... Click on the little eyeball and check out all of the commands in that file! This configuration contains all of the necessary commands that tells the software the size of the printer, how much power to send to your steppers, how fast it can move, and how slow... Ok, close that window... above that, you'll see Printer.cfg... these particular configurations are tweaked for specific printers, and whatever is written to this configuration will override the Default.cfg... you with me so far? Excellent! Beers for everyone! Wait, we're not finished yet! You may have noticed that you can't make any changes to those configurations, and that's a good thing, let me tell you!

OK... if you have a typical Kossel Mini, you can go ahead and make "kossel_mini.cfg" in the list of Printer.cfg's your default configuration by clicking the star symbol... things should be very close up to this point... but before we go printing, let's talk about that profile up top called "local.cfg"... What? There's nothing in that file? You're right! Something must be wrong... Let me find that toll free hot-line... Just kidding... this is where you, yes you, get to make changes to the configuration... and this local.cfg overrides the printer.cfg, and the default.cfg, so make sure you're not too pickled while you're dealing with this config!

OK... let's get to the fun stuff!

So let's say you're the adventurous type, and you've built yourself an oversized custom delta... 300mm bed, 1M tall...

Before we open up the local.cfg, lets go to "Terminal" tab in Octoprint and make sure your XYZ endstops are wired correctly... Remembering the tower positions of XYZ up above, you should see a message pop up in the terminal when you manually push the endstops... "X1 endstop hit... and so on"... if you see this message for each endstop, then great! We're on the right track. If not, we're going to fix them in the [Endstop] section of your local.cfg... if they don't work after that, then you may have wired them incorrectly!

Let's open up our local.cfg file in Octoprint and start from the top with what you will need initially... Do not copy/paste anything within parentheses... these are only explanations...

[Geometry]
axis_config = 3 (The 3 here means that we are using a Delta printer... 0 would be used for normal Cartesian)
[Steppers]
microstepping_x = 3 (The 3 here means we are microstepping at 1/4 steps for each stepper...)
microstepping_y = 3 (Microstepping is explained here: http://wiki.thing-printer.com/index.php?title=Redeem#Microstepping )
microstepping_z = 3
microstepping_e = 3
current_x = 0.5 (This setting is 0.5 amps... anything above this will require cooling and the addition of heat sinks...)
current_y = 0.5 (I would highly recommend adding heatsinks to the stepper drivers and a fan for cooling the board...)
current_z = 0.5 (There will probably come a time when you need more current, which requires mandatory cooling...)
current_e = 0.5
steps_pr_mm_x = 5.0 (This should get you in the ballpark with 1.8 degree steppers...)
steps_pr_mm_y = 5.0 (When the time comes, you will need to calibrate your X, Y, and Z for accurate prints)
steps_pr_mm_z = 5.0
steps_pr_mm_e = 6.0 (You will need to calibrate your steps here... see: https://toms3d.org/2014/04/06/3d-printing-guides-calibrating-your-extruder/ )
in_use_x = True (By adding "True" here, it means that you do have a stepper in use for this axis...)
in_use_y = True
in_use_z = True
in_use_e = True
[Endstops]
has_x = True (Chances are, you have an endstop for each of these axes... therefore "True"!)
has_y = True
has_z = True
end_stop_x1_stops = x_cw (Most deltas will have the endstop stopping the cw rotation of your stepper...
end_stop_y1_stops = y_cw (but if yours is different, change it to "ccw"... I also suggest having all of your steppers)
end_stop_z1_stops = z_cw (rotating in the same direction... things get confusing otherwise)
soft_end_stop_min_x = -0.150 (Since X0 and Y0 are in the center, you'll use a negative radius for minimum X and Y,)
soft_end_stop_min_y = -0.150
soft_end_stop_max_x = 0.150 (And a positive radius for your maximum X and Y...)
soft_end_stop_max_y = 0.150
invert_x1 = False (Remembering your X,Y,Z tower positions mentioned above... if everything was working, then we can leave)
invert_y1 = False (these as "False... If you weren't receiving the "Endstop hit" message, then change this to "True"... save your)
invert_z1 = False (local.cfg, restart Redeem, and check them again manually...)
At this point, you should be able to save your changes in the local.cfg, restart Redeem, and at least get movement from your machine... you're 
reconnected to Octoprint, go to your Terminal tab and enter M18 (to disengage your steppers). Physically move your printhead so that your carriages are 
at about half the distance to your endstops. The software is going to think you're Z axis is at "0", so enter G1 Z20 and see if all three 
motors are raising the carriages. If any of your carriages are moving down, then I suggest physically flipping the plug connecting that stepper to the 
Replicape. To be safe, power down the machine beforehand... remove the plug, flip it 180°, and plug it back in. Do this for any steppers that were not 
moving upwards. Once finished, power up your machine and check the movement again just like before.
If your machine was working correctly, then you're ready to move on to the next step!!


Stopping here... I'll be back later...

Author: Dancook Updated: 08-14-2017