Showing posts with label tool. Show all posts
Showing posts with label tool. Show all posts

Thursday, September 8, 2022

A4 home-made Laser Engraver firmware update Grbl 0.9 to Grbl 1.1h

 A few year ago I've build a Laser Engraver out of a an old scanner and an old printer.

This laser engraver it's based on grbl (https://github.com/gnea/grbl) version 0.9. I would like to update the software I use for engraving, moving to the new version of LaserGRBL (https://lasergrbl.com/).

You can find my blog post about this scanner here: http://davidegironi.blogspot.com/2015/12/a-diy-a4-laser-engraver-made-from.html

LaserGRBL software is really easy to use, also it has the SVG to G-Code function, that makes the print process really easy.

Warning! Laser diodes drive are emitting visible and invisible laser radiation and they are extremely dangerous! Their light can permanently damage the eyes. You must never look into the working diode even without the lens or point it on a reflective surface. Laser beam can cause burns or fire. This is usually a Class IIIb laser. Everything you do at your own risk.

I'm updating to grbl 1.1h. You can find releases hex in the grbl page, unluckily in order to use grbl for a 2 axis laser engraver like mine, you have to recompile the grbl binary, making some changes to the config.h file.

You have to change the homing procedure. Just edit the config.h file commenting out the following lines

//#define HOMING_CYCLE_0 (1<<Z_AXIS)                // REQUIRED: First move Z to clear workspace.
//#define HOMING_CYCLE_1 ((1<<X_AXIS)|(1<<Y_AXIS))  // OPTIONAL: Then move X,Y at the same time.

then add the two lines below:

#define HOMING_CYCLE_0 (1<<X_AXIS)  // COREXY COMPATIBLE: First home X
#define HOMING_CYCLE_1 (1<<Y_AXIS)  // COREXY COMPATIBLE: Then home Y

Also, if you like me do not have a variable power laser driver, you should comment out the following line in order to disable the variable spindle capabilities

//#define VARIABLE_SPINDLE

Now, just follow the Compiling Grbl instructions you can find here: https://github.com/gnea/grbl/wiki/Compiling-Grbl. Eventually you can upload the generated firmware to your hardware.

It's a simple process, but to make things easyer for you can find my compiled hex below, it's compiled for Arduino Micro board with ATmega328.

Now you should be able to use your grbl software.

First thing you have to do is update the default grbl settings, I'm using the one below. Please note that you have to compute at least your motor/mm steps to update the settings. You can find instruction on my blog post linked above, or searching on the web for this.

Just for sake of information, find below my grbl settings:

$21 = 1         (hard limits, bool)
$22 = 1         (homing cycle, bool)
$23 = 3         (homing dir invert mask:00000011)
$27 = 5.000     (homing pull-off, mm)
$100 = 37.975   (x, step/mm)
$101 = 94.956   (y, step/mm)
$110 = 100.000  (x max rate, mm/min)
$111 = 100.000  (y max rate, mm/min)
$130 = 212.500  (x max travel, mm)
$131 = 274.400  (y max travel, mm)

Last but not least, in order to use LaserGRBL on an engraver without the laser PWM modulation (i.e. VARIABLE_SPINDLE disabled), you have update the software settings disabling the "Support PWM" checkbox.

Done, you should now be able to engrave your SVG files.

Notes

  • read risk disclaimer
  • excuse my bad english

Monday, August 3, 2020

Homemade PCB Cutting Machine


Here i present you my homemade PCB Cutting Machine.
It's a simple DIY project to build, there are just a few key points to watch out for.

This Cutting Machine it's based on a drill 12V DC motor. I've a broken electric drill, that's the donor of the motor. My motor is a ZG-RS550S-12V.



Then the inkjet printer sliding mechanism, once again something broken you can find without problem.
The sliding mechanism need to be prepared to make the motor fit on the ink sled.

I've buy the motor bracket and the motor adaptor, and of course the circular blade.
As for the circular blade mine it's a 50mm diamond plated steel disc used for Dremel. I've found that this kind of blade works better on PCB than saw blade with teeth like the ones for wood.


Then we need the piece of wood that will be base of our machine. We need to saw away the line where the cutting blade will slide in.

The key point now is to assembly all the pieces in such a way that is all perpendicular, that will affect the 90 degrees cutting that we want on our PCB. As you notice on my Cutting machine I've used big screw to mount the sliding mechanism, the hole that I've drill on the mechanism it's a bit larger then the screw, this way i can arrange the mechanism horizontally and vertically.



I've tried it with PCB up to 2mm without problem.

The PWM board it's a 6..90V, 15A.
A switch is attached in order to enable the PWM board, or to skip it and give the motor the full speed.

Notes
  • read risk disclaimer
  • excuse my bad english