ReplicatorG-Skeinforge-RAMPS

From RepRap
Revision as of 15:22, 4 April 2011 by Cloudmaker (talk | contribs) (App: ReplicatorG settings:)
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)



App: ReplicatorG settings

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

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

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: (these are very slow, will put in the right values when I understand how they work)
    • #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 STEPS_PER_MM_E (0.951*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 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


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

???

PROFIT!!!

first printout