Introduction: Lego CNC/3D Printer/plotter
Anyway, I'll be updating this instructable as I make more progress on it. It won't be entirely done by the time the competition ends, but you should at least able to build the machine and control the axis (axii?)
There are 747 pieces total. The only non-Lego part is the drill bit.
Basic requirements:
- 2 lego NXT sets along with 4 touch sensors
- Various other lego parts, specifically the gear-track pieces and worm gears, and probably more
- A computer with LDD, or Lego Digital Designer
- A drill bit to sacrifice
- Some green floral foam
- A little bit of time
Anyway, on to the first step!
Step 1: Creating the Parts From the LDD Files
There are 4 parts total:
- base
- Y axis
- X axis
- Z axis
Step 2: Wiring!
So, from here on out, I'll be referencing the two NXT "brains" as nxt1, and nxt2. I actually named the devices the same to not get them confused.
nxt2:
- Motor A: Long cable to the motor on the X axis that drives the drill piece. (Note, that in the model, the drill is replaced by a lego piece) This is the side opposite the gear-track side.
- Motor B: Medium cable to the motor on the base that is sitting on its side. If you are facing the side with the motors, it is the motor on the left.
- Motor C: Medium cable to the motor on the base that is sitting on its side. If you are facing the side with the motors, it is the motor on the left.
- Motor A: Long cable to the motor on the X axis that drives, well, the X axis. This is the one on the side of the worm gear, and is closer to the gear-track side.
- Motor B: Short cable connected to Y motor in center of base part.
- Sensor Port 1: Medium cable connected to touch sensor on the Z axis. This is the one on the right side if you are facing the x axis motor or the motors on the base.
- Sensor Port 2: Medium cable connected to the other touch sensor on the Z axis.
- Sensor Port 3: Medium cable connected to the touch sensor on the far side of the base.
- Sensor Port 4: Short cable connected to the closer of the two touch sensors on the base.
Step 3: The End?
Yay, now that you have the machine built, it's time to control it. Unfortunately, I don't really have much right now. I have attached two programs, both in Java, written in netbeans, that use lejos (http://lejos.sourceforge.net/). Basically, the one for the computer controls it, and the the one for the device has a few functions like auto calibrating the X and Y axis, and manually calibrating the Z axis, but it mostly just accepts commands from the computer program. These were both only test programs.
I'm currently trying to write more advanced software, but I don't have the time to do it all before the competition ends, so I will be updating this accordingly.
Please vote for my contest entry, as I know I can do some pretty awesome things with a 3d printer. Thanks if you've already voted!

Participated in the
Robot Challenge

Participated in the
Make It Real Challenge
13 Comments
5 years ago
Hi, Do you have a full part list for this build? I'd love to try and make it if I have the right pieces!!
9 years ago on Introduction
this is great
9 years ago on Introduction
Awesome
11 years ago on Introduction
Legos +decrease robotics = awesome
Reply 9 years ago on Introduction
Agreed
Reply 11 years ago on Introduction
Haha, I yes. I love the mindstorms because they give you the ability to program your legos. Very awesome indeed.
Reply 11 years ago on Introduction
Stupid word completion. Nix "decrease"!!
9 years ago on Introduction
Can u just program and post the program files in a comment?
9 years ago
Is there a way to print or cut a smartworks drawing yet?
11 years ago on Introduction
have you found a way to print/cut a file yet?
Reply 11 years ago on Introduction
I won't be able to work on it for about a month more. I was working on making the software understand gcode when I last messed with it. It's still in one piece, though. One thing I did manage to discover was that I need to find a better way to put the material on the bed. Also, I'm currently building a reprap prusa mendel, and I'll be able to use some parts from that to change this from a cnc to a 3d printer, which was it's original design.
11 years ago on Introduction
This is a really neat idea. Can you include any information on installing the programs and running them, along with your results? I'd be interested to see.
Reply 11 years ago on Introduction
They are not installable. They are the netbeans source files for the test programs I could write before I left. You have to compile them and run them with lejos. The programs are more fore testing it, and the instructable is more about the model. So there are no real results to show, because I don't have a program to show them.