Wednesday, 24 April 2013

Panelolu2 for RAMPS and Printrboard

Panelolu2 LCD display and control solution working with RAMPS 1.3 and Printrboard.

Finally they are here, the much requested adapter boards that allow the Panelolu2 to interface with RAMPS 1.3 and Printrboard. For details on the background of the Panelolu2, along with more details on how to set it up, how the print the enclosure etc, please see the previous post.

RAMPS 1.3 Adapter

The first point to note is that due to physical differences between RAMPS 1.3. and 1.4, this adapter is sized for RAMPS 1.3 and will not fit on RAMPS 1.4. 

[Update: Panelolu2 with RAMPS 1.4 adapter is also now available from our webstore]

In a similar way to the Melzi and Sanguinololu adapters, the RAMPS 1.3 adapter has two MOSFETs that can be used to switch fans or other small loads. This allows the RAMPS 1.3 with Panelolu2 to control two extruders each with their own software controlled fan.

The schematic and annotated diagram below shows the RAMPS pins used and the connections.

View from the bottom

View from the top showing the purpose of each connector

Transistor 1 is connected to Arduino digital pin 45 which can be controlled by PWM, Transistor 2 is connected to Arduino digital pin 49, a straight on/off pin. The transistors switch the 12V supplied through the input - this must be connected in order to get any output from the transistors.

The additional expansion header breaks out all the pins not used by Panelolu2 along with the I2C pins if you want to add more devices to the bus.

Printrboard Adapter

Update 06 Oct 2014 - check out Colin Bell's blog post about getting this to work with the latest printrbots and board.

This is tested on Printrboard Rev D & E only as I do not have an earlier revision boards to test with.

For the Printrboard Adapter I decided to go for a minimalist approach. There are no additional MOSFETs - it is simply a physical adapter. The reason for this is twofold; firstly the Printrboard already has an onboard MOSFET to switch a fan and secondly, with the default fuse settings, there are no spare pins on the EXP 1 header.

As can be seen from the Schematic above the only pins left unused (and broken out to header SV1) are TDI, TDO,TMS and TCK. These are set as JTAG pins by default although they can be configured for use as I/O, this process is detailed in this blog post. I could have gone with an adapter board that connected to both EXP 1 and EXP 2 on the Printrboard but decided that small was best in this case.

Marlin Firmware Setup

The T3P3 branch of Marlin, available from github, has been updated to include support for the Panelolu2 on Printrboard and RAMPS. Every printer configuration is slightly different but the generic workflow for updating your firmware to support the Panelolu2 is as follows:

  1. If you are not already using it get the standard version of Arduino-0023 from the Arduino website, note that this version of Marlin has not been tested with Arduino 1.0 or higher.
  2. Get T3P3 Marlin from github.
  3.  For Printrboard follow the reprap wiki advice to get up and running with firmware, Lincomatic's blog post is also useful. For RAMPS, support for the Arduino Mega 2560 is built into standard arduino
  4. Get LiquidTWI2 as mentioned in my Panelolu2 blog post, note that configuration changes are no longer required in the latest version of LiquidTWI2.
  5. Modify the configuration.h of the Marlin to fit your printer setup (setting like controller board, axis dimensions, thermistors, etc). Update: This blog post should help.
  6. Confirm Marlin compiles and uploads with //#define PANELOLU2 still commented out in configuration.h.
  7. Then uncomment #define PANELOLU2 , along with #define EEPROM_SETTINGS and #define EEPROM_CHITCHAT and confirm it compiles and uploads. Note that with the #define PANELOLU2 uncommented, you must have the Panelolu2 connected or Marlin will hang and not finish initialising.
  8. Check the printer operation and calibration to ensure you have edited the Marlin configuration.h properly.

Getting one

As always the hardware is open source so the design files are available on Github:

Update: Now available on eMakershop and Ebay.

Saturday, 6 April 2013

Rostock build

Rostock build

