Repetier-Server on a Raspberry Pi

Look here for custom firmware, networked 3D printer hosts like OctoPrint, and more!
Post Reply
User avatar
Orias
Aleph Objects | LulzBot
Posts: 1492
Joined: Wed Mar 27, 2013 1:24 pm
Location: US

Repetier-Server on a Raspberry Pi

Post by Orias » Sat Jun 01, 2013 12:33 pm

I am currently using a Raspberry Pi for my 3D printer host controller. When using Repetier-Server you will need a configuration file for each printer. There is a configuration file for our LulzBot AO-101 3D printer found here: Repetier-Server Github. You will need to update the device id string to match your LulzBot 3D printer:

Code: Select all

connection:{
   device="
To determine your 3D printer device id run the following command in a terminal:

Code: Select all

ls /dev/serial/by-id/usb-UltiMachine__ultimachine.com__RAMBo*


Create the configuration file in path/to/Repetier-Server/config/taz.cfg

Code: Select all

version="1.0";
active=true;
printer:{
  name="TAZ"
  slugName="taz"; // Unique name with ascii chars without space,tab. Is used for path names.
  connection:{
    device="/dev/serial/by-id/usb-UltiMachine__ultimachine.com__RAMBo_64036353430351606142-if00";
    baudrate=115200;
    pingPong=false; // Allow sending more then one command if it fits into printer cache
    readCacheSize=63; // Size of the printer cache. May be 63 for some printer.
    /* Communication protocol used to communicate with this printer:
       0 = ascii protocol - works with all reprap firmwares
       1 = Repetier-Protocol V1 - requires Repetier-Firmware
       2 = Repetier-Protocol V2 - requires Repetier-Firmware 0.80 or higher */
    protocol=0;
    okAfterResend=true; // Does your firmware send a ok after sending a resend for that line?
  };
  dimension:{
    xmin=0.0;
    ymin=0.0;
    zmin=0.0;
    xmax=298.0; // Update for your printer
    ymax=275.0; // Update for your printer
    zmax=250.0; 
  };
  homing:{
    xhome=0.0; // Coordinates after homing x axis
    yhome=0.0; // Coordinates after homing x axis
    zhome=0.0; // Coordinates after homing x axis
  };
  speed:{
    xaxis=150.0; // Move speed in mm/s for manual moves
    yaxis=150.0; // Move speed in mm/s for manual moves
    zaxis=3.0; // Move speed in mm/s for manual moves DO NOT SET HIGHER THAN 5, it can cause axis mis-alignment
    eaxisExtrude=4.0; // Move speed in mm/s for manual moves
    eaxisRetract=15.0; // Move speed in mm/s for manual moves
  };
  extruder:{
    count=1;  // Number of extruders on that device
    tempUpdateEvery=1; // Update temperature every x seconds
    heatedBed=true; // Has heated bed (true) or not (false)
  };
};
Once updated, restart the Repetier-server service:

Code: Select all

sudo /etc/init.d/Repetier-Server restart
Refresh the web browser and your LulzBot 3D printer should now show as active!

Post Reply