ReplicatorG-Skeinforge-RAMPS

From RepRapWiki
Jump to: navigation, search

Latest (17/4/2011) settings are here, works with ReplicatorG 24, Skeinforge 39. No other info yet, leaving for a few days and just wanted latest *working* configs out if anybody else struggling to get this workin too: File:RepSkeRamTea Settings.zip

I built a RepRap Mendel with Wade's Geared Extruder.

I have it working already, but my Skeinforge settings are still way of.

Input and suggestions are greatly appreciated!

Here will be the place with the tweaks I did to get it going with ReplicatorG.

Computer: Mac OS X 10.6.7

Software: ReplicatorG 0024 and Skeinforge 0035

Firmware: Teacup Firmware

Hardware: RepRap Mendel with 3 endstops: XMin, YMax, ZMin

Extruder: Wade's extruder

Hotend: Phayzr Hotend (my own quick'n dirty heater design, doesn't really work yet, but I still like the idea of using copper for it's high thermal conductivity)

Contents

App: ReplicatorG settings

Attention: Pulled the latest sources from the teacup git repository, and now Z Axis mouvement occurs only if I activate #accelerate_ramping. Also, you need to change #define TEMP_RESIDENCY_TIME 1 in config.h , because of a change in the way it is calculated

Just read on the ReplicatorG Development Discussion that Ben Jackson did some serious fixes to get ReplicatorG to play nice with Teacup, I will try his patched ReplicatorG.


ReplicatorG->Preferences: Check: Show experimental profiles

It seems to work also WITHOUT the following setting: Generate separate Z steps (not sure this necessary) Attention! You ABSOLUTELY need to disable this again if you use ReplicatorG with a Makerbot Thing-O-Matic, it will make the head crash right into the build platform!!!

File: replicatorg/machines/reprap.xml

  • In ReplicatorG->Preferences you need to check Show experimental profiles to be able to see these settings
These settings are not yet production ready, still need to figure out the link with the values in config.h
<machine experimental="1">
               <name>Mendel with Mega/RAMPS Electronics (115200 baud)</name>
               <geometry type="cartesian">
                       <axis id="x" length="200" maxfeedrate="5000" scale="47.069852" endstops="min"/>  
                       <axis id="y" length="200" maxfeedrate="5000" scale="47.0698523" endstops="max"/>  
                       <axis id="z" length="140" maxfeedrate="150" scale="160" endstops="min"/> 
               </geometry>
               <tools>
        <tool name="Stepper-based extruder" type="extruder" material="abs" motor="true" floodcoolant="false" mistcoolant="false" fan="true" valve="false"
        collet="false" heater="true" motor_steps="3200" heatedplatform="false" default_rpm="5.5"/>
               </tools>
               <clamps></clamps>
               <help name="RepRap Help" url="http://www.reprap.org/ReplicatorG"></help>
               <driver name="reprap5d">
                       <rate>115200</rate>
                        <parity>8</parity>
<pulserts>false</pulserts>     <---IMPORTANT to set this to false, for proper connect/disconnect/reset
<waitforstart enabled="true" timeout="1000" retries="3"></waitforstart>
<fived>true</fived>
               </driver>
               <warmup>
               </warmup>
               <cooldown>
               </cooldown>
       </machine>

Calculation: Steps_Per_mm_E

Need to calculate steps_per_mm_e - xtruded: This is only valid if you use Skeinforge earlier than 0040, for 0040 calculation is different

Nozzle d2 = 0.5 mm  -> r2 = 0.25
Filament d1 = 3 mm  -> r1 = 1.5
Stepper 200 steps per rotation
Gears: 39:11 
Bolt d3 = 8 mm -> r3 = 4 mm

1) What goes in must come out (more or less)

1 mm of 3mm Filament gives ??? mm's of 0.5 nozzle output?

h1 = 1 mm (Filament input)

VolIn  = pi * r1^2 * h1     //Volume of input
       = 3.1415 * 1.5^2 * 1
       = 7.065 mm3

VolOut = pi * r2^2 * h2     //Volume of output
       = 3.1415 * 0.25^2 * h2
       = 0.1963 * h2

VolIn = VolOut

7.065 = 0.1963 * h2
   h2 = 7.065 / 0.1963
   h2 = 35.99 mm

So: 1 mm of filament input produces 35.99 mm of nozzle output, right (Seems pretty much, too ???)

Bolt circumference:

c = 2 * pi * r3
  = 2 * 3.1415 * 4
  = 25.132 mm

So: 1 bolt rotation produces 25.132 mm of filament input

So: 1 bolt rotation produces: 25.132 * 35.99 = 904.5 mm nozzle output (Seems pretty much, too ???) 

1 Stepper rotation produces: (11/39) = 0.282051 bolt rotations

So: 1 Stepper rotation produces: 904.5 x 0.282051 = 255.1151 mm of nozzle output

So: 1 Step produces: 255.1151 / 200 = 1.2756 mm of nozzle output!!!

So: steps_per_mm_e = 1 / 1.2756 = 0.7839 steps to obtain 1 mm of nozzle output

Don't forget to multiply by your microstepping setting later.

HEUREKA! (or not?)

File: config.h.ramps

  • renamed to config.h
  • #define MICROSTEPPING_X 16.0
  • #define MICROSTEPPING_Y 16.0
  • #define MICROSTEPPING_Z 4.0
  • #define MICROSTEPPING_E 4.0
  • #define STEPS_PER_MM_X (5.00*MICROSTEPPING_X)
  • #define STEPS_PER_MM_Y (5.00*MICROSTEPPING_Y)
  • #define STEPS_PER_MM_Z (420.00*MICROSTEPPING_Z)
  • #define STEPS_PER_MM_E (0.784*MICROSTEPPING_E) // rounded 0.9508 from previous calculation (preset value in config.h.ramps was 2.759, quite a difference, maybe i'm wrong...)
  • #define MAXIMUM_FEEDRATE_X 3000
  • #define MAXIMUM_FEEDRATE_Y 3000
  • #define MAXIMUM_FEEDRATE_Z 120
  • #define MAXIMUM_FEEDRATE_E 3200
  • #define SEARCH_FEEDRATE_X 3000 //was50
  • #define SEARCH_FEEDRATE_Y 3000
  • #define SEARCH_FEEDRATE_Z 120 ///was 1???
  • #define SEARCH_FEEDRATE_E 800
  • #define E_STARTSTOP_STEPS 0 //can maybe be 1, will confirm if i find out
  • softlimits undefined (to make repositioning via the ReplicatorG Controlpanel easy, will be reenabled after everything works)
  • ACCELERATION_REPRAP undefined
  • ACCELERATION_RAMPING undefined


  • #define BAUD 115200
  • #define XON/OFF

Board: RAMPS

  • Stepper Jumpers:
    • X = 1/16
    • Y = 1/16
    • Z = 1/4
    • E = 1/4

App: Skeinforge settings

Skeinforge settings for CARVE
Skeinforge settings for DIMENSION
Skeinforge settings for FILL (part1)
Skeinforge settings for FILL (part2)
Skeinforge settings for SPEED

???

This chapter intentionally left blank. :-)

PROFIT!!!

first printout