loading

arduino cnc laser enrgaver from dvd drive

by:Lxshow     2020-04-04
Hello everyone, how is this project?
Today, I\'m going to show you how I made a laser engraver with an old DvD drive.
Before we start, I have to say that it is easier and possibly cheaper to buy the same from China due to most of my projects (Ali or Amazon)
The reason for doing it yourself is a production process.
First of all, we need two CD drives CD or DVD-doesn\'t matter.
We are interested in brackets with stepping motors, rails and laser diodes, removing the last bracket and all optical elements.
These sliders will be your x and y axis and we have to fix them vertically.
How to do this-
It\'s all up to you.
I have an aluminum corner of about 1 m and a piece of acrylic glass that I used to make the base and lift the y axis on the small bolts.
Fix the x-axis on the aluminum angle and the 3d printing bracket.
Also, it is good to make rubber feet for the base.
I use the 3d printer again to save time.
Next up is the laser, if you take a dvd rw drive you can use the laser diode in this project, just make a simple drive and I also have a video about it.
I want to use one.
The 5 w 445nm laser module I made in this video.
Of course, for a long time, we need to cool the laser, and for the DVD, just a small piece of aluminum is enough, but in my case, I need to actively cool.
I printed this Holder to put the laser diode with the drive on the radiator and had 50mm fun because the air came out only from the bottom and I solved the smoke extraction problem on the carved surface.
This project must have laser protection glasses for only a few dollars-
Don\'t save money for your health.
500 mw-laser
Or 500 mw Amazon laser 445nm-
Or 150 mw Amazon laser-
Or I have Arduino nano in my brain (Ali or Amazon)
In addition, we also need two drive A4988 drivers for stepping motors (Ali or Amazon)
, MOSFET IRFZ44N (Ali or Amazon)
, Coupling resistance 47 ohms and 10 k (Ali or Amazon).
The power supply for the motor and laser is 12 v, at least 3Amp (Ali or Amazon)
Arduino power-
Via usb, I think the circuit is very simple, but if you have any questions --
Please feel free to ask.
The most attentive of you may notice this radiator, the fact is, a li-
About 4 V, the ion battery of sooo. . .
This is the buck DC of the lm317 from 12 v to 4 v, and of course, it is very heated at 700 mA current.
I put everything on the breadboard but forgot to film it so let\'s see how I welded it to the breadboard.
The MOSFET does not need a radiator and should be cold.
We need to upload firmware before adjusting, I use GRBL 1.
1, go to this site and download it, we just need a \"grbl\" folder to add to the zip archive.
Then go sketch in Arduino IDE-
Including LibraryAdd .
ZIP Library, then select the \"grbl\" archive we just made.
Then open an example called \"grbl Upload\" and upload it to arduino boar.
You also need a software to send a G-
I tried some of these codes, the best for me is \"laser GRBL\", select com port with arduino and speed 115200, connect and send to get from the motherboard
Back in the electronics field, we need to set the correct current for the stepping motor, then connect it, plug the 12 v power supply, arduino into the PC, and measure the voltage on the fine-tuning potentiometer, you can calculate it with this formula: Vref = current limit * 8*0,100 = current limit/1, 25 but since we do not know the correct current of our motor, it is set to about 250 mV, connect the motor.
One of them heated too much so I lowered it to 130 mV and the second one was used to lose the step and I raised the voltage to 350 mV.
These 3 pins of the drive are resolution (step size)
Selector input, connect it to, but keep in mind that one of my stepping motors can\'t work 16 steps and I only use 8 steps.
At the same time, in this setting, try to use these arrows to move the axis from the laser GRBL software to get the emergency stop button with lightning.
The next step is the program setup, connect the sculptor to the PC and send two $, you will get a list of the parameters stored in arduino memory, we have 30-
Max laser PWM, this value on arduino pin d11 is 5 v, you can keep this parameter the same but I changed it to 256, is done by sending such a command $30 = 256. 32 -
In laser mode, you need to send \"1\" here, same as the previous paragraph, $32 = 100-
How many steps should the motor go 1mm along the x axis, 101-
Same with the y axis, the two parameters have to be calculated, but you need to know the spacing of the motor shaft, or draw something
Measure the real size of the result and change the parameters.
Line 130 and line 131
The maximum size along the x-axis and y-axis is about 35mm, respectively, depending on the drive.
In order to set the focus that needs to be turned on for the laser, you need to send M3 S250 and G1 X0 S25 F50 for this, which will start the laser at 10% power.
The last important point is that we have no limit on the shaft, and the position of the motor when it turns on the power supply will be set to zero coordinates, so, before the electric sculptor, you need to set the axis to the maximum position, pull out-
The largest Y and X on the right.
Image upload is very simple, just select a file, it is OK
Code, or simple picture in jpeg, png or mp.
This is all I got today, please share it on your social media if you like it, it\'s really helpful.
Also watch my YouTube channel!
See you next time!
Custom message
Chat Online 编辑模式下无法使用
Leave Your Message inputting...