author

misan

108
Inbox View Profile
1Instructables183,062Views338CommentsValencia, Spain

Tell us about yourself!

Achievements

100+ Comments Earned a bronze medal
10K+ Views Earned a bronze medal
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    Caro Claudio,Io non parlo molto bene l'italianoSome grbl configuration parameters control de maximum speed of the axis. If they are too low, you can see that a given file is plotted much slower. On the other hand, a given gcode file can be created with a plotting speed that can be low too. Try increasing $130 and $131 to speed up your plotting ...

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    Glad you managed to get it working!

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    Hi,I had the Inkscape plugin working on the Mac. Please note there are dependencies. I do not remember the installation details. Same applies to Torsten's.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    https://www.pololu.com/product/1182

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    There is not a single value, it depends on the stepper motors and the sensing resistor on the driver board (not all are the same). It usually goes from 0.4 to 0.8V if you need a reference though.

    COREXY mode is not enabled. Check your firmware.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    the microstepping is relevant to the scale of the print. It is not related to Vref.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    microstepping sets how many discrete stops can make the motor between two full steps. Higher microstepping means less vibration and smoother shaft motion.Vref sets motor torque, the amount of force the shaft is able to overcome.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    Vref sets the current through the coils. Microstepping just creates a special combination between the current through each coil.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    Resolution configuration depends no only on the microstepping but also on the motor's resolution and on the toothed pulleys you use. My value is 80 for 16 microstepping. Assuming yours is similar try 160 for 1/32, but double check with a ruler!Try the stepper calculator in here: https://blog.prusaprinters.org/calculator_3416/

    Hot motors are not an issue unless they warp the plastic parts supporting them :-)You can reduce the current sent to the motors with the small potentiometer on the driver boards.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    Make sure the machine balances well before doing a complete build. I have not tested that configuration, but apparently it is working for some other users that asked the same before.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    I am not sure how you enter the drawing into Inkscape. If you just draw a box in Inkscape it should draw it as a single line box. But if you scan it from an Image (or convert a regular font into lines) you may notice there is always an outer and inner line bordering any stroke. You may want to find software for center-line scanning, that will only create a single line for a stroke instead of two.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    If it works ok with some and badly with other software I guess it is a configuration issue. Plotting too fast might be a problem, but a sound mechanical system with a properly tensioned belt always helps.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    Ok then. No need to change Arduino code. BT is just a cable replacement. So try to get it with another Arduino using examples like this file:///C:/Users/Pc/Downloads/arduino-bluetooth-basic-tutorial-d8b737.html

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    I still do not understand what point you are at. Did it work when using USB connection? I am not sure I can help you with the details, many things can go wrong.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    Is the BT board configured to work a 115200 bps? Does it work if you connect using the USB port?

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    Uploading Arduino code is a bit more complex than just the serial connection. What I did mention is that I used the BT connection to operate GRBL wirelessly (but not to upload code wirelessly). If you want to do the latter, you may want to check my blog: http://fightpc.blogspot.com/2020/04/uploading-code-to-your-arduino-board.html

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    You can config the maximum travel for each axis, so it will stop before hitting the end. $130 and $131. A more detailed table: http://www.diymachining.com/downloads/GRBL_Settings_Pocket_Guide_Rev_B.pdf

    Have a look at this https://create.arduino.cc/projecthub/mayooghgirish/arduino-bluetooth-basic-tutorial-d8b737

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    So glad you liked it!

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    I would go with the A4988.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    https://www.luisllamas.es/conectar-arduino-por-bluetooth-con-los-modulos-hc-05-o-hc-06/No necesitas cambios en el software pero si tienes que configurar el módulo BT para que trabaje a 115200 bps.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    Hi,A3 is 420x297mm. Rod_length =desired_travel + carriage_width+ length_of_supported_ends So you should add around 100 mm extra to your desired travel, so for A3 rods should be around 520 and 400 mm approx. Please note I have not tested that size to balance properly, so be prepared to some bumps.

    You will need to change the max travel of X & Y axis https://github.com/gnea/grbl/wiki/Grbl-v1.1-Configuration#130-131-132--xyz-max-travel-mmA3-2 will be the best choice, but extra weight in the base or some other changes might be needed to keep it balanced when the penholder is farther away from the horizontal rods. You tell me.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    double-check motor drivers and motor connectors are firmly pressed. If you have some spare motor drivers, try replaced them to see if there is a change.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    Now it looks like it is loaded ok. You seem to be using the latest build of UGS but the recommended firmware is quite old and it might not work well with that, try an older, stable, UGS version.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    It looks as if you did not upload GRBL properly to the Arduino UNO. https://arduinoboardproject.com/en/how-to-install-grbl-on-arduino-uno-with-the-arduino-ide-software/

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    No change is needed in the firmware. BT is a cable replacement technology.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    I guess you mean the extension to use 4xidraw from inkscape: https://github.com/bullestock/4xidraw

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    Try to check each individual component: shield, driver, motor, wiring, and power supply.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    Z is not used. Servo is used instead.

    According to your picture it did move. Check with "?" the current location. If it does not move I guess there is a hardware problem.

    Meaningful parameters are detailed in Step 5.

    Yes you can

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    This is the one I am using: https://github.com/misan/grbl-servo

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    Hi, Sure, you can use the EBB board and it should work just fine. Then you can use all the software tools for the original AxiDraw from Evil Mad Scientist!They now have a smaller pen plotter in kit form too.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    Sure, no problem. The license allows commercial use.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    Both commands will give you ok as a response. But the have to move the servo from one angle to another. If not, there is something wrong with your servo and/or wiring.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    Make sure servo is wired correctly. it should make a small sound when you power it up.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    Make sure servo is wired correctly. it should make a small sound when you power it up.

    Make sure servo is wired correctly. it should make a small sound when you power it up.

    Do you get response to the M3 S0 / M3 S40 commands from the servo? if not double check wiring or try with a spare servo.

    Have you placed the jumpers below the stepper drivers (3x for each stepper driver)?Servo should react to M3 S0 / M3 S40 commands. If not there is a firmware problem. Are you using the linked firmware?

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    Have you installed the jumpers below the stepper drivers? Microstepping makes most of the vibration go away.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    The 45 degrees thing suggests you do not have COREXY enabled in your firmware. The servo not working might as well happen because you are not using the linked firmware. Regular GRBL does not handle a servo.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    try these instructions https://www.youtube.com/watch?v=EGtOpx6qgsU

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    Sure, something like this can work https://www.pololu.com/product/1182

    you may want to make the "default" state of your pen to be "up" whenever you power the machine. Alternatively, you can include an pen_up command at the beginning of any drawing file.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    those would be 100

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    $110 % $111 grbl parameters control the maximum feedrate on X & Y axes. No matter what the gcode says, these values cannot be exceeded. You can change yours.Maybe you have a scale problem (not sure about the crash). Plus you may need to change the home location (to undo the mirroring) but it may be simpler to just flip the image on Inkscape before plotting.

    Home location is where your 0,0 location is.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    Make sure motors are connected correctly. If not they will rattle and not move. Each coil is to be connected to outputs 1 and 2 or 3 and 4(but a coil from 1 to 3 or from 2 to 4 is not good)

    View Instructable »
  • misan commented on misan's instructable 4xiDraw
    4xiDraw

    When motors vibrate but do not rotate it can be because something is blocking them (maybe the carriage is at the end of the travel) or because they do not have enough force (you need to increase the motor current using the tiny potentiometer in the driver). None of that should be related to the use of a particular operating system though. A broken (damaged) driver may cause the motor to vibrate no matter the current level you adjust and the only solution to this problem is to replace it for a new [known-good] one.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    You can use this program https://github.com/gwygonik/SquiggleDraw

    You'll need to download Processing runtime https://processing.org/From that URL you have access to tutorials too. If you are not computer savvy, get the help of a friend who were.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    Remember to enable COREXY if using a new firmware.

    You may want to upgrade your firmware and use https://github.com/gnea/grbl/wiki/Grbl-v1.1-Laser-Mode

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    I do not think that would work.

    Hi,It can be tricky at times: you can play with $3=6 (dir port invert mask:00000110) different values will invert the X & Y motors (but given we use corexy here it is not as simple). Posible values are 0,1,2 & 3. If none of these work ok, then you will need to swap the stepper motor cables and try again till you find the suitable combination.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    It looks ok, now as I told you, you may need to try different combinations (inverting motors connector and/or swaping motors from one driver to another) till you get the right one.

    Yes it is but with corexy a single axis motion will move the two motors :-(

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    Not an easy answer. Each motor can be wired in different ways, plus different users chose a different home location, so my advice is to select one at random, try inverting each motor connector to see if you get the right home, if not, switch motors and try again. Not more than 7 tries would lead you to the right combination.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    You have a section view from the top below that shows the belt path.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    Glad you like it! It seems you've got it working quite well!

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    Please note the plugin has dependencies. That means it relies on other plugins to be installed too. These are plotink and pyserial and eggbot_hatch.py from the EggBot extensions for InkscapeIf you have not properly installed the plugin then it will not work. Simplest way to restore GRBL state is to press reset (location will be set to 0,0,0 though).

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    I never had this problem. I do not know where that is coming from. That command serves no purpose here and it is not understood by GRBL.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    I do not know what M80 is either nor why you have that on your g-code file.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    I am afraid you may need some help from a friendly python user:https://learn.adafruit.com/arduino-lesson-17-email-sending-movement-detector/installing-python-and-pyserialhttps://boardgamegeek.com/thread/604014/installing-extensions

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    It sounds as if you stepper drivers do not have enough current to make the motors move. They have a small.potentiometer to adjust the current try adjusting it so see if some motion happens.

    I guess the support libraries for the plugin are not found. Similar to when a binary is not in the search path. Have you tried Torsten's plugin?You could modify sys.path to add the location of your libraries but that would require changes in the plugin code.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    I did this as a test. My plan was to modify Torsten's Inkscape plug-in to print via wifi but I have never found the time so far ;-)

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    To address this type of question I have created this new version (now used in vertical form): https://www.thingiverse.com/thing:3251840

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    Hi,I did not use endstops for the X&Y axis, which means I need to home it by hand before switch it on and connecting it to the computer. GRBL firmware can handle the endstops but then you need to add that to the configuration and connect the actual endstops should you choose to go that path.The scale is affected by several factors (number of teeth on the pulleys, number of steps per revolution of your motors, etc). You have to set parameters $100 and $101 to set the scale of each axis if the current value is not ok. All I can say is a larger number will make the axis move a longer distance. More info in this calculator https://www.prusaprinters.org/calculator/

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    Hi Maxime,I guess you mean Polou drivers (aka StepSticks) these are the electronics that drive the stepper motors commanded by the Arduino board. These are plugged in the CNC shield that goes on top of the Arduino UNO. You can buy them in your favourite electronics shop (not sure where you are located) or just on eBay (for example https://www.ebay.com/itm/RepRap-StepStick-Pololu-A4988-stepper-driver-for-Sanguinololu-Arduino-Mega-RAMPS/281182048802 )

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    I do not think so. GRBL code is already at the capacity limit of the Arduino Uno and it does not support such hardware.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    That is expected. M3 S<number> should move the servo up and down (by changing the number, which is machine dependent and you need to figure it out). M5 would disable the servo.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    That depends on the size of your smooth rods. Mine can barely reach an A4 sheet (not square but rectangular area). I am not sure this is mechanism is a good fit for an automated chess board.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    Hi Hugh,I had some leftover rods from a 3D printer that gave a drawing envelop close to s letter page size so I used what at have available.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    Hi throwawaytipper,That was an instructable on itself!Thanks for a detailed write up that I am sure will help other users.

    Hi girishrajg,I am afraid I failed to answer your question on time :-(You can invert motor's rotation till you get it right https://github.com/gnea/grbl/wiki/Grbl-v1.1-Config... Origin location will move in the process though

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    L'estensione ha bisogno di:1) che hai installato correttamente pyserial2) che puoi localizzare la scheda Arduino nel tuo sistema

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    Have a look at how they wire it here: https://www.instructables.com/Controlling-LED-with-Android-phone-via-BLE-Bluetoo/

    View Instructable »
  • misan followed IgorF2
      • Joy Robot (Robô Da Alegria) - Open Source 3D Printed, Arduino Powered Robot!
      • IoT Air Freshener (with NodeMCU, Arduino, IFTTT and Adafruit.io)
      • Glass Mounted Hanging Cat Bed
  • misan commented on misan's instructable 4xiDraw

    What I did was to use a couple of plastic bands to keep the wires as you can see in this video https://youtu.be/xPq4ciNnNnw I cut these plastic bands from a plastic folder. They help keep the wires away from the motion of the carriage and prevent any strong bending that could break the wires over time.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    Great write up, I am sure it will help other users facing similar problems. Thanks a lot for your contribution AlexD303.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    Hi,I reckon Torsten's extension is the way to in terms of easy to use. It does require you instal pyserial, but other than that it is working great in my computer. M80 is an indication you are not using the code I linked https://github.com/misan/laser-gcode-exporter-inkscape-plugin/blob/master/turnkeylaser.py#L127 but maybe the original.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    I have no idea how that can happen.

    you can upload your video to youtube and send me a link like this message

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    There is an inkscape plugin I have not used but I have linked that would allow you to do that.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    The belts have teeth so they cannot slip unless there is no tension at all on the belt system. I think your problem may be the motor is skipping steps, maybe this motor needs a bit more current to overcome the force needed to move the carriage. Check that both carriagwes move smoothly.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    I guess so, but the current pen carriage is not suitable for that. A redesign would be needed (though you may use a single servo with three positions; left pen down, all pens up, right pen down). Sounds interesting.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    You can change config parameters using Arduino's Serial Monitor.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    I can't say with the available information. Is your power supply working?

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    most common cause of servo not working is incorrect wiring.

    View Instructable »
  • misan commented on misan's instructable 4xiDraw

    We are talking about regulated power supplies that have a small (<100mV ripple). I have not tested a non-regulated power supply bit it might work.

    Arduino power jack

    yes

    View Instructable »