• G-Codes
  • Configuration
  • Develop
  • About us
  • Privacy Policy

Repetier-Firmware V2 Documentation

Introduction

With version 2 we go a new way to write a firmware. In V1 we used a monolithic and quite static system that was designed to work with the first RepRap printers, whcih were quite simple. Ove rthe time the community developed and added a lot of tricks and modifications, making it harder and harder to configure this with a quite static system. So in V2 we choosed a modular solution. Now we have basic interfaces for tasks required for a printer, cnc mill or laser cutter, but we leave it open how to solve this.

Any module implementing the interface can be used. To better understand this, lets have a look at pwm signals. In V1 these are all emulated in software making the frequency low. Moreover the heaters have the same frequency as there is only one switch and it is hard to add extra pwm outputs, if they are not already hardcoded. Now with the modular system, you define in the configuration_io.h file that you need a pwm as input for a function. For each input you can select the pwm implementation and all settings. So you can mix software and hardware pwm, you can write a pwm module that sends a command to an external hardware. Nothing will change for the pwm consumer function.

The same concept can be used for printer type, heater types, pins, fans, ... So this new concept is more like a lego set where you pick the bricks you think would work best for your hardware. If something is missing, you do not need to make big und unclear modifications. You just write a new module which might even be a close copy of an existing one. Just to implement the difference you need there.

Features

  • Modular build system for highest flexibility.
  • Generic printer types with the following specializations: Cartesian, Core XYZ with any linear dependency, Dual X and Delta motion systems.
  • Easy Z calibration.
  • Supports many temperature sensors.
  • Supports FDM, laser and cnc tools.
  • Linear, cubic and 5th order velocity profiles.
  • Easy to extend with new functions.
  • SD card support.
  • LCD menu.
  • Watchdog to prevent runaway heaters on firmware crash.
  • Heater decoupling protection.
  • Support ASCII and binary repetier protocol for communication.
  • Multiple parallel serial connections.
  • Reporting of features and settings for automatic host configuration.

Hardware

Basic boards

  • Arduino Due compatible boards.
  • Adafruit Metro Grand Central (experimental).
  • Arduino M0 based boards (coming).
  • Arduino Mega256 based boards (coming).

Predefined board layouts

If your hardware is based on one of the basic boards supported, you can get it working as long as the hardware components connected are supported as well. For convenience, many popular boards are already predefined, so you only need to select the board id to get the correct pins for default functions.

  • RADDS (due + Adafruit Metro Grand Central)
  • Smart RAMPS (due + Adafruit Metro Grand Central)