ReplicatorG-Skeinforge-RAMPS

From RepRap
Revision as of 09:57, 1 April 2011 by Cloudmaker (talk | contribs)
Jump to: navigation, search

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)


File: replicatorg/machines/reprap.xml

  • In ReplicatorG->Preferences you need to check Show experimental profiles to be able to see these settings
<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>true</pulserts>
<waitforstart enabled="true" timeout="1000" retries="3"></waitforstart>
<fived>true</fived>
               </driver>
               <warmup>
               </warmup>
               <cooldown>
               </cooldown>
       </machine>



File: config.h.ramps

Need to calculate steps_per_mm_e - xtruded:

Nozzle d2 = 0.5 mm  -> r2 = 0.25
Filament d1 = 3 mm  -> r1 = 1.5
Stepper 200 steps per rotation
Gears: 43:10
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: (10/43) = 0.232558 bolt rotations
So: 1 Stepper rotation produces: 904.5 x 0.232558 = 210.3487 mm of nozzle output
So: 1 Step produces: 210.3487 / 200 = 1.0517 mm of nozzle output!!!
So: steps_per_mm_e = 1 / 1.0517 = 0.9508 steps to obtain 1 mm of nozzle output
HEUREKA! (or not?)


  • renamed to config.h
  • softlimits undefined (to make repositioning via the ReplicatorG Controlpanel easy, will be reenabled after everything works)
  • #define BAUD 115200
  • #define XON/OFF
  • ACCELERATION_REPRAP undefined
  • ACCELERATION_RAMPING undefined
  • Stepper settings:
    • #define MAXIMUM_FEEDRATE_X 200
    • #define MAXIMUM_FEEDRATE_Y 200
    • #define MAXIMUM_FEEDRATE_Z 100
    • #define MAXIMUM_FEEDRATE_E 600
    • #define SEARCH_FEEDRATE_X 100 //was50
    • #define SEARCH_FEEDRATE_Y 100
    • #define SEARCH_FEEDRATE_Z 100 ///was 1???
    • #define SEARCH_FEEDRATE_E 50
    • #define E_STARTSTOP_STEPS 1 //this might need to be zero, will try later again

Board: RAMPS

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


Skeinforge settings:

Activate dimension Set to Relative

ReplicatorG settings:

Prferences: 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!!!