Clone wars: Ronquío

From RepRap
Revision as of 08:02, 1 December 2013 by JperezCW (talk | contribs) (Offspring)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search




  • First Reprap printer at University of Jaén


  • José Antonio Pérez Caparrós


Escudo Bit UJAxp.gif

Printed Parts

Full structure

Picture Piece (STL) Quantity Picture Piece (STL) Quantity
R-bar-clamp-x8.PNG Bar Clamp 8 R-Frame-vertex-foot-x4.PNG Frame vertex with foot 4
R-Frame-vertex-x2.PNG Frame vertex 2 R-ybrac-t-x1.PNG Y motor bracket 1
R-z-motor-mount-barclamp-x1.PNG Z motor mount 2 R-endstop-holder-x3.PNG Endstop holder 3
R-belt-clamp-x2.PNG Belt clamp 2 R-belt-clamp-nut-holder-x2.PNG Belt clamp nut holder 2
R-bearing-guide-x3.PNG Bearing guide 3 R-lm8uu holder-x4.PNG LM8UU Holder 4
R-jonaskuehling x-ends threadedrod idler-x1.PNG Ends threadedrod idler 1 R-jonaskuehling x-ends threadedrod motor-x1.PNG Ends threadedrod motor 1
R-x-carriage-reversed-nutsx1.PNG X carriage 1 R-coupling-x2.PNG Coupling 2

Extruder: Jonaskuehling

Picture Piece (STL) Quantity Comments
Jonas-body.png jonaskuehling_gregs-wade-v3_jhead 1 Greg's Wade reloaded
Jonas-big-gear.png biggearmod_fixed 1 Big gear
Jonas-small-gear.png smallgearmod_fixed 1 Small gear


In the area of ​​self-replicating printers (repraps) are called vitamins to the parts that non-printable and you have buy them.

Picture Piece Quantity Picture Piece Quantity
Motor-pap.png Stepper motors Nema 17 5 Correas-T2 5.png Belts open T2.5, 50mm wide. Lengths: 840mm(axis Y), 920mm (axis x) 2
Polea T2 5.png Metal pulleys T2.5 or SLS 2 DSC05575.JPG Linear bearing LM8UU 10
2011-04-11-rodamiento.jpg 608 zz bearings 6 Varilla-roscada-r1.jpg M8 threaded rod 1m long 6
DSC04769.JPG M8 smooth rods of stainless steel (1m long) 3 Tuerca-M8.jpg M8 nuts 100
Arandelas-M8.jpg Normal M8 washers 100 Bridas.png Clamps 2.5mm wide and 120mm long 14
M3x10.png Screws M3 x 10mm 20 M3x12.png Screws M3 x 12mm 3
M3x16.png Screws M3 x 16mm 8 M3x20.png Screws M3 x 20mm 4

M3x25.png Screws M3 x 25mm 8 M3-nut.png M3 nuts 23
Arandela-M3.png M3 Washers, normal width 35 Piezasit2-tornilloM3x40.jpg Screw M3 x 40mm --
Piezasit2-prisioneroM3.jpg Allen head bolt M3 3 Piezasit2-tornilloM4x20.jpg Screw M4 x 20mm --
Piezasit2-arandelaM4.jpg Washer M4 -- Piezasit2-tuercaM4.jpg M4 Hex nut --
Base madera 22x22cm.png Wood Base 22x22 cm and thickness 3-4mm 1 Clema.jpg terminals 4
Pinzas.jpg Stationery Clips 4 Vidrio.jpg Glass or mirror 20x20cm 1
Cinta.jpg Kaptom tape 1 Tubo goma 5mm int.png vinyl tubing, 5 mm inner diameter and 2cm long. 2

Vitamins for extruder

Picture Piece Quantity Comments
Tornillo Hyena.jpg M8 bolt 1 1 to extruder

Threaded rods

In total needed 6 M8 threaded rods 1m long. It should be cut to the following sizes:
Lengths of threaded rods (Click to zoom)

Smooth rods

Smooth rods of 420, 406 y 350 mm

We are needed 6 rods, of the following sizes:

  • 4 x 410mm to X axis and Y axis.
  • 2 x 350mm to Z axis.

Electro mechanical

Picture Piece Quantity Picture Piece Quantity
R Allegro 4982.JPG Allegro 4982 4 R Arduino mega 2560.jpg Arduino Mega 2560 1
R Ramps1 4.jpg RAMPS 1.4 1 R JHead MK VB.jpg Hot End JHead Mk VB 1
Motor-pap.png Stepper motors Nema 17 5 R MK2Hotbed.jpg Hot bed MK2 1
R Final de carrera.JPG End stop 3 R Termistor Hotbed.jpg Thermistor hot bed 100K 1


