Book Image

3D printing with RepRap Cookbook

By : Richard Salinas
Book Image

3D printing with RepRap Cookbook

By: Richard Salinas

Overview of this book

Table of Contents (19 chapters)
3D Printing with RepRap Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Editing the firmware with the Arduino IDE


The configuration.h folder is usually the only file that most RepRap printers will need to adjust. This file contains the data that describes your particular electronics and stores the numerical data that calibrates your printer.

The line that is most commonly changed with a working unmodified 3D printer contains the X, Y, Z, and E steps per unit values. These values calibrate the movement of the printer and the amount of filament extruded.

In Sprinter, this can be easily found at the beginning of the configuration.h file. In Marlin, this is closer to the bottom-third of the file. Marlin can be seen open in the Arduino IDE in the following screenshot:

Any data recorded with two forward slashes // is the data that is commented out and disabled. It can also precede comments for information purposes or records. When changing values in the firmware, it's a good idea to comment out your old values with the // for record-keeping in case you would like to revert to the old values.

There are many other variables that can be adjusted. These are usually made during the initial setup of a newly built printer. Most kits and fully-assembled printers will have the necessary changes made in its firmware and uploaded to your controller. For more information, one of the best overviews of the options available in the configuration.h file can be found at http://airtripper.com/1145/marlin-firmware-v1-basic-configuration-set-up-guide/.