How to Make 3d Printer – Part 4 – Firmware

Superb Tech Editorial
Superb Tech EditorialSuperb Tech Engineering & Hardware Editorial Team
November 9, 2021
How to Make 3d Printer – Part 4 – Firmware
Special Editorial Series

DIY 3D Printer Assembly Guide

Part 4 of 5

A complete 5-part engineering guide to building, wiring, flashing firmware, and calibrating your custom 3D printer.

  1. How to make 3D Printer – Part 1 – Frame Assembly
    Read
  2. How to Make 3D Printer – Part 2 – Mechanical Assembly
    Read
  3. How to Make 3D Printer – Part 3 – Electronics Assembly
    Read
  4. 4How to Make 3d Printer – Part 4 – Firmware
    Reading Now
  5. How to Make 3d Printer – Part 5 – Final Run
    Read

In this part we are going to configure the firmware for our 3d printer.

Youtube Video

Firmware Setup

We are using the Marlin Firmware, which is a widely used open source firmware. but before uploading the firmware to the arduino, we need to configure the firmware for our printer, in order to run our printer properly.

download the marlin firmware V2.0 from the marlin firmware website.

https://marlinfw.org

unzip the compressed package, open marlin 2.0 folder and run marlin.ino in the Arduino IDE

go to the configuration tab here we can make the changes we want according to our 3d printer

Line 493, change temp sensor bed value to 1

Line 822, change endstop inverting to true for x y and z axis

Line 854, change driver type to DRV8825, for x y and z axis

Line 865 change driver type to DRV8825

Line 920, change default axis steps per unit to (160,160,1600,192)

Line 955, change acceleration values to 700 and jerk values to 7.0

Line 1324 change invert e0 dir to true

Line 2088, uncomment SD support to enable SD Card

Line 2347 uncomment to enable the display

we will require the u8glib library for the display, download the library and place it in the libraries folder in documents > arduino.

https://github.com/olikraus/U8glib_Arduino

now our firmware is ready to be uploaded. connect the arduino via USB cable. select the COM port and the board as arduino mega and upload the code. now this may take a while and once done a message shall appear as done uploading. in the next part we will see how to run it for the first time and print and object for the first time.

in the next blog, we will set our printer to run it for the first time

Part 1: DIY 3D Printer Part 1

you can also follow the project on youtube

Youtube: Playlist

Superb Tech Editorial
Superb Tech Editorial
Superb Tech Engineering & Hardware Editorial Team

Original engineering research, drone avionics, FPV guides, robotics tutorials, and maker electronics from the technical team at Superb Technologies.

Expertise:Drones & FPVBetaflight & ArduPilotEmbedded Electronics (ESP32 / STM32)3D Printing & FabricationLiPo & Power Systems
The Superb Tech Brief

The engineering dispatch delivered to your inbox every Thursday.

Curated FPV drone developments, robotics breakthroughs, original hardware benchmarks, and newly open-sourced maker projects. Zero fluff, 100% engineering.

No spam, unsubscribe with 1-click anytime.

Related Engineering Guides

How to Make 3d Printer – Part 4 – Firmware | Superb Tech | Superb Tech