![]() Z steps/mm is more or less a guesstimate, and would need fine tuning. X steps/mm and Y steps/mm are based on relative accurate measurements.This is needed because Gravograph VXM uses active low signals. Step port and direction port invert masks are 7 (i.e.Probably higher frequency pulsing would be possible. This is based on the z pulse, as it was slower than X and Y pulses. Step pulse and step idle delay are derived from the waveform captured with the logic analyzer.This may change, for instance Z values are not measured very accurately yet and may be off. Below is a list of the current config I’m using. There are quite a lot of values in the configuration that can’t be kept at the default value. The red one is connected to the probe pin and the blue one to the ground.Īfter the physical connection comes the next step, configuring Grbl. Also two alligator clips are wired to be used for probing. This makes sure the Arduino is powered also when no USB device is connected to it. The power input for the Arduino comes from the power connector of the Gravograph VXM. I know it’s a mess, I will need to build a proper connector… The pins are just connected to appropriate pin in the control cable, following the scheme below: From the input pins, just limit switches are connected to the Gravograph. There is no control in Gravograph VXM for spindle direction, stepper enable/disable, or coolant enable. (If the Grbl wiki changes or disappears, here’s a copy of the image showing the correct pin layout:) For Grbl 1.1 with variable spindle disabled, the pin order is the same as in Grbl 0.9. Note that this also changes the pin order on the Arduino, so you can’t use the image in the Grbl 1.1 wiki as reference. Should become: //# define VARIABLE_SPINDLE // Default enabled. Disabling this requires modifying one source line in config.h (note that this should be the version that’s copied to Arduino library in your user directory when installing Grbl, not the original): # define VARIABLE_SPINDLE // Default enabled. In Grbl v1.1, the PWM spindle control is enabled by default. However, Gravograph VXM doesn’t have variable-speed spindle, but the signal is simple enable for spindle motor. Grbl is almost perfect fit for my needs right out of the box. So I bought a cheap Arduino Uno clone and started to hook it up to the engraving machine. It is a g-code processor running on Arduino, capable of receiving g-code from a computer via USB cable and controlling various stepper motors with the g-code. ![]() Raspberry Pi would require some additional hardware for logic level conversion, as it’s using 3.3 V logic.Īfter some googling around, I found Grbl. Gravograph VXM uses 5 V logic voltage, so Arduino is a better fit for that. Now it’s time to replace the original computer with something more modern.īasically the options are Raspberry Pi or Arduino. In the previous post I figured out the control signals for Gravograph VXM. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |