Categories

 

G-Wizard Calculator:
Fast, Easy, Reliable Feeds and Speeds

Subscribe

Join 50,000+ CNC'ers!  Get our latest blog posts delivered straight to your email inbox once a week for free. Plus, we’ll give you access to some great CNC reference materials including:

  • Our Big List of over 200 CNC Tips and Techniques
  • Our Free GCode Programming Basics Course
  • And more!

 

GCode is Complicated
G-Wizard Makes it Easy

3D Printing 101: Part 3: Electronics

Apr 16, 2013   //   by Michael Hackney   //   3D Printing, Blog, DIY CNC, Guest-Post  //  3 Comments
This week’s 3D Printing 101 post focuses on the electronics aspect of 3D printers. The electronics required for motion control will be familiar to CNC machinists (but even that has a few new twists) and some other areas are unique to 3D filament extrusion printing.

 

>> 3D Printing 101: Part 3: Electronics

 

Electronic Subsystems
Although most 3D printing aficionados use the term “electronics” to refer to the hardware controller that operates the printer, for the purposes of this post I am using the term to refer to all electronic components necessary to operate a 3D printer.
The required electronic subsystems are:
  • a stepper motor controller – the hardware and software (or firmware) that controls, at a minimum, the X, Y, Z and extruder stepper motors. More advanced, dedicated 3D printer controllers have more capabilities. The extruder is powered by a stepper motor and is responsible for delivering a metered amount of filament through the print head.
  • the print head or “hot end” – is made up of a nozzle where the filament is melted with a thermostatically controlled heater.

and a few optional (but highly recommended) subsystems include:

  • a heated build surface – this is an optional component that can help minimize part warping and improving filament adherence to the build surface.
  • one or more fans – proper use of fans is frequently misunderstood. Two different types of fans are useful. The first is to cool the barrel, the tube above the heated nozzle that the filament passes through, and the second is to cool parts as they print to minimize distortion and warping. Proper use of these fans is dependent on the print material (more on printable filaments in a future post) and the geometry of the part. I’ll also address fans in a future post.
Controller
The controller is really the heart of a 3D printer or CNC machine. With a few simple additions, standard CNC control solutions like Artsoft’s Mach3 or Open Source LinuxCNC (aka EMC) with parallel-port based stepper hardware motor controllers like the popular Gecko G540 can be used to drive a 3D printer. The primary requirement is four axis motor control; three axes are required for X, Y and Z movement and the additional axis controls the filament extruder.

 

3D printers require a heater circuit to melt the filament in the print head, also called the hot end. Temperature control is unique to 3D printers so it is not surprising that off-the-shelf solutions for Mach or LinuxCNC based systems are not common and can be complex and expensive to add. A programatic controlled heater has advantages but it is not an absolute requirement. A simple manually controlled thermostat using a common thermistor to measure temperature and a high watt resistor as the heating element is inexpensive and effective. But, as you gain 3D printing experience you’ll discover that control over other components like a heated build surface and fans is desirable. These devices can be controlled manually but programatic control is more convenient.

 

Enter the Arduino-based 3D Printer Controllers
In parallel to the RepRap 3D printer hardware project, the community latched on to the cross-platform Open Source Arduino hardware and software as the basis for a dedicated 3D printer controller. Arduino is a simple, but powerful, hardware architecture with built in I/O support for sensors, digital to analog convertors, analog to digital convertors and other features. Arduino includes a powerful IDE (integrated development environment) and a programming language that is very similar to “C”. The development process for creating both software (i.e. firmware) and hardware extensions on Arduino is seamless and easy to master.

 

Several Open Source 3D printer controllers developed rapidly. Of these, the RAMPS – or RepRap Arduino Mega Pololu Shield – platform has gained widespread acceptance. RAMPS plugs on to a standard Arduino (add-on Arduino modules are called “shields”) and provides control for up to 5 stepper motors, with three thermistor inputs, and three MOSFET outputs to control heaters and fans. It is also expandable to control other devices and interface to LCD displays and features replaceable stepper drivers. A RAMPS with an Arduino can be purchased pre-assembled for less than $200 and since these run Open Source firmware, there are no additional software costs. More recently, integrated designs like RAMBo (RepRap Arduino-compatable Mother Board) have emerged that offer lower prices and additional capabilities.

 

RAMPS on an Arduino

Wrapping Up

While it might be tempting to use traditional CNC controller hardware and software to power a 3D printer (in fact, this is how I got started), a general purpose solution for temperature and fan control is not available currently. A few hardy explorers have gone down this path (myself included) and soon realized that the capabilities and cost of an Arduino-based solution is pretty hard to beat – and there is a vibrant community offering support and help when you need it.
In the next post in the 3D Printing 101 series I’ll discuss the software chain, including the firmware that runs on the Arduino-based controllers.
 

Like what you read on CNCCookbook?

Join 50,000+ CNC'ers!  Get our latest blog posts delivered straight to your email inbox once a week for free. Plus, we’ll give you access to some great CNC reference materials including:

  • Our Big List of over 200 CNC Tips and Techniques
  • Our Free GCode Programming Basics Course
  • And more!

Just enter your name and email address below:

Full Name
Email *
100% Privacy: We will never Spam you!

Rate this post

3 Comments

  • Hey you forgot about Smoothie !
    http://smoothieware.org/ ( and smoothieboard ).
    Also, it works great for CNC mills, lasers etc …

    • Thanks arthur, I was not aware of this project. It looks very interesting but is still in its early stages (beta hardware for instance) but looks like it could evolve into a nice platform for mill and 3D printer control. I’ll keep my eyes on it and maybe take a closer look in the future.

      regards,
      Michael

      • Hi !

        We stuck a “beta” sticker on the first batch of boards because it was the fist one, but 3 months later, still no major problems found, so it’s not really beta anymore ( and it never really was ).
        3 months ago, the firmware was also kinda beta ( more release-candidate ). It has matured a lot in the meantime 🙂
        I’m very much a beginner with machining ( just got my first cnc router out of the box ), but here is smoothie cutting aluminium : http://www.youtube.com/watch?v=ZKCS0renQ34 ( which I would never have thought of trying before reading this : blog.cnccookbook.com/2012/03/27/10-tips-for-cnc-router-aluminum-cutting-success/ ).

        Cheers 🙂

Leave a comment

 

Do you want to be a better CNC'er?

Get Better Tool Life, Surface Finish, and Material Removal Rates.

 

Start Now, It's Free!

Home

Software

  GW Calculator

  GW Editor

  Gearotic

  Conversational

  Deals and Steals

CNC Blog

  Software

  Techniques

  Beginner

  Cool

  Projects

 

Cookbooks

     Feeds and Speeds

     G-Code Tutorial

     CNC Machining & Manufacturing

     DIY CNC Cookbook

     CNC Dictionary

CNC Projects

Resources

     Machinist's Search

     Videos

     Online Groups

     Individuals

     Reference Data

     Books

     CNC Dictionary

     Suppliers

     Tool Brands

Workshop

     Hall of Fame

     Organization: Soon!

 

About

     Customers

     Partners

     Our History

     Privacy Policy

 
All material © 2016, CNCCookbook, Inc.