loading

How would I go about making an Arduino control four Lego motors for a 3D printer?

I am trying to make a Cartesian 3D printer out of Legos
I have the printer almost done.
It is time to start thinking about how I am going to control it.
The RepRap uses the Arduino, I believe, although I'm probably wrong.
I have an Arduino Mega
The motors are RCX geared motors.
They are powering a few worm gears, and all the setups I have are so far identical.
I have, or will when this is finished, X,Y, and Z axes, as well as a filament feeder.
I could just adjust the values of some already present software. This is probably the easiest solution.
If worst comes to worst, I can replace the Lego motors with some sort of servos.
So i guess my question is: where can i get 3D printer control software for an Arduino?
And also, what random things do you know that could be helpful to this project? all comments welcome
Thanks.

Jayefuu7 years ago
> The RepRap uses the Arduino, I believe, although I'm probably wrong. I have an Arduino Mega

That is correct, it uses an arduino varient called "Sanguino". I've read somewhere it's possible to use a Mega instead, I can't remember the compromise you have to make to do this, though a search of the reprap site would find it no doubt.

> So i guess my question is: where can i get 3D printer control software for an Arduino?

There's LOADS of code on the reprap site.


+1.

The lego motors are DC motors iirc, and the reprap expects steppers.  You would basically be starting from scratch (except for the arduino) and need to use regular steppers for any degree of accuracy.