How to make a homemade CNC milling machine step by step with Arduino - Ikkaro

2023-01-03 12:53:32 By : Mr. Aaron chen

Home >> How To >> How to Build a Homemade 3 Axis CNC Router Using Arduino and A4988

Hello, in this article and in the following ones, we are going to dedicate ourselves to the construction of a homemade CNC milling machine, that is, a computer-controlled machine that is capable of molding, engraving, carving and milling all kinds of materials of the shape and size that we wishWhat does this mean? Well, this is seeing the dream of every DIY fan come true!!!, since you can create all the pieces you need for your projects with a single mouse click.Just like you can make your own PCB boards or carve wonderful 3D sculptures. Microstep Driver Dm556

Everything is possible with a CNC!!!

Look at a small example of a little job I did the other day with my CNC.

https://www.youtube.com/watch?v=he4WVP8Xfok

Now that we know what the possibilities of this wonderful machine are, let's start building it!!!

We will need many materials for the realization of this project.From electronics to mechanical parts and motors.Now I am going to name the necessary ones to make the structure:

Wood or metal for the structure

3 stepper motors of at least 1.5 g/cm (this is the force of the motor) depending on the size of the CNC

The stepper motor is a device that converts a series of electrical impulses into angular displacements, which means that it is capable of advancing a series of degrees (steps) depending on the order given to it.The stepper motor is a highly precise motor since its axis rotates 1.8º by 1.8º, which means that to make 360º it must take 200 steps.This gives them incredible precision, which, when transferred to the CNC, will provide a great capacity to make very small and delicate parts, although large parts can also be made.

The Pololu A4988 are electronic drivers that are used to control stepper motors, they allow to decide the direction of rotation and speed of these.The motors will be connected to an Arduino, which I imagine, you already know exactly what it is, if not, in Ikkaro you can find information about this board.It is not necessary that we know much more about these chips, but if you want to go deeper you can find out everything on the manufacturer's website, and this other link you can download the A4988 datasheet.

Well, as I suppose it is a question that you will all be asking yourself, here I leave the price list.

Well, now comes the moment of truth, the construction of the machine.I leave you this explanatory video in which it is taught in a general way which are the most important features when building your CNC and how you have to do it to make it work correctly.Also under the video you have an explanation of the most important steps when assembling and cutting the pieces for the structure, although I would recommend watching the video so that you can see the shape and arrangement of the pieces.

https://www.youtube.com/watch?v=2VasRIHSIkA

Once informed, we will detail some steps:

First of all, we are going to cut the boards that will form the main drawer of the machine, inside which the electronics will be placed and on this, the milling machine will work the materials.

The measurements of this drawer are fully customizable and each one of you can choose the measurements of the base, depending on the size of the pieces you want to mold.Keep in mind that what the drawer measures will be the maximum area on which the machine can work.All the measurements of the machine are customizable and you can use this tutorial as a guide but the size of your CNC is up to you.

Once we have built the base of the machine, we are going to make some "rails" (seen in the photo above) so that the main head can roll forwards and backwards.These guides are simply two wooden strips that are glued to the two opposite sides of the drawer.In the end it should look something like this:

On the guides that we have just placed, the main section of the machine will roll, which will move in the direction of the X axis, and on this will be the head that moves in the direction of the Y and Z axis. But we will see this a bit. below.

Now with two wooden planks we build a kind of structure in the shape of a goal, as shown in the image, but taking into account that on the board that goes horizontally we must make some grooves so that the wheels of the main head can run.This is the image of the structure:

Below, the structure of the head, has a strip that joins the two walls for greater stability and that allows the threaded rod to pass through it to move it.(Don't be scared by the wiring, I'll explain it in the next article and you'll see how easy it is).

In this photo we see a detail of the slots on the head, there are two, one on top (the one you can see) and another on the bottom, so that the head is better attached:

In this other image you can see in detail where the drawer guides are located and how the head and its wheels fit into them.These are sliding door wheels, as I mention in the video.You can find them at any hardware store.

With what we have so far, the machine should have already taken shape.Let's focus then on the head, which is where the milling machine goes, which goes up and down.This is the most complicated part of the whole process and this part must be perfect to avoid any movement or pitching of the machine when it is working.

We must take three wooden planks and join them to form a box with three walls, inside which the milling machine will be placed.Said box must have two covers, top and bottom, the one at the top, with a hole for the motor shaft to pass through, and the one at the bottom, with a hole for the threaded rod to fit and not come out of its axis of rotation.Inside this table and in a vertical direction, there must be three guide rods like the ones in the image, so that the central piece moves along the Z axis, although I recommend two tables to hold the router in two parts and that it does not wobble, since when it works it will put pressure on the tip of the router and it could deviate.

In this other image you can see the head completely finished and with the milling machine inserted.

Once the entire structure is built we proceed to place the stepper motors.

The placement of the motors must be done carefully to avoid pitching them.First we will make a hole in each of the tables of a suitable size for the motor shaft to pass through.We introduce the axes into the holes and connect the threaded rods to them.I leave the connection of the threaded rod to your imagination, although my system was to insert a metal plug into the axis, one of those used to hang lamps from the ceiling, these have a threaded entry and a smooth one, so you insert the axis into the smooth and the rod in the thread.These parts are sold at any hardware store.Here I leave a detail of the connection of the motor to the rod:

We are going to cut the threaded rods for the X axis to the size of the main drawer, for the Y axis, we cut them to the size between the two side boards that support the head and the Z axis is cut with respect to the height of your head.

All the wiring and electronics, as well as the Arduino programming I will explain in the next articles.

In this part we are going to see how to install the necessary hardware to control the machine.

https://www.youtube.com/watch?v=lvaBb-rPepY

The source that we are going to use is an ATX (a computer source) with which we can feed everything from the chips to the motors and the milling machine.I have chosen an ATX since it is the cheapest and you can also get it from an old computer.To make it work you need to bridge it and for this I leave you this video:

https://www.youtube.com/watch?v=sGXi8Uh35O4

The source has outputs of different voltages to be able to connect all the electronics to the same ATX and thus we only use a wall socket.

The voltages of the different outputs of the source are shown in the following image:

I leave you a description of the chip voltages (they are also seen in the video) and the utility of each pin:

In this image you can see the connections:

Once all the A4988s are connected to the source and the motors are connected to the A4988s, we can proceed to connect the Arduino pulse wires.

Arduino will control the chips through the digital output pins.From each chip, we are going to use 3 digital inputs (STEP, DIR and RESET), and therefore, 3 Arduino digital outputs will be needed.When the arduino sends a pulse to STEP the motor will advance one step.If DIR receives signal, the motor will rotate clockwise, if it does not receive, counterclockwise.The RESET pin is used to reset the chip.

The pins that we are going to use from our Arduino are the following:

Here is a schematic of the chip connections:

Hello, welcome to the third part of the tutorial on how to build a homemade three-axis CNC.In this part we are going to deal with the software.

All the software that will be used in this tutorial is completely free and can be freely downloaded and modified.All the programs are available for Windows and Linux (with the exception of Txapu CNC) which must be installed on Linux without further ado, therefore we must install Linux (Ubuntu is the one I recommend) on our PCs.

The software is the part that communicates the computer with the Arduino.We are going to use some programs, which we will see below.

First of all I am going to explain how all this works.

We make a 2D drawing or a 3D object using design software, vectorial in the case of 2D drawings, such as Inkscape, or 3D, such as Blender.

Once we have what we want to machine with the machine, we pass it on to another program that creates a code called G Code from the drawing, which has all the instructions for the machine to move to the appropriate coordinates to create the figure or engraving. or PCB or whatever you are modeling.

The third step is to send the code to the machine, that is, to send it from the computer to Arduino, which interprets it thanks to the Firmware that it carries inside and moves the motors in the appropriate way.For this, a program called Txapu CNC is used, which we will explain how it works.

Let's start the tutorial with the explanation of how to create the G code through an .SVG file previously created in Inkscape (the creation of the .SVG file is not relevant in this tutorial but on youtube there are thousands of examples of how to draw with Inkscape) You can also do the drawing with Corel Draw or with Adobe Flash or any program that allows vector design.

The program we are going to use is PyCam, free and available for windows and linux.This software allows us to pass all our 2D drawings and 3D models into G code. In a very intuitive and simple way and it also has a 3D viewer to see simulations of our models in real time.

Let's do a little introduction on how to use it:

Pycam download link: (For beginners download and run only the first file)

http://pycam.sourceforge.net/download.html

To open .SVG files, two more programs must be installed, Inkscape and Pstoedit (below the image I leave the links).

In this image you can see where you have to access to locate the programs once we have them installed.

http://inkscape.org/download/?lang=es

The first thing is to open a new file:

Then we select the Task tab and select the desired options, in my case I want to record the text displayed on the screen in a table so I select "Gravure"

Now we click on "Generate Toolpaths" and wait for it to finish.When everything is ready we go to the "Toolpaths" tab and there "Export all" and save the generated G code where we want to save it.

Now let's open the G-code file with Txapu CNC.

Let us now send the code we have just created to our CNC.

For this we are going to use Txapu CNC, a program that is only available for Linux, therefore, as I said at the beginning, you must install it. I recommend Ubuntu as it is the easiest Linux distribution to use and with the most followers.Installing Ubuntu is very simple and again on Youtube there are thousands of tutorials.

Link to download Txapu CNC

All this is explained in this video:

https://www.youtube.com/watch?v=UU-XAsuWIUw

Once Txapu CNC sends the file, the CNC will start working with it.

In this video you can see how to engrave a table with the CNC using Txapu CNC and a model designed in Pycam.

https://www.youtube.com/watch?v=he4WVP8Xfok

As you know we still have the Arduino programming to communicate with the computer, we will see this in the last part of the tutorial.

Hello, this is the last part of the tutorial on how to build a homemade CNC, I hope that many of you have already built yours and are almost ready to start manufacturing 2D and 3D parts.

In this last part we are going to see how to program Arduino, so that it interprets the G code that the computer sends it and moves the motors step by step.

Arduino must carry a Firmware inside, which, as I mentioned, acts as an interpreter of the G Code. This firmware can be downloaded from this link and now we will see how to program it to adapt it to the needs of our machine, such as speed, measurements, acceleration...

Let's proceed to see how to program the microcontroller:

In this video you have very well explained how to program Arduino although I also explain it in this guide so that it is easier for you to understand it.https://www.youtube.com/watch?v=3Md-xvibwWk Well, once you have downloaded the firmware that I have left you in the link, you must open it with the Arduino IDE, which is downloaded from here, in case that you do not have it installed already.

To open the downloaded firmware, open from the Arduino IDE the file with this name: "reprap_new_firmware" All other files will open automatically when you open this one.

As you will see, the files are distributed each one in a tab.

We will only modify data in two of them, one of them the “rsteppercontroller” tab in which we must modify the Bitrate.In the image we can see the yellow which is the part that we must change, and in case the value is different from 19200 you must change it to 19200.

What does this mean? Since they are the necessary number of steps that the stepper motor must take so that the threaded rod advances 1 mm.This is characteristic of each rod and therefore you must measure it yourself.Rotate the rod and measure how many turns it makes, to advance 1 mm.The part of the image that you see in yellow is the one that you must modify.The value to enter is the number of turns of the rod multiplied by 200, which are the steps that the motor takes in one turn.

Note: 2 values ​​are observed, one for steps per inch and the other for steps per millimeter.You can leave the inches as is, because they will not influence the code.

Now we are going to look at the feedrates, that is, the “speed” with which the A4988 will feed the motors.This is adjusted depending on the motor, there are motors that need 100 and motors that need 1000, in my case, the motors need between 90 and 250, depending on the speed at which you want the motors to rotate.

How to check which is the right Feedrate for your motors?

With Txapu CNC you try to rotate the motors using the manual control, gradually varying the Feedrate in TxapuCNC, if the motor makes a noise that looks like a jet plane, you are going too far with the Feedrate, turn it down!!!.If the engine sounds like a ratchet, it's not enough, turn it up!!!.

In this part of the chip programming, we are going to map the digital pins of the Arduino to the pins of the A4988.All this is as simple as writing the number of the Arduino pin that we want to assign to the pin of the chip.

For example, X_STEP_PIN is the STEP pin of the A4988 Chip that controls the X axis motor, therefore we assign the Arduino pin number corresponding to this pin, for example 4, although you can assign the ones you want, always keeping in mind that the PWD pins are for the DIR pins of the A4988.

In these last lines of code, we will assign the pins for an extruder, in case we use one, since this tutorial is oriented to the use of a milling machine, but the user can also decide whether to place an extruder instead of a milling machine and to That is this part of the code, so that you can define the pins corresponding to the extruder.(As I said before, in case you want to put one).

With all this, and with great sadness, here ends the tutorial on "How to make a homemade 3-axis CNC milling machine"

I am very happy to have written it and I hope that both my videos and the tutorial will be useful to many people.

I leave you a link to my YouTube channel, in case you have any doubts about something and want to see it on video.

You can comment all you want and ask all the questions you want that I will gladly answer, if you want to leave the email, so that I can answer you by email, leave it, if not, ask your questions directly on the comments page.

It has been a pleasure and until next time!!!!!!!!

[highlighted]This article was originally written by IgnacioRojas for Ikkaro[/highlighted]

You're a genius!! Thank you for uploading this project, as soon as I can I'll start it!! Surely you'll be annoyed with some questions, I'll get your e-mail, so I'll write to your email.

Hello, I don't like to put the mail here because there are spam search engines that can track it.Send me a private message to my youtube channel "igna94igna" with your email and I'll send you information about the cnc.Sorry for the disturbances.

Congratulations on this great contribution, with people like you this crisis is less heavy.

I wanted to tell you if, is it possible to use a MAKITA drill or milling machine and not the DREMEL, or are the motors limited since the weight of the MAKITA is much higher?

Hello, you can use the milling machine you want, it does not affect the machine

I would like to know if the largest cnc can be made with the same design and the same program.What materials can I work with?How do I fix the plate of material to the work area?And how do we tell the cnc where to start working and what are the dimensions of the plate on which it can work?

Hello igncio! A few days ago I wrote to your YouTube channel, but I don't know how it is to write to you privately, I don't know if you remember me, I am a teacher, and well, all the information you can give me is better! I'll send you my emails Thank you and sorry for the inconvenience my email benamudavid@gmail.com or davidbenamu@hotmail.com.

A hug, and sorry for the inconvenience

Hi Ignacio.Congratulations on these tutorials: they are awesome.So much so that I have encouraged myself and I have started to build one.I have the structure almost finished and I have a question about the motors that I should buy.

I've seen these on the same site you buy them:

 http://www.ebay.es/itm/LOTE-3-MOTORES-PASO-A-PASO-SANYO-DENKI-STEPPING-MOTOR-CNC-ROBOT-103H6701-0449-/200925262129?_trksid=p4340.m444&_trkparms=algo%3DCRX%26its%3DC%252BS%26itu%3DSI%252BUA%252BLM%252BLA%26otn%3D10%26ps%3D63%26clkid%3D7771541589874092984#ht_613wt_1841

They are 2 A. Would the pololu chips and the arduino work?

Thank you very much and congratulations again for the clarity of your explanations.

Hello, ask if they can work as bipolar, if so, buy them.And also buy heatsinks for the A4988, since 2A is the limit of the A4988

Thank you very much, Ignatius.I have asked the seller.I'll keep you informed and probably overwhelmed with questions.

The motors have arrived and, as I told you, my first doubts begin: the seller told me that they could work as bipolars (I can't find the datasheet anywhere).They have 6 cables, but when doing the continuity test, to find out the coils, cables 1, 3 and 5 (1 with 3, 1 with 5 and 3 with 5) and 2, 4 and 6 (2 with 4, 2 with 6 and 4 with 6) and there I am already lost.How do I know which are the 2 of each coil?If you can help me, I will appreciate it.I hope I don't overwhelm you.They don't put the voltage either.They only put DC 2A.I am very lost.

The motors have arrived and, as I told you, my first doubts begin: the seller told me that they could work as bipolars (I can't find the datasheet anywhere).They have 6 cables, but when doing the continuity test, to find out the coils, cables 1, 3 and 5 (1 with 3, 1 with 5 and 3 with 5) and 2, 4 and 6 (2 with 4, 2 with 6 and 4 with 6) and there I am already lost.How do I know which are the 2 of each coil?If you can help me, I will appreciate it.I hope I don't overwhelm you.They don't put the voltage either.They only put DC 2A.I am very lost.

The two cables that have more resistance between them are the coil, normally the two in the center are the common ones (they are not used) and the two at the ends are each one of the coils.Measure the one at the end and the one next to it.If they have continuity that is a coil, if you do not measure the one at the end and the one at the other end.As for the voltage, you must look for it, or you give it voltage until you measure 2A with the multimeter, but I recommend that you find the voltage anyway.All the best

Thank you very much, Ignatius.Indeed, with the multimeter at 2K, some couples give .002 and others .003.

You are a crack.Now let's see if I can figure out the voltage.I have excited these couples with 5v and they do respond, but I have not dared to give them more voltage just in case (you know that I am an absolute electronic illiterate).

While I'm trying to figure out that voltage, I'll be ordering the chips and the arduino.I'll keep you informed.

Hello.I am very new to this, and a bit denied hehe, but I have a question that may seem silly but I can't stop turning it around.It turns out that I would do it to cut Melamine, and I say, when the cutter goes down to the top to cut the wood, wouldn't it also cut the DM of the base?????or at least not scratch it a bit????or is it really so precise that it only cuts melamine???All the best.

Hello, the machine is super precise, 12 microns of precision, but obviously you must tell it how deep you want it to go or otherwise it will cut everything it finds, although when you build it, do it in such a way that when the cutter goes all the way down never cut the wood of the base.

First of all, CONGRATULATIONS!!EXCELLENT PROJECT!!!I am gathering the pieces to start the construction of the cnc, I only have one question!can it be made bigger?And how much??

Thanks for the congratulations, the size of the machine is the one you want to choose, but from 1 mx 1 m the motors must be of more than 2 amps and therefore you cannot use the A4988 from pololu, but you must look for others drivers on ebay, more powerful.It is better to make it less than 1m x 1m or buy other stronger drivers and better motors.

If there are doubts write me.

why should they be different?I was asking in other places and some told me that I could use the same motors and others that they should be different but they did not explain why.

Hello, first of all you are a genius.Looking at this project, I had a couple of questions:

1. What is the size of your router?

2. If I wanted to make a large milling machine, for example, 1.5 x 1 meters instead of having to put larger motors and thus having to use match 3 (which from what I've seen on the internet everyone has problems) I could Put a reduction gear system on the motors so that they have more force and when the time comes to program the machine, I say that I need more turns to move one mm, will it work?

Hello, my router is 50 cm x 50 cm.

If you need more force for the larger cnc, that of the reducers is a great idea, it will work perfectly.

I changed my plans, what I told you last time was something hypothetical.I want to make a 60cm x 90cm aluminum one (which I understand is lighter than wood), will I need more power than yours?Or is it ok with 2A motors directly?

Those look very good, and they are 1.6 A so the A4988 will work for you

I would use 2A motors and with that you have enough, but instead of a dremel, I recommend something more powerful like a top or something like that.

With 2A it would be at the maximum with which I can use this circuit, right?what do you mean by top?I am from Argentina and I have been looking for 2A motors for days and I cannot find them... it is a matter of continuing to search

Hello Tincho, could you give me some means to be able to communicate with you?I am also from Argentina and I am interested in doing this project, and I would like to be able to ask you questions about your experience putting together this project

Trompo is a drill, so you can use it as a milling machine, there are many 2A motors on ebay, look for nema 17 motors to see if you find them better this way.

First of all congratulations for the project, very good actually.

Second To use the extruder I imagine it would be the same with a stepper motor, but this is how it would be connected to the arduino, given that I checked the number of pins, I think they would all be occupied, right?could you continue using the arduino uno or would you have to be the owner or the mega

THANK YOU!!I AM TOTALLY NEW AT THIS!MY QUESTION NOW IS IF I ONLY HAVE TO CHANGE DRIVERS AND MOTORS, EVERYTHING ELSE KEEPS WORKING THE SAME???AND WHAT DRIVERS DO YOU RECOMMEND ME?I INTEND TO MAKE ONE OF 1.2 X 1.5 APPROX

Hello, for the extruder it is the same but connecting the extruder to the arduino, there are enough pins with the arduino UNO, no more is needed.I tell you what I think, you calculate the pins anyway, although I think they are fair but there are enough.

The best thing is to use the A4988 since they are the ones that I explain in the tutorial, it uses 2 amp motors (but not!!!) and that's how it works for a cnc of those dimensions.All the best

Congratulations for your excellent contribution to those of us who want to enter this world, it becomes much easier with people like you, thank you, I ask you:

I have some motors, «Vexta 5 phase 0.72/ step, DC 2A, 0.45 O, with Vexta EICO 241 driver, I found this information about them, http://www.cnc-arena.com/en/forum/ info-asked-about-5-phase-driver-chips–20719-2.html

If you have some time, I would appreciate your opinion of them and comments, I need to guide how to do it with arduino.

Hello, they are 2A motors, I recommend that you refrigerate the a4988 well because they will get hot.For the rest I think they are not bad, if they work as bipolar they are worth it.

I'm sorry for still bothering you.will this do?http://articulo.mercadolibre.com.ar/MLA-467511697-motores-paso-a-paso-6-kg-de-torque-200-oportunidad-_JM

Hello, how are you? Thanks in advance, I would like you to help me. I'm starting to build a cnc with the specifications you mention. I already found the arduino uno leonardo board, I already found the chio A4988, the question is, do I find these types of motors are good for Mouse over image to zoom

3 PCS NEMA 23 CNC Step Stepping Stepper Motor, 76mm, 3.0A, 255oz-in, Bipolar

Friend, will this stepper motor work for me?and this controller?electronica.com.ve/ventas/catalog/product_info.php?cPath=76&products_id=2826 and the control is: electronica.com.ve/ventas/catalog/product_info.php?products_id=2766

Hello, I have built a cnc following your tutorial, but I have a problem that I cannot solve and it is that my machine is smaller than the one in the tutorial but nothing happens, what happens is that when I put it to print something I don't know why For this reason, it sends the axes so far that it goes out of the limits of the machine and the platforms are embedded, it is as if txpucnc commanded, for example, to move one centimeter and the motors move three or four, we are going a lot, the curious thing is that when the drawing moves correctly and does it well, but of course I have to do things very well because if not before starting the figure is going to be positioned outside the machine and everything gets embedded and it's a disaster.I don't know if I explained myself well, it's as if the machine was a bit crazy.

Hello Ignacio, I wanted to ask you the following question, how do you deal with the issue of the clearance or play of the screws with nuts?

Hello, first of all, a very good guide and a very good project. On the other hand, could you tell me what is the reason that increasing the size of the structure requires more power in the motors?Thank you

Hello Ignacio, I would like to be able to contact you. Can you send me your number to my email address: benoit_lizardo@hotmail.com

Post raised to comment that Txapucnc.gambas3 does not work.I've tried everything I can think of, but gambas3 doesn't run it, I just give it two clicks and it stays as it was before, without opening anything.I'm the only one?

Hello, better try Gambas 2 and Txapu cnc 2, if there are problems contact the creator of Txapu cnc

http://txapuzas.blogspot.com.es/2009/12/txapu-cnc-software.html

The same thing happens to me with both, I finally managed to open them as a project with the Gambas3 explorer (the Gambas2 version had to be converted), then they have to be executed.There is another problem here: in both versions it says that the “gb.net” component is missing, so they don't run.——————————————————————————————————————————————

Ok, I realized my blindness.While writing this I searched for the gb.net component and found the bug.This component is related to the interaction between the programs made in gambas3 and the pc ports, right?(Fixing a bug is not making something work, it's understanding why it didn't work)

I'm glad you fixed it and commented so others can learn.

Good afternoon, first of all congratulations, it's a very good job.

I have a problem, I can't install Txapu CNC, I've been trying for several days, I don't know if you could help me.I don't know if you have any utorial or something like that.

Hello Ignacio, first of all, I congratulate you for this great contribution, it has been very useful to me, but I have a problem, I already did the cnc and all the configuration with my easy driver and nema 17 motors, but now what happens is that when I put them to work, they make a little noise and they don't turn what do you think it is?

Hello, I wonder what type of motor and drivers I would need to use to make one of 1.22 * 2.44 approximately

Hello Ignacio, I am Santiago from the town of Hostalric Girona Spain, I like crafts and in the month of December looking at videos I got to yours I liked it so much that I already have the 3 ONE AMP motors and I bought for €47 (UNO R3 Starter Kit Motor Relay Servo LCD LED) Resistor For Arduino AVR which will take a long time while I dedicate myself to carpentry-mechanic work.I have some doubts and I think more will come out as I get into the project:

I would like you to get in touch to get to know us better (I am involved in advertising)

Hello, my email is igna94igna "at" gmail.com (I do not write it in full because of spam robots)

hello Ignazio, great work congratulations, can you please tell me where I can find the firmware?thank you and congratulations again

Hello, you can find it in the description of the Youtube video, I'll give you the link

http://www.youtube.com/watch?v=3Md-xvibwWk

Good morning. My question is what program do you recommend to replace chapucnc to be able to run in windows and that is not mach3 which is for parallel port.One that shows what it does like chapucnc Thanks and great tutorial

very well explained friend and well the truth is that I already started but I have a small stumble on the way, I want my homemade cnc for mdf of at least 1.8mm and the truth is I don't know which motors to use here I sent you a link to my free market country to help me or maybe if you can give me the exact specifications thanks for your help http://listado.mercadolibre.com.co/motor-de-paso_OrderId_PRICE

Hello, the motors depend on the size of your cnc, tell me what the size is.For a cnc that mills 1.8 mm dm and the same size as mine I recommend these motors:

http://articulo.mercadolibre.com.co/MCO-408664036-motor-paso-a-paso-nema-23-185oz-in-doble-eje-cnc-_JM

And instead of A4988 these drivers:

http://articulo.mercadolibre.com.co/MCO-408767170-cnc-router-driver-motores-paso-a-paso-45-a-80-vdc-_JM

Or these or similar ones

http://articulo.mercadolibre.com.co/MCO-408912554-driver-motor-paso-a-paso-42a-dc-18-50v-dm542-_JM

Everything else is the same as in the tutorials

Great Project.I think I'm going to try it, since it would come in handy for my Technology classroom.

I have 2cm thick DM stored.It would be possible to use it or it seems too heavy for the CNC.

Hello, it's fine, it's not heavy, what you do have to take into account is that the power of the motors must be in accordance with the size of the machine.

Hi Ignacio.First of all, thank you for this spectacular contribution that you make. Well, my problem is that after connecting everything and I manually advance an axis, for example, the x.The engine goes crazy, other times it goes well. But to change direction, it never changes to the first one, I have to give it several times.It may be that the steps taken by the motor are not well configured and therefore it is unstable.24 v 500ma 78 step motor.Busy controller error, this could be. Thank you for all the tutorial of the Best......

Hello, I am going to make one like yours more or less.Tell me what problems you may have that I can correct. In mine, I don't have money for more.I would like to be able to talk, even if it is by mail.

Your machine is great.where are you from spain "torrejon de ardoz"

Hello, it's a pleasure to see the projects you carry out, I personally am designing one based on 5-wire unipolar em-336 motors (4 phases) and it works best for me when I manually activate the coils (digitalwrite function ) but after using the functions of the stepper library it doesn't work for me, the motor stalls, I already added a couple of leds and I can see the sequence but I can't understand the sequence it generates.I wonder if the stepper library is designed for bipolar motors only.Please help :(

Hello, I'm sorry but I don't use the stepper library, I do the programs for the motors from 0 sending pulses

First congratulations for the WEB.

I have a question if you can clarify it for me, I built a 3D printer and I understand that this is the same principle when generating the gcode and sending it.But the 3D deposits layers and they go up in Z and the cnc understands that to create a drawing it must go up and down in Z to model, for example, wood.This movement is controlled by the board's firmware, the way of generating the gcode or the software that sends it.

Regards and thanks Jose A. Leon

Your well-explained videos are wonderful, I'm in the process of making myself a milling machine.But I have a concern and it is the following;Instead of the dremel motor I can put a Maquita brand router.Thank you very much for your information

I congratulate you, the videos are wonderful and well explained.I am in the process of making one but I have a concern, instead of putting a dremmel motor I can put a maquita router.thank you very much for helping me

Hello, if you have any questions ask me.All the best

Hello, you can use the milling machine you want, that will not affect the configuration of the machine

congratulations for such important videos

my concern is the next one I can replace the dremmel motor with a maquita router.thank you very much

Hello, yes, you can replace it with the motor you want

Hello everyone.My message is mainly to congratulate Ignacio for this excellent work and I am glad for everyone's respect and the great contribution of his comments as well as the responses of his creator.This may be a small grain of sand that will change the world. CONGRATULATIONS TO ALL.

Hi, you know that I don't have a problem with electronics, but with software, ubuntu and txapucnc in gambas2 it gives me a lot of problems on my computer….can this project run on mach3???I hope you could answer me because I want to present it as an internship project at the university….My email is eagutierrez1994@gmail.com Thank you in advance, and your project is incredible, I hope mine turns out!!

Hello, your project is excellent and I decided to do it to mill circuit boards. I am buying a nema 17 motor but on your page it says that it is 3 axis, what does that mean?

Hello, I don't think that means anything in the motor, in any case it will mean that it is used for a 3-axis machine.But I already tell you that this has nothing to do with a nema 17

I have built my CNC, but I have communication problems with the TxapuCNC, when I use the manual control, it doesn't matter if I press + or - on any axis, it always moves in the same direction, I have tried with the sketch that you have uploaded before to test the connection of the drivewr with the arduino, and it works correctly.Do you have any idea why TxapuCNC does not work correctly?

Hello, something similar happened to me, look in the sketch in the int tab which pins you have in maximum and minimum limits of all axes, I used analog pins writing A0, A1 ... and with pull down resistors.You can put all the limits on the same pin, and I recommend sending it to ground so that it detects them as if they were open or closed.

Hello Ignacio, I have the machine set up and it works, but not as I would like and I can't find the problem. Let's see if you can help me because I don't know what I can do anymore.The problem is that when I send it to print something it is not accurate, for example if I tell it to start in a place after making the engraving I send it back to the origin and it never matches, it is as if it had skipped steps, therefore I cannot make it pass twice through the same place to go deeper, for example, because the second pass is a slightly different trajectory.It also happens to me that with the manual controls those of the arrows of txapucnc to the first order it moves well if the second order is the same it moves twice as many steps aporx.the third triple and so on, also if you tell it to move in the opposite direction it doesn't pay attention, but curiously after mechanizing something the arrow controls mysteriously work correctly.I have tried changing the polulus, changing their intensity with the potentiometer, at different step speeds both in txapucnc and changing it in the arduino program, but I can't get anything.Anyway, sorry for the billet but I'm stuck and I don't know how to get out.A greeting and thanks in advance

Hello everyone.I have the same problem as my grandmother.

In my case, I have my machine assembled, and it moves "without problems" in all axes, on steel bars, and linear bearings.Movement is smooth, no bogging or anything like that.The motors move the assembly without problems and apparently without much effort, since it is quite smooth.

The issue is that I send something to the machine so that it paints it (at the moment I have it with a marker to do the fit tests), and since I send letters, for example, or things that have to be done in several passes, it doesn't correctly, since it does not go through where it should.It also does not return to the same source site correctly.

I have tried with different FeedRates, different voltage feeding the pololu vcc (5v and 3.3v), etc.I can't get it to be accurate :'(

My grandmother, I don't know if you could solve it, if you know something, I would appreciate it if you could give me a hand.

One thing I have found out, is that if you send the G90 command, you disable the machine movements from being Incremental, which fixes the problem you have when you use the manual controls...they stop moving in multiples or incremental (first movement 1mm , second movement 2mm, third movement 4mm, fourth movement 8mm, fifth movement 16mm... and if you press in the opposite direction it doesn't go where it should, but continues to where it went before, until it passes through point 0 of the axis you move... which is already if he will start to pay attention and go where you indicate, but not in the opposite direction (I explain myself like a closed book, sorry))

Note: The things I send to the machine are generated from pycam with an inkscape svg, for what it's worth.

I have not found the problem either, when the figures to be machined are very simple, it seems that it refines, but the more complex they are, it does not give a single one, especially if what you want is for it to go through the same place several times, for example, going a little deeper more, that impossible to achieve.I have come to change the poles just in case and it continues to do the same, I have also tried to change a motor of an axis to see and it is also out of phase.Yes, I have noticed that with a certain feedrate and power of the pollus it is tuned a bit, I mean that if you vary the feedrate or press the potentiometer of the drivers, well, there is a point that goes a little better or if you shift it a lot Well, it's fatal, but come on, I haven't achieved anything and the machine is not operational in this way.In any case, it's been a couple of months since I touched it again because I ended up a bit tired, let's see if I start again and find out something. If you discover something, I would appreciate it if you told me, if I manage to apply, I'll put it here too .All the best

By the way, first of all (which I missed in the previous message) thank Ignacio for such a complete manual-tutorial, and for his videos.You are a crack!;)

I have no doubt that the problem that Miabuela and I have is something in particular that we both possibly have in common (I suppose that everyone is doing well, and after having seen Ignacio's videos, it sure is).

I started the subject of the machine with great enthusiasm, but I am already deflating a bit, after so many tests...

I don't know if it will be the right place, (and if it wasn't, please tell me where I could do it), but I would like to tell you, particularly for you, Miabuela, to see what we have in common that could be screwing up….

-I use a Leonardo arduino.

-Drivers copy of Pololu A4988 (specifically these http://www.ebay.es/itm/151131970216?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1423.l2648)

-SANYO DENKI STEP BY STEP MOTORS 103H6701-0149 ( These: http://www.ebay.es/itm/201047840554?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649 ) They are 5v but I limit the current with the PaP drivers potentiometers.

-The board where the drivers and electronics are mounted go on a test board, it is not one that has already been manufactured.

-The pins I use are the same ones indicated by Ignacio.

-I feed the driver with 12v for motors, and with 3.3 to feed the driver itself.(I already tried with 5v before, with the same result)

-I use 12mm stainless steel rods (from leroy) with 12mm linear bearings (These in particular http://www.ebay.es/itm/LM12UU-rodamiento-linear-bearing-cnc-roboting-3d-printer-/ 161133403651?pt=LH_DefaultDomain_186&hash=item25844c9e03&_uhb=1) So the movement makes it quite smooth.

-I use txapucnc_TX with firmware loaded in arduino Newfirmware_reprap (the one indicated in this guide).

-I've also tried to change the feedrate speeds (for my motors I can use a maximum of 225; more than that and it starts to lose steps.) I've done tests from 50 FR onwards, and it's always imprecise, and getting roughly wrong in what same, in the same “drawings”.

-The speed of communication with arduino that I use is 19200, although I have also used others, with the same result.

Ah, a curious thing that happens to me is that the examples that TXAPUCNC_TX brings make the machine go crazy, no matter which one I use….

-Another fact is that I use TXAPUCNC_TX on gambas3 (maybe the one that runs on gambas2 works slightly differently…I don't know)

If someone else has this problem, please, indicate what you have in common with me, to see if that is how we close the problem.

Excuse me for so much, but I don't know how to send private messages.On the other hand, perhaps it is good that this remains public so that if it happens to more people, he can see it and help us all out.

Well I do not roll it up again.

I tell you what my machine has:

Arduino Uno (copy of the Chinese)

Drivers also Chinese A4988, I think like yours

The motors are Japan Motors KH42KM2 OF 5.78v

The drives are mounted on a printed circuit that I have made for this purpose and they are logically soldered, I feed everything with a source from an old computer with 5v for the drivers and 12v for the motors.

What is the machine I have used 8mm rod and linear bearing also 8mm and it is quite fine.

I also used TXAPUCNC and I tried grbl with windows and it happened the same as with txapucnc.

Hello, at this address you can find how to solve the issue of CNC precision.In the drivers you have to make some 5V connections to enable greater Microstepping… http://cnccontrol.byethost13.com/smf/index.php?topic=92.0

I have managed to improve the accuracy a lot.Besides, it increases speed, and much higher feedrates can be handled.Before I used a maximum of 250, now I can use up to about 3400.

THANK YOU for this great contribution, with people like you this planet will be better.

With these excellent tutorials together with my brother we have encouraged ourselves to build this CNC.We want to know if anyone used a Mac for this project (mine is: iMac i5. OS 10.7.5) and what are the programs to use.We are newbies.

A greeting and thanks in advance.

Hello, on youtube you will find my video on how to control the cnc with GRBL in windows.The same thing works for you on mac because the program is in java and I suppose it could be run on mac.

Hello Ignacio, after watching your video “Control your CNC under windows”, I want to ask you: when using GRBL, XLoader and Universal GcodeSender now totally replace Pstoedit and Pycam, or do we have to continue using them?My email: montesinosburbano@yahoo.com

Hello Ignacio, Thank you very much for your prompt response.I'm going to try the cnc control system with GRBL in windows, I'll watch the video and if I have questions I'll tell you.Thanks Ignatius

Hello Ignacio, after watching your video "Control your CNC under windows", I want to ask you: by now using GRBL, XLoader and Universal GcodeSender totally replace Pstoedit and Pycam, or do we have to continue using them?My email: montesinosburbano@yahoo.com

Hi, wenas, I wanted to know the specific details of the motors. I'm new to this.

I can't download the firmware, could you check.

Hello, what is the error you find, I can download without problems

Regards, Ignacio, just to ask about the download links for gbrl, xloader and gcode sender, I can't find them anywhere, they don't appear in the youtube video either, thanks.

Good afternoon, first of all congratulations, it's a very good job.

I have a problem, I can't install Txapu CNC, I've been trying for several days, I don't know if you could help me.I don't know if you have any utorial or something like that.

Hello Ignacio, very interesting your explanations, follow my email so we can talk more I have doubts, greetings …

Hello Ignacio, very interesting your explanations, follow my email so we can talk more I have doubts, greetings …

Hello. Thank you in advance for this wonderful tutorial. I hope you can help me with this problem that I have, which is that when I send a G code, it sends it without waiting for each order to finish, for example.If it sends a line, it doesn't let it finish doing it and it already sends the next order, with which nothing ends.

Hello Ignacio, I would like you to tell me if something can be done with the PLB 3770A chip;I have a few and I think they are used for stepper motor drivers, if you can look at it and tell me how they are connected and if they are not compatible with Arduino or how they could be governed. Thanks

I need tutorial to make it work on windows.(Tutorial from scratch xfa).Or instructions for "stupid boy..."

Hello Inácio, I would like to have your project, will it be possible to send me your measurements of your projects?

Hi Ignacio, thank you very much for the info, but I have a question, how does the machine interpret the g code created by the program it uses? That is, I create a G code, and how do I communicate it with the machine? since arduino will control the motors, so how do I connect the G code created on my computer with the movements of the motors controlled by arduino?Martin Cabona.

Good again. I told you above that I am going to make one similar to yours.I bought the materials at banggood.com and they come out at a very good price.They have everything including drivers for more amps.Ignacio, can txapucnc be changed to another for windows that is not mach 3?which is for a parallel port, or is there a mach3 for USB, not that I know of, but if there is a way, I would appreciate it.

Good morning, my question is the following, I need to make one of these tables but larger, when it is required to change the cutting tool, how would this step be done?Let me explain if I need to make holes, I would do them with a drill bit and it would be the first thing to do, but if I need to grind to create complex figures, I would need a milling cutter. How would the change be made in the Arduino program or how would I identify this process?

My grandmother, I wanted to try GRBL but I have an arduino leonardo, and currently, as far as I've seen, it doesn't work.So searching and searching, in order to rule out that it is some software issue that has to do with being a Leonardo, and not a Uno (which I understand will be more compatible), I have found a forum with a very interesting thread;At least it seemed so to me, and I highly recommend it, because there are a lot of doubts resolved, and they are also developing software that you will hallucinate if you see it, it is incredible... a "homemade" program that is taking on a professional form.In order to test it, I had to make some small changes to the tracks where the drivers are mounted... but not much... I haven't been able to test it well;At the moment I have its firmware loaded and working, but there must also be something strange with my ardu because the controls work fine for me, they move where they should when the corresponding button is pressed (yes, I had to reverse the direction of their rotation), etc, but I have to adjust the calibration, since when I tell it to move 1 step (I suppose it will be 1mm) it moves 1 cm, but surely it is a matter of settings of the soft/ardu leonardo, already which has a lot of configurable parameters.And it may be that being a "supposedly not compatible" version, it may not interpret the commands as it should with the leonardo... so the day before yesterday I ordered an UNO that is already on the way :D

If you dare to try it, tell me how that goes for you, and if the problem we have is corrected.

I leave the link for those who may be interested: http://forum.arduino.cc/index.php?PHPSESSID=16ashhaisbjac4gtfm4iq5flk2&topic=193036.0

This is the creator's website: http://cnccontrol.byethost13.com/ with lots of info.

I share it because I found it amazing, plus the software is for windows.

Truly an excellent project, I am starting mine following your instructions and doing a lot of research on electronics.I would like you to send me video tutorials to my personal email on the detailed process of importing, programming and sending to the machine, as well as how to reset the machine to start programming.I have another query, I installed one of the latest versions of linux (UBUNTU) and it only allows me to install GAMBAS 3 but I have not been able to install Txapu cnc for this GAMBAS 3 and when I download ARDUINO for linux and install the interface that appears is not at all similar to the version for Windows like the one you present in your arduino configuration video for the A4898.I look forward to your prompt response and once again I congratulate you on your excellent project… This is my personal email: hantony0222@hotmail.com

Hello, first of all congratulations and thanks for sharing your research.I ask you what is the difference between using the pololu A4988 and a driver with L298?

Hi, I'm doing the milling machine in your tutorial and I wanted to ask you how to connect the l298n so that I don't have to use the a4988, because with the chip you use three digital inputs of the arduino and with the l298n you only use 2 and it doesn't have a reset. Could someone explain to me how? is that?

Good video, how do you get the interface with the cnc code to make one, what program do you use and how do you use it?

Who manufactures these machines, and what is the approximate value?Have you send a response to mgrez40@hotmail.es

Hello how are you, I am in the process of manufacturing a CNC, your tutorial has allowed me to assemble the mechanical part, I have bought some nema17 motors, I have the arduino, the a4988 controllers, etc.However, I have a question, and it is that I am just going to see the programming part, I want to solve many doubts before spoiling something, in which parameters do you set the position 0,0,0 of the milling machine, in which part is they assign the maximum values ​​for the path in the 3 axes.And for example, is there a parameter to modify the diameter of the cutter?that is to say, I have some cutters of 1, 2, 3 and even 6mm.I understand that a different diameter of the drill bit (bur) affects the final result. I hope I don't overwhelm you with so much doubt.

Hello how are you, I think the other message did not arrive, could you tell me if there is a parameter for:

a) Set the maximum travel in the XYZ axes b) Locate the position 0,0,0 of the milling machine c) Change the diameter of the milling bit, that is, I have from 1, 2.3 to 6mm, this because of a different diameter would change the final result of the milling.

I hope I don't overwhelm you with so much doubt.

I have followed your tutorial to the letter.I have everything working, the mechanical part, the electronics and the computer.

I only have one problem, and it is in the positioning of TxapuCNC.I start from position (X,Y,Z) = (0,0,0), move 1mm to the right, go around (1,0,0), good!.I move one more millimeter to the right and it does two turns, moving 2mm, staying in position (2,0,0), when in fact 3 steps have already been taken, and the machine has moved 3mm to the right.

It works like a stack.If now I want to move in the opposite direction, the first click to the left, moves one turn to the right!, then none, and then starts moving to the left.

Although I haven't put the motors on the machine yet (I have it on my table), it seems to be going well, but this behavior doesn't work for me when moving the head.

Can you tell me something about it?

PDI: I have tried the versions of Txapu for gambas2 and gambas3.Same result, but that of gambas3 a little more unstable.

PSII: Thank you for this fantastic work.

Hello, please enter these two codes by hand before doing anything.See how the problem is solved: G90 G21

By the way, they are two individual codes

Thanks again Ignacio for your quick response, and sorry for not getting back to you sooner, but we were excited to get it working.

By following your tutorial and with practically no prior knowledge of electronics, the CNC can be assembled without much problem.Attest!

As advice to your followers, I think you need to learn a little G-Code.We spent a long time machining a drawing (using Pycam), because the engraving point was at Z=0.I suppose it can be configured from PyCam, but in any case, it's good to know G-code to manually modify the files from txapuCNC and also to position the machine more quickly.

Nuestra máquina: Arduino UNO + Pololu A4988 + motores nema 17 (SY42STH47-1206A) + fuente ATX.

Thanks again and best regards, Pedro.

Hello ignacio, I would like to know with which software you control your cnc

Hello, I have a problem loading the G-code files to the TxapuCNC program. After a brief loading period, gambas3 notifies me of an error in Sources>FMain> Draw.End.87, FMain.dibujar_ruta.1829 and FMain.MA_Open_Click.116 .

Has anyone had a similar problem?

Dear Friend, I am writing to you from Chile and my question is, what is the software to activate the PAP motors and make geometric figures?

Hi, trying to open an inkscape file gives this error: DXFImporter: No supported elements found in DXF file!Read PyCAM's modeling hints.Could you help me?This part has been the most confusing of the project, since if I want to pass something to pycam I would design it there.Thanks in advance

and the psto edit gives an error when opening it, it says that Core_rl_magick++_.ddl is missing from the computer, and I already reinstalled it several times and nothing.

I have the same problem. Any solution?

SOLVED!!you have to download ghostscript (http://www.ghostscript.com/download/gsdnld.html) and then GSview 5.0 (http://pages.cs.wisc.edu/~ghost/gsview/get50.htm) and that's it. it worked perfectly for me good luck

Excellent project, would you send me all the information to my email francisco.arauz@hotmail.com hardware software etc….Thank you very much in advance you are a crack.

Hello, Ignacio, thank you and congratulations for this contribution, I am from the Dominican Republic, I would like you to explain the following to me... with a machine like yours, what would be the types of work that I can do and also in how many ways I get economic benefit from said machine ?

Dear Ignacio, I join the rest of the congratulations and thank you for your willingness to help through this medium, but in reality I would like to make you a proposal, connect with me on Facebook privately, Roberto Calderon, Fuengirola, Málaga.Thank you, I await your contact.

Greetings Ignacio, great job, thanks for sharing your knowledge, I tried to download the contraptor firmware source code from your link and it doesn't download anything, it sends me to a different sourceforge page that shows part of the source code, would you be so kind tell me where else I can download it, thanks for your help

Hello, very good job, I am in the process of manufacturing a cnc milling machine and my doubts are: can the driver's be replaced by homemade ones or made to measure!?, since they are somewhat expensive and if you think about it.In the long run some of it will be damaged and you will have to change everything and in a homemade one you can only repair it, reducing costs.;arduino works well on Windows ?Thanks for answering.

Hello Ignacio, if I use a Leonardo arduino, what would I need more to complete the electrical system of a cnc that I will use for metals?If you could explain to me everything I would need for the electrical system, I would add it to you a lot. Thank you, regards

Hello, if you use Arduino leonardo you will not be able to use GRBL.Everything you need is very well explained on my YouTube channel (igna94igna) I leave you the link:

https://www.youtube.com/user/igna94igna

Hello, thanks for contributing this, a question about how big the work area is? I need to build one with a work area of ​​120 cm x 90 more or less, I need to change something in the material, and as for the ARDUINO UNO This does NOT work for me: http://articulo.mercadolibre.com.mx/MLM-453287272-arduino-uno-r3-mejor-que-duemilanove-regalos-_JM, there are several but I don't know which one to choose, thanks for the answer .

Hello Ignacio I find this project very interesting I want to ask you 2 questions

1- If the motors that I can buy are very small, I can put two or more in the same A4988 to give it more power, I can buy others but from 4.2 to those they cannot be used with A4988, a controller could be made for them

2- more than three axes can be used, the arduino would allow it and the software or I need another interface

Hello, it is better that you use more powerful motors.You can use the TB6560 drivers that support up to 4.5A and as for the axes, the software does not allow it.So you have to look for one for 4 axis

Hello good afternoon Ignacio!First of all, I congratulate you on your project and thank you very much for sharing it.I am about to start the project, I am currently studying and I want to present it as a project at the university so I have many doubts regarding programming.Do you think I can use MasterCamp X5 to program together with arduino?

Hello how are you, first of all thank you very much for sharing the information.I have a question, what size do you recommend the cnc?with nema17 motors with the following characteristics: 1.7A current, holding torque =4000g*cm, detent torque = 224g*cm and rotor inertia = 54g*cm^2.

Again thank you very much and I hope I have not overwhelmed you

First, thanks Ignacio, excellent work.I have finished assembling my CNC with everything and electronics.I am now in the programming stage.I am looking for a way to have both OS (Windows and Linux) to be able to use Txapu.I would like to be able to do everything from Windows without installing Linux.Is there an alternative to Txapu that does the same job but on Windows?Again my congratulations for a job of excellence.

Thank you very much, Orlando.

First of all congratulations for this project.It is more than complete and great.Just a few doubts;I intend to make my CNC 2mts*2mts and use NEMA 17 motors, but what drivers should I use?Why have I read that you say that if it is more than 1mt*1mt they should use more powerful drivers than the A4988.

In advance, thank you very much!

Hello!!Could you tell me if the A4988 black chip is useful for me to carry out this project?

Thank you very much in advance Regards, Adrian

First I want to thank you all for all the information you offer, it is being of great help to me in my project.

I have a question and I was hoping you could answer it for me:

I have 3 103H6701-0149 motors and I would like to know if anyone has a schematic or something to know what each motor thread corresponds to, I can't find this information anywhere.

Thank you very much in advance, salu2

congratulations ignacio, question, do you think your project can help me to mill a PCB and make the perforation? I need to start manufacturing it….Good day

Hello ignacio, could you tell me how to define the origin of the strawberry?that is to say, in my opinion it should start from a point X and when finished return to that place.Thank you in advance :*

Hello, congratulations for gaining popular interest in such good and useful projects, Sorry, with the A4988 chip I can control a 70 oz-in Nema 17 motor and 1.8° per 5mm round shaft pitch and what is the maximum measurement I can gain to build a cnc.The arduino uno r3 would be controlled from linux or it can also be controlled from windows, can mach 3 be used?Which do you recommend?First of all, Thanks.Greetings from Mexico

I can work for the a4988 chip these motors with these characteristics: General Information This hybrid bipolar stepper motor has a 1.8° stage angle (200 steps/revolution).Each phase draws 500 mA at 10 V, allowing for a torque of 1000 g-cm (14 oz-in).The motor has four color-coded wires terminated with bare wires.Our universal 5mm mounting hub can be used to mount objects onto the 5mm diameter output shaft of the stepper motor.

Specifications Size: 35mm square x 28mm (not including shaft) Weight: 5 oz. (140g) Shaft diameter: 5mm Current rating: 500mA per coil Voltage rating: 10V Wire length: 12in Resistance: 20 Ohm per coil Holding moment: 1000 g-cm (14 oz-in) Steps per revolution: 200

THANK YOU, IT'S EXCELLENT

Hello, thank you very much for uploading this very good project, although I need someone's help, if you know how to fix this error?it happens when i try to load the firmware on the arduino uno

In file included from /usr/share/arduino/hardware/arduino/variants/standard/pins_arduino.h:28:0, from reprap_new_firmware.h:1, from reprap_new_firmware.pde:1: process_string.pde:44:29: error: variable ‘codeTypes’ must be const in order to be put into read-only section by means of ‘__attribute__((progmem))’ process_string.pde:409:29: error: variable ‘octantTbl’ must be const in order to be put into read-only section by means of ‘__attribute__((progmem))’

Hello, I recommend you to use GRBL, which I explain in these videos:

https://www.youtube.com/watch?v=0NEhhZAA8pg

It is better than reprap new firmware

Hello, I am interested in making one and I would like to know if you used a router instead of a dremel or motortool, what type of motor would be recommended to do it with that tool and if you needed a different power source.but also how much would it cost me if possible to make the electronic part 3 Chips A4988 and Arduino UNO

Too bad all this is missing a lot of explanation of how to install the programs I made it work after several days of tests and searches on the web.Any questions write to my email valdesmartin@gmail.com

Good morning, in the case of a four-axis machine, what variant should be made with the arduino board?thanks for your reply.

Hello, no, for 4 axes you need an arduino mega and use another software since the one in the tutorial is only for 3

I love how didactic you make your explanations both here at ikkaro and in your youtube videos, which I have followed in their entirety.

I am making a milling machine similar to yours and your instructions are helping me a lot, but I have a problem: I bought some drivers on ebay by putting a4988 in the search engine and I got these: http://www.geeetech.com/wiki/index. php/StepStick_A4988_Stepper_Driver_Module and now I don't know where the vref pin is to regulate them for my motors as you explain in your videos.Would you know and would you like to help me?

Hi, the Vref pin is the screw itself.Just put the multimeter there

Hi, Ignacio. I'm having an electronic problem. I bought motors that are the same as yours. I put the same A4988 driver in it and when I connect them to 12 V, what the motors do is vibrate. Please help me. This detail disappoints me a bit. I don't know much about this so any help would be of great help to me. Thank you in advance. Your tutorial is very educational.

Hello, try connecting all the grounds together, and if that doesn't work, check that all the connections are correct and the a4988 is correctly regulated.

Thanks brother, I already solved the problem with the motors, now it's bigger haha. Look, I'll tell you, I was trying to generate a g code with inskape, but I couldn't, I have Leonardo and I don't know if it will be compatible with the firmware I use. If you know something, tell me, thank you very much

Hello, excellent post, a great help for all those interested in this topic of CNC and arduino manufacturing.I have some problems, my cnc is finished (physically), and I have started it, but it has a problem, it moves in strange ways, the only thing I could understand that is failing is the DIR signal.Thanks in advance.

Hello, excellent post, a great help for all those interested in this topic of CNC and arduino manufacturing.I have some problems, my cnc is finished (physically), and I have started it, but it has a problem, it moves in strange ways, the only thing I could understand that is failing is the DIR signal.Thanks in advance.:)

I need everything about hardware and software, especially the measurements of the structure….excellent project, congratulations….greetings

I find that what you did is wonderful and I would like to rebuild it ; I can send the measures of the frame ?

Hey friend, what model of stepper motor did you use, how thick is the threaded rod and what is the name of the part you used to join the threaded rod with the motor.If you can answer soon I would appreciate it.postscript what is the model of the pcb board.

Hello Ignacio, how are you?I have a question, I installed GRBL on the Arduino, I already tried the motors and everything works fine, but when it comes to downloading the Txapuzas it says that you have to configure some parameters in the Arduino software, as I do with the GRBL inside or it doesn't have what to see?how do i do it?THANK YOU.

I am currently working on a similar project, only that my system has 8 stepper motors, could you advise me on the type of source, Arduino and driver that I should use?I appreciate any light you can give me.

Hello Ignacio, first of all I want to thank you for the post, and well the reason for my comment is that I tried to use the code but it gives me an error in the prosses_string part in the line of unsigned char codeTypes[21] PROGMEM = { que do?

Hello, how are you? I congratulate you on your excellent work on the cnc milling machine.Now I am interested in the manual that you have here, but by mail.My email is rjlacruz@gmail.com.I would like to receive the entire manual by mail and I don't know how to do it or request it.Greetings Excellent work I congratulate you….

Hello.I am interested in making this CNC, since I find it very interesting.I am writing because I would like to know the approximate size of the CNC and to know if changing the measurements of the CNC would require modifying the Arduino code or not.Thanks in advance for the answer.All the best.

Hello.Men I could not use the txapucnc.Instead I downloaded controlcnc. But the connections ask me for limit switches and I don't know what's up with that.Y. How do I test the engines before mounting them?

Dear Ignacio, sorry to bother you, but I need your help to be able to connect and program 3 l298 drivers with the arduino mega 2560, and tell me what software I can use them with.Thanks a lot.edgardo

I am very interested in your cnc with arduino, I would like to know what reference the motor could have apart from 1.8 angle, in addition to this I would like to ask you if this milling machine with arduino cannot be controlled with Mach3?

Hello Ignacio, I have everything connected and working, all the motors move manually, but when I load a part with inkscape with all the steps you have sent in your video, it gives me an error (Post-processor: Scale factors for X and Y axis are not the same. G02 and G03 codes will be corrupted.) What could it be?You also talk about using pycam, do you have a video tutorial on this?where can i download it?thank you

When starting the GCODE, it sends the G92 function and no longer continues.It doesn't give me the option to stop either.I have to delete the entire installation every time it happens to me.

Sorry, I'm making a cnc and I'm basing myself on your tutorial, could you provide me with the arduino code that you use to control the armed cnc, my email is fer_syke@hotmail.com

Beforehand thank you very much.

Arduino:1.6.5 (Windows 8.1), Board:»Arduino/Genuino Uno»

In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard/pins_arduino.h:28:0, from reprap_new_firmware.h:1, from reprap_new_firmware.ino:1: process_string:44: error: variable ‘codeTypes’ must be const in order to be put into read-only section by means of ‘__attribute__((progmem))’ process_string:409: error: variable ‘octantTbl’ must be const in order to be put into read-only section by means of ‘__attribute__((progmem))’ variable ‘codeTypes’ must be const in order to be put into read-only section by means of ‘__attribute__((progmem))’

This report would have more information with «Show verbose output during compilation» activala desde Archivo > Preferencias

Hello Ignacio Rojas, I have ubuntu 1.4.04 and I can't get prawns to work. I'll leave you my email and I would greatly appreciate your help since it's not very explained.

I have these motors and I would like to know if they can be used to make a not very large milling machine, I have attached information about them.

Spectacular tutorial.I have been searching the internet and I have decided on yours because it is the one with the most complete information.I hope I don't run into problems.I'll tell you!

thanks for the post now me and my colleagues from the robotics degree will manufacture it and I would like to ask if there is an email or face to contact you in case some problems arise and thanks again

great tutorial, excellent help for beginners, thanks and greetings and congratulations for this work, from the most beautiful border of Mexico CD, Juárez Chih.

Good morning, very good job, I'm trying to build a cnc, could you send me the plans since I couldn't download them from yutobe vallejosmmo@yahoo.com.ar thank you very much in advance.

Hello, could someone send me ignacio's email to my email ayohgcnc@hotmail.com because I want to do a cnc and I have doubts.Thank you.

Hello Ignacio, thanks for your videos!!!They have served me a lot.I have a question… what files do you use in the universal program gcode sender?Are they CAD files?Or with which program you create them since I am making a PCB plate drilling machine and I don't know how to enter the design of a plate to be drilled.

I AM VERY INTERESTED IN THE SUBJECT, ONLY THAT I DON'T KNOW WHERE I CAN FIND THE MATERIAL TO START ASSEMBLY A CNC RAUTER

Hello, good day. What is the pitch of the threaded bar?

Hello, good day. What is the pitch of the threaded bar?Jd@José damas.com

Hello.I'm thinking of making a cnc, could you talk to me through this email so I can have yours in case I have any questions at ayohgcnc@hotmail.com.Thank you.

How can you get ignacio's email or wassap?

Please help me with the following:

In the compilation of the Firmware program I get the following:

Arduino:1.6.8 Hourly Build 2016/02/12 12:41 (Windows 7), Board:»Arduino/Genuino Uno»

Changed compile options, rebuilding everything In file included from C:\arduino-nightly-windows (1)\arduino-nightly\hardware\arduino\avr\cores\arduino/Arduino.h:28:0,

from sketch\reprap_new_firmware.ino.cpp:1:

process_string:44: error: variable ‘codeTypes’ must be const in order to be put into read-only section by means of ‘__attribute__((progmem))’

process_string:409: error: variable ‘octantTbl’ must be const in order to be put into read-only section by means of ‘__attribute__((progmem))’

unsigned char octantTbl[19] PROGMEM = {4 | 5 < Preferences.

PLEASE HELP ME IT GIVES ME THAT ERROR AND I THINK IT IS IN THE FORMAT, I HOPE FOR YOUR HELP AS SOON AS POSSIBLE.

I have a Prusa it3 printer and I would like to convert it to CNC, I am not very sure how to adapt the printer to the fryer, would it be worth changing the prose head plate and placing a dremel on it, for example?Or should I do many more modifications?a greeting

Hello you have to add const to the variable of the file process_string.ino

unsigned const char codeTypes[21] PROGMEM

with this it is solved.

Hello, how are you all? I have been reading all your comments, they are all very good, even the slightest doubt is good. I will comment to see if you can help me. I have a three-axis cutter that I want to change the system of because it is a bit Everything is good for it, but I can't communicate it with the computer since the system that was used at that time was type i, which is like a language or texts type jim i, that's why I want to change the control.They say that they help, every comment is good, I would appreciate it.

A cordial greeting to all I hope you can help me I want to change the control to my machine the detail is that I don't know much about this, thank you and I congratulate you for each comment you have made and especially to the teacher who started this a great greeting.

Hi Ignacio, I have a question… I did the whole project just like the tutorial, except that I have an Arduino Mega.The question is…does the firmware work or do I have to modify some value?I connect all the electronics, but the Arduino does not send any type of signal through the ports configured to control the Pololu

Thank you very much in advance, Mariano

Hello friends, as a personal project I have tried to follow the steps in the post but I have some problems with the software part, could any of you help me

Hello how are you, excellent work, I love it. I have a question, is it capable of cutting mdf?Since I've only seen them draw pictures...

hello!I want to know if it is possible to use any software in WIDOWS and if, instead of obtaining the Gcode with the program, it is not the same as obtaining it from MasterCam?

good morning eng.nacho camaro.I am a student at the utcam university in southwestern mexico.I am doing my internship in a company which has a cnc that is out of service.which I want to reactivate but I would like you to assist me with a model.Any contact for communication.please

I am a student at the utcam university of the southwest of the mexican republic.I am doing my professional practices in a company which has a cnc similar to this only that I need advice for a model.Any contact so someone can explain it to me and I can send you the photos of the machine tool I want to work on.Thank you, I look forward to your quick answers.

friend I want to make a cnc to assemble my own PCB, something simple 20cm x 20 cm what kind of motor do I need would this model work

Mini SG90 Micro Servo 9g Operating Speed: 0.12 seconds / 60 degrees (4.8V no load) Stall Torque (4.8V): 17.5 oz/in (1kg/cm) Operating Voltage: 3.0V – 7.2 I would really be very grateful

Hello.I wanted to know if this router works for me: http://mla-s1-p.mlstatic.com/fresadora-router-skil-1100w-13accesorios-ferreteria-vazquez-859421-MLA20790200036_062016-F.jpg or do I need one of a larger size? guy?greetings

hello good job.From what software do you make the code for the arduino and I think a firmware is necessary for it, where can I get it.REGARDS!!

Hello, I know that the arduino only allows you to output voltage up to 12V, but when I want to make a super CNC with motors with more voltage, such as 24V or 110V, how do I do it?

Hello, I am testing the sketch that you provide for Arduino and it does not compile, I get the following error:

In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard/pins_arduino.h:28:0, from reprap_new_firmware.h:1, from reprap_new_firmware.ino:1: process_string.ino:44:29: error: variable ‘codeTypes’ must be const in order to be put into read-only section by means of ‘__attribute__((progmem))’ process_string.ino:409:29: error: variable ‘octantTbl’ must be const in order to be put into read-only section by means of ‘__attribute__((progmem))’ Error de compilación

The Arduino IDE version is 1.6.1 and the Arduino is an Arduino Uno even though I can't even dump it, it's when I verify that the error pops up.

Fixed!Sorry for the unnecessary comment!

Hello mister, God bless your good faith because you can't imagine how important this project is to me. I am a milling cutter and I love this job. I can't sleep thinking about this project, depending on the motors you used, I would like them a little stronger or a little more big please help me with this and what type of card should i use that is good my name is pascual god bless my brother

Dear, I need to manufacture a machine with a 3 or 4-axis router to make volume wooden models.

Hello, this page is great, I am Cuban and I am starting to build a cnc, the problem is that I have gotten different motors, a couple of EM-323 and EM-326 for Epson lx 300 printers, I need to know if these work for me, I also got an em-297 dl type 17pm-k017-p15 ASTROSYM, this one looks good and another round nmb em-299, I would like you to help me, the motors are not so easy to find here and I really liked the idea of ​​the CNC.It would be helpful if you could tell me if you have the necessary strength.My email is yosdanyg@uclv.cu

HELLO FRIEND IT IS A PLEASURE TO HAVE FOUND A PAGE WHERE TO LEARN TO BUILD A CNC.I AM COMPLETELY NEW ON THE SUBJECT, THEREFORE I ASK YOU FOR GUIDELINES, WHERE TO DOWNLOAD THE SOFWARE TO MANAGE THE ARDUINO AND OTHERS THANKS ALREADY OSCAR

Bldc Servo Congratulations from Mexico, I am an electronics fan, and I would really like to make this cnc, but I don't know anything about Arduino, what can I start with?Thanks a lot