RepRap Arduino Mega Pololu Shield, or RAMPS for short. It is designed to fit the entire electronics needed for a RepRap in one small package for low cost. It is a "1.5 layer" designed board (i.e. it's double sided board, but one of layers can easily be replaced with wire-jumpers) that is printable on your RepRap with the etch resist pen method, or home fabbed with toner transfer. At the same time it is based on the powerful Arduino MEGA platform and has plenty room for expansion. The modular design includes plug in stepper drivers and extruder control electronics on an Arduino MEGA shield for easy service, part replacement, upgrade-ability and expansion. Additionally as long as the main RAMPS board is kept to the top of the stack a number of Arduino expansion boards can be added to the system.

Mechanical Endstops

MechSwitches 2Wire.JPG

The recommended firmware will provide a configuration to use mechanical endstops with just two wires.

Find the area labelled "endstops" in the upper right corner of the board and for each of the X, Y, and Z pairs of pins (label should be below each set) do the following:

  1. Connect S (top row, labelled to the left) on RAMPS to NC on the switch.
  2. Connect GND on RAMPS to C on the switch.

Note: The latest firmware such as Marlin seems to use NO as the default pin on the switch. Otherwise you may need to invert the endstops in the firmware. You can use M119 to check your endstops status.

Put the connectors on the motor wires

    • solder a female connector to the ends of each wire.
    • use the 2.54mm 1x3 housing.
    • Shown is the type used for servos in RC projects. See [Stepper Motors] for info on motors.

Thermistor Wires

Use a 2 pin 0.1" connector to terminate the thermistor wires.

    • Connect the cable so the 2 wires go to T0
  1. Connect the 2 heater wires to D10 (E0H on older boards) and the + connection above it.
    • If changing to an unverified firmware it is best to verify heater circuit function with a meter before connecting heater to prevent damage to the extruder.

Pololu carriage

R A4982.JPG

This section assumes you are using Pololu, but there are other options. Insert two 1x8 pin headers into the board. If you bought a kit with one 16 pin header, simply cut it so that you have two 1x8. Make sure that the side with the labels has the long ends of the posts, and the side you want to solder is the side with the heat sink. Doing this backwards will cause you not to see the labels and will most likely not fit. Remember to apply a heat-sink to the largest chip on the back.


It is relatively simple to wire up the RAMPS. Just add the extruder heating coil wire to D10, the thermistor to the two T0 pins on middle right right, and wire up the steppers and endstops. From left to right, wire all of the stepper motor's wires as red, blue, green, and black or red, green, yellow, blue into the pins next to the Pololus. When you connect the wires to the endstops (if you are using 3 endstops, plug them into the MIN (-) slots), make sure you match the labels.

Rampswire14.svg Arduinomega1-4connectors.png RAMPS1.4schematic.png

Note that tesla & tonok firmware use d9 and sprinter and johnny/tonok use d10 for the extruder hot end.


Reversing +/- or otherwise incorrectly connecting power can destroy your electronics and cause fire hazard.

Incorrectly inserting stepper drivers will destroy your electronics and cause a fire risk. Always make sure power and USB is disconnected when removing or adjusting stepper drivers. Always make sure to insert drivers in correct orientation and in the socket correctly.

The endstop pins are Signal - GND - VCC, instead of the VCC - Sig - GND like the rest of RepRaps boards. Make sure to wire them correctly. This is done to allow squeezing fatter traces on the printable board.

Connecting Power

Connect your 12V power supply to the RAMPS shield. Reversing +/- or otherwise incorrectly connecting power can destroy your electronics and cause fire hazard.

The bottom pair of connectors marked 5A power the stepper drivers and Extruder heater/fan (D9, D10). The source should be rated a minimum of 5A.

The pair of connectors above marked 11A power a Heated Bed, or other output (D8). The source should be rated a minimum 11A (if both power rails are connected to the same supply it should have a minimum rating of 16A).

The barrel connector, on the Arduino MEGA, will NOT power RAMPS and will not provide power to the stepper motors, heated bed, etc.

The power connector plug may not be obviously labeled, looking at the power connection the positive is on the left and the negative is on the right of the plug.

Power Supply

Where to find the D1 diode (note that D2 is shown at the left, not D1)

RAMPS is quite happy with the 12 V line from PCPowerSupply. Or you can hack up a 12V laptop power supply, or other 12 V "wall wart" power supply. Be sure that the power can output 5A or greater. Additional 11A may be needed for heated bed support.

See Connecting power above.

The 3 pins next to the reset switch are meant to optionally connect to your PSU.

The PS_ON pin is intended to switch your power supply on and off. Many firmwares support pulling this pin low with M80 command to turn the power supply on, and M81 to turn it off. This behavior is desired for ATX power supplies and can be modified in firmware to support 5V high power supplies like those borrowed from an Xbox.

Without D1 installed, or when the 12VIN is not connected, the Arduino gets its power from USB. If you want your kit powered without USB connected you need to solder in D1 OR connect VCC to your PSU.

The VCC pin can be connected to your ATX's 5Vsb to continuously power the Arduino from your ATX power supply. You will want to make sure that D1 is not installed or cut out. The Arduino is not designed to be powered directly on the VCC rail and the VIN pin at the same time.

The 5V pin in that connector on RAMPS only supplies the 5V to the auxiliary servo connectors. It is designed so that you can jumper it to the VCC pin and use the Arduino's power supply to supply 5V for extra servos if you are only powered from USB or 5V. Since there is not a lot of extra power from the Arduino's power supply you can connect it directly to your 5V power supply if you have one. You can also leave this pin not connected if you have no plan to add extra servos.

In the case of using an ATX power and who chooses not to use the 3 pins above that Hack will turn on when connected to to the mains. To prepare to see the video tutorial Obijuan: Preparing the power supply.

Maximum Input Voltage

Power Supply without diode

The 1N4004 diode connects the RAMPS input voltage to the MEGA. If your board does not have this diode soldered in, you can safely input as much as 35V. (The pololus can do up to 35V)

Power Supply with diode

If your board has a 1N4004 diode soldered in, do not apply more than 12 V to it. Original flavor Arduino Mega are rated to 12 V input. While Arduino Mega 2560 can take 20 V, it is not recommended.

Calibration Pololu/Stepstick

If you think you may have mistakes you can install only one stepper driver during initial testing and risk only one stepper driver.

The trimpot on the stepper drivers controls the current limit. Turn it all the way down (counter clock wise) and back up 25%. Be careful to not force the trimpot, it is delicate. You will need to fine tune the current limit later. Note that it is allways giving the motors that much power, even when not moving, so if your stepper motor drivers are getting hot, you may want to turn it down slightly.

Connect the minimum endstops for X, Y, and Z.

Connect Motors (Do not disconnect or connect motors while powered; if the connection is loose, this will cause the motors to spazz and possibly kill your stepper driver.)

You may want to use this code to test all the electronics before installing any of the suggested firmwares.

Install firmware. Firmware flashing can be done without 12V power supply connected.

Method A

LEAPto3D manual -->

Method B

Method Miguel Sánchez (misan). In this way Pololus calibrate the reference is taken as the voltage on the potentiometer, which is a reference voltage for the current control. In Pololus is 0.4V per amp. That tension may be adjusted with the advantage of not having the 12V connected and can do so with all the connected driver at a time. To do this, put the common pin (GND) of the multimeter to the USB enclosure and positive screw regulates the motor current PaP. This regulation is linear, equivalent to 1 ampere 0.4V so 0.1V = 250mA, 0.2V = 500mA.

Recommended values

Axis X Y Z Extruder
Method A current (mA) 200 200 400-500 350-500
Method B voltage (V) 0,08 0,08 0,16-0,2 0,14-0,2

Firmware and Software


RAMPS 1.4 uses the same pin definitions as 1.3.

You will need the Arduino software at to upload the firmware to Arduino Mega. Arduino MEGA 2560 Rev3 requires Arduino software version 0023.

Sprinter and Marlin are popular and stable firmwares for RAMPS as of 12/28/2012.

Working preconfigured sprinter firmware can be downloaded at here (This is Obijuan`s version).

Others (Need pins set in Firmware as below):

  • mechanical endstops (now the default option) require #define OPTO_PULLUPS_INTERNAL 1 to be added to configuration.h if not there by default.

Here are the pin definitions for this board.

// For RAMPS 1.4
#define X_STEP_PIN         54
#define X_DIR_PIN          55
#define X_ENABLE_PIN       38
#define X_MIN_PIN           3
#define X_MAX_PIN           2

#define Y_STEP_PIN         60
#define Y_DIR_PIN          61
#define Y_ENABLE_PIN       56
#define Y_MIN_PIN          14
#define Y_MAX_PIN          15

#define Z_STEP_PIN         46
#define Z_DIR_PIN          48
#define Z_ENABLE_PIN       62
#define Z_MIN_PIN          18
#define Z_MAX_PIN          19

#define E_STEP_PIN         26
#define E_DIR_PIN          28
#define E_ENABLE_PIN       24

#define SDPOWER            -1
#define SDSS               53
#define LED_PIN            13

#define FAN_PIN            9

#define PS_ON_PIN          12
#define KILL_PIN           -1

#define HEATER_0_PIN       10
#define HEATER_1_PIN       8
#define TEMP_0_PIN          13   // ANALOG NUMBERING
#define TEMP_1_PIN          14   // ANALOG NUMBERING


Sprinter by Kliment y Caru


Programas de laminado

Convert files .Stl in G-code files.



Calibration Guide by Santiago López (Darkomen)

Guide by Reclone3d.





A common failure in the program is that when I make the gcode G1 movements, movements are not, to fix check if you are using absolute or relative coordinates. To put relative coordinates, use the command G91.


Cura is a software that will allow us to convert STL files containing 3D design in our physical parts into one working environment. Configuring Cura by Pablo Murillo


How to insert/extract filament

  • Inserting
  1. Loose the filament idler springs.
  2. Insert filament by hand gently, until it cannot move more.
  3. Set heatcore at extracting temp, that is 185C for PLA and 230C for ABS.
  4. When temp is reached, push gently by hand filament down until it oozes from the nozzle.
  5. Tighten idler springs.
  6. Test extrude from host program.
  • Extracting
  1. Loose the filament idler springs.
  2. Set heatcore at 150C for ABS, 130C for PLA.
  3. When temp is reached, pull up the filament with your hand.
  4. Turn of heatcore immediately

How to change ABS to PLA and vice-versa

  • Let's say you print with ABS.
  1. Set temp to 230C
  2. Unscrew idler and remove ABS filament (see "insert/remove filament)
  3. Insert PLA
  4. Temp is 230C
  5. Gently push filament until it oozes
  6. Set temp to pla extrude temp (185C)
  7. Screw idler and test extrusion
  • Let's say you print with PLA.
  1. Set temp to 185C
  2. Unscrew idler and remove PLA filament (see "insert/remove filament)
  3. Insert ABS
  4. Temp is 230C
  5. Gently push filament until it oozes
  6. Screw idler and test extrusion


(Click to zoom)
(Click to zoom)
(Click to zoom)
(Click to zoom)


300|250</videoflash> 300|250</videoflash> 300|250</videoflash>
300|250</videoflash> 300|250</videoflash>


  • 11/28/2012: Buyed nut, washer, bolt, grub screw, threaded rod, smooth rod, vinyl tubing, bouncy, clamps, terminals, power supply Tooq 500W, etc..
  • 11/03/2012: Received RAPMS 1.4 wiht Clon Mega2560, LCD 20x4, Keypad v1.0, Thermistor 100K, 2x Axial Fan 50x50x12mm 12V, 2m PTFE tubing and Pneufit straight adaptor from Reprapworld.
  • 11/05/2012: Received 4x Allegro 4982 with heatsink, Thermistor, Heat Bed MK2, 3x Endstops, 5x Nema17, Jhead Mk V-B, wires, 2x pulleys, 2m timing belts, bearing 608zz and LM8UU, hobbed bolt Hyena, 2x ABS 1kg and PLA 1kg from LEAPto3d.
  • 12/07/2012: Received kapton tape from Incopia2.
  • 12/08/2012: Rods cut and revise plastic pieces.
  • 12/13/2012: Solder Allegro 4982 and embedded nuts.
  • 12/18/2012: Assembly basic structure, it absence axis X
(Click to zoom)
  • 12/19/2012: Assembling axis X.
(Click to zoom)
  • 12/20/2012: Electronics assembled and tested. Now Playing the Imperial March.
(Click to zoom)
  • 01/09/2013: The wood base has been mounted, but the linears bearings are not going well, it seems that moving costs.
  • 01/17/2013: Extruder mounted and it seems that a driver is broken.
(Click to zoom)
  • 01/18/2013: I redesigned the Z axis, I take up the slack. Loosened belt axis, appears to move with greater speed, but without losing steps. I weld and check the endstop. I calibrate the X and Y axis.



Escudo Bit UJAxp.gif

Universidad de Jaén




Projetc Clone Wars