How can I program a 3D printer to move using Arduino?

Stack Exchange network consists of 171 Q&A communities includingStack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Sign uporlog into customize your list.

Start here for a quick overview of the site

Detailed answers to any questions you might have

Discuss the workings and policies of this site

Learn more about Stack Overflow the company

Learn more about hiring developers or posting ads with us

3D Printing Stack Exchange is a question and answer site for 3D printing enthusiasts. Join them; it only takes a minute:

I search about that topic, but all what I found, was the mechanical part of the 3d printer. But I didnt find, how to program it using arduino.

I want to make a cartesian 3d printer. I dont have a printer yet, but I will buy all the components that I need actually.

I know, how to control stepper motors, but I dont know, how I can program it in order to make the shape that I want.

This is my question: what I need to learn in order to let this 3d printer make this shapes?

Its really unclear what you need in terms of programming 3D printer using arduino. Do you have printer already? Are you gonna build or buy it? What kind of 3D printer you consider (cartesian / delta / scara)? Have you review the code of existing arduino 3D printer software? And the most important question – what do you want to programm? I hope you dont mind but I suspect that whole issue is too complicated if you cannot find any materials about programming 3D printed using ardiuno. I suggest reading about geometry and numeric methods and articles/tutorials about programming arduino.

Hi, and welcome to 3D printing SE! As @DarthPixel has stated below, answering your question can be very difficult because we do not understand

what your are asking about. Could you please let us why you are asking, what you have done/tried so far, and what

you want to know? I have put this question on hold until you have the time to make your edits.

I would be very happy to find interpunctuation in this question, now that it has been edited. And then, you might want to look up 3d printer firmware /wiki/List_of_Firmware. The most common firmwares might be Marlin and Repetier.

As @kamuro says, It sounds like what you are looking for is a firmware (unless you want to make it on your own)!

@TomvanderZanden, although that is the title of the question, it seems that the actual question is about how to make a printer move as a printer (in Jeopardy, the question would be What is Firmware. :)) I fully agree that the title needs to be changed, though!

While Star Winds answer is best as far as addressing what was not asked, but was probably the intent of the question, for educational purposes:

To control the printer you need an microcontroller (most popular are Arduino) which will interface with the motor drivers. Microcontrollers cannot output the current needed to control the motors, so motor drivers (such as this are easy ways to control a stepper motor with higher current (and usually voltage). You can build your own if you are particularlly adventurous, they are essentially two H-bridge circuits.

The Arduino programming environment has a library for controlling stepper motors through a driver built in, you just tell it which pin to send the pulses to, and how fast, and a separate pin tells it to spin clockwise or counterclockwise.

For a 3D printer you need at least four motors working in unison, one for the X, Y, Z axis, and one for the extruder (E axis).

The existing programs that 3D printers use (Marlin, Sprinter, Teacup, etc) are all doing these simple steps at their core, but have implemented libraries of G-code that the printer uses to make control the stepper motors in unison to make the correct shape. Slicing programs such as Cura or Slic3r take in the 3D model and output the Gcode that the microcontroller is programmed to understand.

Hey Jex. I am sorry you did not understand their question. They asked how do I program an Arduino for a Cartesian 3d printer. They want to know how to make their printer work with an emphasis on Arduino. Your answer touches on Arduino but is clearly about microcontrollers in general. You also did not provide them with how to accomplish their goal which is 3d printing with a cartesian design. Please read the question more carefully as well as the other answers. See mine for an example on how to answer the specific question as well as the real intent behind the question.

Following the programing is all done for you in the firmware. That said you can edit it. Just open the firmware files — it is compiled when you upload them. Generally however one usually sticks to the preferences header alone..

Over all you are trying to reinvent the wheel. When I started 5-6 years ago it was barely a thing. Now you buy a proven kit and get to the printing. That said if you are truly interested in designing check out.

If you want help on picking a kit. Or what I really think you are looking for. A good place to start. This is one of the larger 3d printing groups. Full disclosure I run this one, but at 6k members I dont recruit.

Be aware there are trolls that now camp the IRC looking to sell you a printer. I would not engage with them, their printers are usually overpriced and sub par.

Most of all I think you need to know its Reprap all the way. Reprap forums, Reprap printers, Reprap kits, Reprap community. All the commercial printers started off the reprap project. Even if you buy a makerbot (dont) its Reprap in its roots.

By posting your answer, you agree to theprivacy policyandterms of service.

Remote Work in the 2017 Developer Survey

Whats the appropriate course of action if an airliner bounces 5-10 feet on touchdown?

Is the tartan worn by Scotty in Savage Curtain an actual clan tartan?

How to write the LaTeX code of this Meijer G function

How to perpetuate the plot-driving riddle without frustrating the reader?

How dangerous was this approach of a Dash8 Q400 really?

Use abstract class in C as definition

Who am I? Ten heads, a crown, and a tail

What is this game with a dark alleyway and a red neon sign reading Terminus?

Upset by fellow students comments on my attractiveness; how to react?

How can the following be false based on the information about continuous functions?

Does the Genie trick Aladdin with the third wish?

How to politely interrupt a recruiter during phone call

mkdir: cannot create directory: No such file or directory

The first n numbers without consecutive equal binary digits

How can a website verify that my phone number belongs to me?

What is the reason why Buddhist monks dont work to support themselves? Do the monastic rules prohibit them from working?

What are the effects of a rejected takeoff?

Interactions between unarmed strikes, negative strength and an unconscious target

Who is the titular Last Jedi?

Whats the difference between \hfil and \hskip0cm plus 1fil?

Can (a ==1 && a== 2 && a==3) ever evaluate to true?

Do I award experience points for a trap that goes off?

How far removed from source does one need to be to avoid Insider Trading?

FreeBSD: Directory called ^C (really!) – how to remove?

site design / logo 2018 Stack Exchange Inc; user contributions licensed undercc by-sa 3.0withattribution required.rev 2018.1.24.28570

Post Created 739

Related Posts

Begin typing your search above and press enter to search. Press ESC to cancel.

Back To Top