In this project we use Arduino as a router, laser engraver and 3d printer using the same frame just as wiring will be different.
Moust of the shares I bought from this website. Sorry that I could not post a video with 3D print, during testing head 3d pen broke. But I made a video with a pen to see the cnc work.
Step 1: The Frame
The frame is constructed of rectangular 15x15 mm, height being 275 mm, width 375 mm and length of 345mm.
Must take into account all inbinarile be 90 degrees, for if these are not the y axis will not work properly and will lock and can not do the whole race. All pipes must be cut accurately. Round 8 mm pipes to be installed in four holes at 125mm from below. On 8 mm round pipe will introduce two pieces of 8mm round pipe inside. On pieces of pipe 8mm x axis will weld nuts and under them two 5 mm. All details are displayed in pictures. After the pieces were welded cleaned of rust and paint.
Step 2: X ,Y and Z Axes
X axis I used a sheet of aluminum sheet, which we prinso a track that uses the drawers with rivets.
I through a 8mm nut on the board and used a bolt of 8 mm to 250 mm in length and have the engine screw with a special couple.
Y-axis the same principle we used only the z axis I used a belt .
Seeks images for more information.
Step 3: Mounting the Motor and Hack
I used 28byj-48 5V motor first need to hack, disassemble the blue cap
and cut the red wire, because we will not use.On circuit board, we see the connection between coils, scratchthe board as I did and now we have Two Phase stepper motor.
Step 4: Load the Code to Arduino
I used Xloader to flash GRBL to arduino. I have uploaded zipped folder
of setup of Xloader below. Install if required and open software. Select the COM port of your arduino and select its model I mean UNO,Mega,Nano etc. Under file choose the .hex file I attached below and then click on upload. Your arduino's tx and rx pins would start blinking and it would be uploaded. Download GRBL controller from random websites , see on zapmaker and install it on your computer keep in mind the operating system of yours,I mean 32 bit or 64 bit either mac os or linux.It will run on a vanilla Arduino (Duemillanove/Uno) as long as it sports an Atmega 328.
Step 5: Electronics Schematic for Router Cnc
Step 6: Electronics Schematic for 3d Printer
The wiring is the same like cnc router but we must Hacking The 3D Pen ,here is a cheap 3d pen to buy.
The 3D Pen has 3 (or more) controllers. The primary controls are
thickness, forward extrustion, and backward extrusion. It would be nice to automatically control all of them, but the one that is almost a necessity to control is the forward extrusion. This button pushes the filament out of the hot-end, an action which is required for 3D printing. What we need to do is create a circuit connected to the forward extrusion button that will allow us to use an Arduino to simulate pressing it. So let’s start taking apart the 3D pen to get at the button. Here are the basic steps to dissasembling the Pen: Unscrew and remove the back plateDisconnect the wiring to the top power jack/motor insert.Unscrew top section and pry off the power jack/motor insert.Remove the slide button by pushing it down away from the pen.Remove the metal side button bar.Unscrew the filament tube holder.Lift up on top end of filament tube and main board and pull out.Pry off hot end/nozzle.Once that’s done, you should see the forward extrusion button. It should have 4 leads coming out of it, one at each corner. We want to test to see which combination of leads trigger the motor. Before we can do this, however, we need to reconnect some parts: the hot end/nozle and the wiring to the power jack/motor insert. With those two items reconnected, you can power up the 3D pen. Once the heating element light is green, take a 1k Ohm resistor and touch one end to one of the leads, and the other end to another lead. Test each lead until you hear the extrusion motor start to spin. Once you’ve found a correct combination of button leads, the next step is to solder a wire to each lead. The leads are very tiny, so be careful not to use too much solder and end up getting solder all over components that you shouldn’t.
Before re-assembing everything back together, touch the wires together
using a 1k Ohm resistor to make sure that everything works and is soldered properly.
The sofware to use is Grbl Controller ,to control the 3D pen, toggle the “spindle on” checkbox.
Step 7: Electronics Schematic for Laser Engraver
What you need for engraver:
The machine is controlled by an Arduino Uno running grbl, and I'm using
Universal Gcode Sender to stream gcode commands. To actually turn vector images into gcode, I'm using Inkscape with the gcodetools plugin. I used the spindle direction pin to turn the laser on and off, since that was easy to do with gcodetools.
SAFETY WARNING - Please Be Safe When Using lasers. The Laser Used in
this machine of can cause permanent eyesight damage, and probably Even blindness. When working with powerful lasers (> 5 mW), always wear a pair of laser safety glasses designed to block your laser's wavelength.