HadleyRille

Forum Replies Created

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • in reply to: Best Workflow #1656
    HadleyRille
    Member

    Great idea putting it into the firmware! Seems to me that it would be pretty straightforward for standard linear moves (G0 and G1). Just look for a direction change between movement commands and insert a backlash takeup step there.

    If you have an arc with a direction change in it, break it into two arcs with a backlash takeup move in the middle.

    in reply to: Best Workflow #1654
    HadleyRille
    Member

    I didn’t modify the mill’s leadscrews. The X and Y each have about .5mm backlash. I measured it very precisely and compensate for it in software. Specifically, it’s in my g-code generator script, but it could be added to Riley’s g-code streamer.

    What I do is keep track of what direction the last movement was per axis, and if the next movement command is a direction reverse, take up the backlash before continuing.

    in reply to: Best Workflow #1648
    HadleyRille
    Member

    As you see from the video, the GRBLshield will work with a fairly large mill, but it really is pushing it. While those aren’t the largest motors that I could run with those driver chips, they’re close. They’re 1.7 amp motors from here:
    http://www.phidgets.com/products.php?category=23&product_id=3308
    As you see from the video, I’m trying to get extra torque by running at relatively high voltage (27V). If I were doing it again, I might go a little closer to the current limit with these:
    http://www.phidgets.com/products.php?category=23&product_id=3307
    I was worried about thermal load on the chips, but with the fans going it seems to work just fine.

    I made all of the motor bracketry myself using the mill in manual mode. The x and y axes had tapped holes available that looked like they were meant for mounting a power feed, so I attached to those. Since I still wanted to use the handles, I machined extension shafts that bolted on to the pulleys and attached the handles to those.

    The belts and pulleys are pretty standard 1/5″ pitch timing belts. I used to build a lot of motion control equipment and had a bunch lying around, but you can get them from Stock Drive Products:
    https://sdp-si.com/eStore/

    The power supply came from Jameco.com. The fans and switches came from recycling obsolete equipment, and the case I mounted it all in is an old hard drive enclosure.

    The down side of all of this is that it can’t run very fast. The time lapse shots in the video of the mill cutting are sped up 20x. I suspect it would run a bit faster than that, but I was being a little conservative since I didn’t want to ruin a piece with a motor stall. To get it to run faster, I’d have to use bigger, torquier motors, but that would have bigger torquier drivers and much higher cost.

    I’m looking forward to seeing Riley’s python control program. Gctrl works, but leaves a lot to be desired. I started writing one too, but it wasn’t done in time for my video and I’ve put it on hold now that i got all of those brackets finished. My program does some nice things like estimating total program execution time, and stripping out comments from the g-code (since comments make g-code much easier to read, but GRBL chokes on a g-code command that includes a comment). You’re welcome to have any of it (or my path plotting code ) if it is of any use.

    in reply to: Best Workflow #1646
    HadleyRille
    Member

    Yes, feel free to post it. I’ve been working on it mostly over weekends for the last month or so.

    I probably would have bought a mini-g for this if it was available, but since it’s not ready yet, I thought the GRBLshield would be fun to try. It’s really neat, thanks for making it!

    BTW, I’m going to admit that my message above shows that I’m an idiot and didn’t carefully read the OP’s message. He’s already using gctrl and is looking for something better.

    in reply to: Best Workflow #1644
    HadleyRille
    Member

    There is a Processing sketch that I’ve been using. It’s available here:
    https://github.com/damellis/gctrl

    I made a little video about my workflow:

    in reply to: Getting motors to turn. #1801
    HadleyRille
    Member

    The led not lighting up during movement sounds like a good indication that the pots aren’t set right. If I set the current pot all the way down it doesn’t light up at all. The board uses PWM to modulate current, and I think you’ve got the duty cycle set all the way down to zero. Back driving the motor causes the led to light up on my board, so that makes me think it’s hooked up right. Try setting the current pot in the middle of the range.

    Don’t worry about the red color of the LED, that’s the color that they’re making them now. The LED lights up when one of the phases of the motor is energized I think. I see mine flash at a rate proportional to the step rate.

    If you’re sure the motor is hooked up correctly and the current pot is not at zero, then I don’t know what the problem could be.

    in reply to: Getting motors to turn. #1798
    HadleyRille
    Member

    That should be enough. I tested mine with a similar supply. If the blue light is coming on and you’re able to send commands that get acknowledged with an “ok”, then the problem is in the motors or how they’re connected.

    Are you sure you have the motor connected properly? With a two phase bipolar motor, you should connect one phase to the first two pins and the other to the next two. If you have one phase reversed, the motor might run rough or not turn at all, but you’ll definitely hear it trying.

    It’s also possible the current adjustment pots are turned all the way down. If that were the case, you wouldn’t get any movement either. Issue a long movement command like “G0 X1000” and try turning up the current until the motor starts turning.

    Finding the sweet spot for the current pots for my motors was the trickiest thing for my setup. I don’t have any good way to measure how much current was being delivered, and had to do it by trial and error.

    in reply to: Excuse the newbie question #1617
    HadleyRille
    Member

    I stumbled across this:
    https://github.com/damellis/gctrl
    It’s a Processing sketch that acts as a interface to grbl. One of it’s functions is streaming G-code. It works on my OSX -> grblshield setup.

    in reply to: Software improvements? #1575
    HadleyRille
    Member

    Ah, I see two others have asked for exactly the same thing over there! I’ll see about chiming in with a hearty “Me too. What he said.”

    Thanks!

    in reply to: heatsink? #1748
    HadleyRille
    Member

    Got my motors. They’re actually 1.7A/phase. They are very torquey and run smoothly. I’m running them from a 20v power supply, but intend to switch to a 27v 11A supply soon. I haven’t run them for a long time yet, maybe 40 second runs. The chips get warm, but aren’t shutting down, and this is with no cooling at all. Looking good.

    in reply to: heatsink? #1747
    HadleyRille
    Member

    Thank you. I should have my motors in a week or so and will report back.

    in reply to: heatsink? #1745
    HadleyRille
    Member

    I have a similar question. I’m going to try to drive three 1.4A motors, and expect that it’s going to generate some heat. I have read the cooling section on the page linked above.

    I saw the images of the massive heatsink for the mini-g that attaches to the bottom of the board. It looks like I could machine a modest heatsink that could attach to the bottom of the board in the space between the Arduino and the grblshield. I could make a bigger heatsink by standing up the grblshield with a set of shield stacking headers. I could make a pretty big heatsink that contacts the driver cases on the top of the board where there is lots of space, but i imagine heat transfer through the epoxy case won’t be as good as if the sink was on the bottom. Whatever I end up with, it’s easy enough to mount a fan to keep air moving over it.

    What do you recommend?

    Thanks!
    -John

Viewing 12 posts - 1 through 12 (of 12 total)