Author Options:

is there anyway to make a 3d printer work with arduino uno i just want to control the 4 stepper motors any sketch?

10 Replies

mpilchfamily (author)2013-06-14

It can be done but requires some reworking of the commonly used controller boards. Otherwise the controller boards are wanting access to more pins then the uno can offer. But those are for added sensors and limit switches so your prints are easier set up and you can monitor the status of the whole system like the temp of the extruder head. But once you eliminate those sort of things and remove those from teh code then the sketch should be small enough to fit on the Uno.

But if all you want to do is play around with 4 motors then you can get motor controllers for each individual motor and connect it all up to the uno. The sketch you'll use depends on what your objectives are for this project.

oso1993 (author)mpilchfamily2013-06-15

thanks alot mpilchfamily (L)
the proplem is that i am a beginner with all that stuff i can't seem to handle the programing of g code with the arduino i want to know the signals that the g code send through the usb port and i can make an electric controller for it can u tell me what are the signals that g code send ?

mpilchfamily (author)oso19932013-06-15

If you really want to make this happen then learn how to program the Arduino and understand how that all works. Then you will be able to go into the sketch for the arduino that handles the work and cut it down so it will work with the Uno and fit in the Uno's memory. No need to reinvent the wheel. Just adapt it for a different vehicle.

If you want to start simple then look at the Arduino Forums for the Egg Bot. It only uses a servo and 1 stepper but it runs easily on the uno and should help you get a better understanding of how everything works.

oso1993 (author)mpilchfamily2013-06-16

Thanks alot mpilchfamily all i am thinking in right now is how g code send signals from the laptop ! if any one have any knowlodge about that i would be really thankfull

mpilchfamily (author)oso19932013-06-16

G code doesn't send signals from the laptop. A program breaks the STL or other cad file into g-code which is sent to the controller to be executed. The g-code is a list of instructions that tell the controllers which motors to move, how far and how fast to move them.

This should help.

oso1993 (author)mpilchfamily2013-06-16

yes i do understand this but the g code still has to be signals to be send via usb , If i know those signals i would do a program to make them controll the 4 motors and do external circuit for controlling the other stuff

mpilchfamily (author)oso19932013-06-16

Once again get familiar with arduino code. Then look at the code used to run other 3D printers and you'll see how they handle everything. Then you can adapt it to your needs.

oso1993 (author)mpilchfamily2013-06-17

i am doing this at the moment thanks very much :)

oso1993 (author)mpilchfamily2013-06-16

again i am tottaly thankfull that u understand that i am a tottaly beginner :)