After much delay due to other projects I finally got a chance to put together a Rostock delta printer. My build log is below, I have made a few minor changes compared with the original design in order to use 3mm filament and incorporate a few good ideas I saw on thingiverse and various blogs. Here is a bit of video to give an overview of the printer in action - printing the first print, a dual spiral lightbulb.

As you can see from the video I now need to work on the speed and retract settings to improve the quality and reduce the stringing.


I initially printed the standard Rostock parts from thingiverse, but a common suggestion is to change to fibreglass or carbon fibre rods so I decided to change to carbon fibre rods with the Traxxas rod ends. Half way through the build I switched to 0xPIT's version of the end effector platform which is designed specifically to mount a J Head hotend with minimal issues that works well with Traxxas rod ends.

I used nophead's version of the Wades extruder rather than the Rostock standard extruder as I am familiar with these extruders and I want to use 3mm filament. In the future I
 may look at changing the gear ratio to balance speed and torque as shown on Billy D's blog, which is an excellent source of Rostock printer tips.

Build log

I used 10mm plywood and marked out the drill holes using measurements from this thing and checked them with the printable jig. After drilling I painted the top and bottom boards before mounting the motor and idler ends.

Other than for the inner motor mount fixings I used wood screws through the plywood into the plastic parts which cut their own thread into the plastic.

Added all the securing fasteners and then the rods with the LM8UU linear bearings already fitted:

The rods were cut to the same length and aligned at the bottom of the motor ends and top of the idler ends but precise alignment is not critical as the endstops are adjusted during calibration.

At the idler end I used 2x624 bearings with various washers (similar to the X and Y axis idlers on the Mendel90).These are mounted on an M4 bolt - the one in the picture is a little long, however M4x40mm should work well.

I adapted the idea from Frank Neon's blog pictures to use zipties to hold and tension the belt. The adaptation keeps the zip tied section short to avoid fouling on the stepper drive gear even when the carriage is at its lowest point.

Ziptie prior to applying tension:

After tension applied and excess cut off:

Before tightening the pulley's grub screw, move the carriage to the bottom of the axis to aligh the pulley to the belt.

To help stiffen the frame two wooden sides are added. I used the printed Mendel90 fixings to secure these.

The complete frame showing the fixings:

The Traxxas rod ends have an ID of approximately 3.5mm which I drilled out to 4mm to fit the 4mm carbon fibre rods. As suggested in a number of places I used a wooden jig to ensure all the rods were the same length.

The ends of the carbon fibre rods needed to be lightly sand papered to fit into the 4mm holes, a thin layer of super glue holds them in place. Below is a picture comparing the carbon rods with Traxxas ends to the original printed rods.

Next I fitted the rods to the carriages and the end effector platform. After wiring the motors and endstops up as per the wiki page, I attached a Dial Test indicator for calibration.

Using the calibration guide here to level the end effector platform to the bed, It took a number of iterations but by the end there is less than 0.05mm difference between the Z "0" position in front of the three axes and the center of the bed.

I then replaced the DTI with a JHead hotend and connected the PTFE bowden tube (4mm ID, 6mm OD). The long nut shown below threaded the tube and grips well but I will probably replace this with a push fit connector at each end.

The JHead is wired up as standard with the wiring wrapped around the bowden tube.

To hold the PTFE tube at the other end I used the Bowden Clamp for Rostock. Zipties did not appear strong enough so I replaced them with a Jubilee Clip.

I mounted the extruder drive a little over half way up the frame through one of the wooden boards with enough slack in the bowden tube that the entire print envelope can be reached without excessively small diameter bends of the PTFE:

After calibrating the E steps per mm I started the first print. Overall the build time was a little over 8 hours work (spread over a few days), including taking pictures and searching for information. One of the advantages of the Rostock is the reduced part count and simpler assembly in comparison to the Prusa Mendel.

To do

  • Experiment with retraction and speed settings to improve print quality.
  • Confirm dimensional accuracy across the build area.
  • Mount a fan for extruder cooling to print PLA.
  • Replace the current bowden cable ends with push fittings.
  • Experiment with various extruder mounting locations.
  • Print something really big!
  • Multiple hot ends for multiple colour printing.