Dan
Forum Replies Created
-
AuthorPosts
-
DanKeymaster
To use GRBL software you must install GRBL firmware on arduino.
https://github.com/grbl/grbl/wiki/Flashing-Grbl-to-an-Arduino
DanKeymasterDo you want to write Gcode to send to GRBL? https://en.wikipedia.org/wiki/G-code
Do you want to recreate GRBL? Why reinvent the wheel?
DanKeymastermake sure newline is a chosen setting in the serial window, and the baud rate is correct. without newline hitting send or enter does nothing.
DanKeymasterYou may need to check which axis is the slowest and adjust all speeds accordingly.
What if two motors pulse at the same time and the second motor has a shorter dt?
DanKeymastera/b/c – which one gets divided first?
DanKeymasterI have just updated the master branch of the code to include fixes.
Earlier versions of arduino IDE had no problem compiling because they were less strict.
Later versions are not quite so forgiving.DanKeymaster1. motor driver power input screw terminals
2. Rev 3 and R3 are the same thing. Other 12v stepper motors will work.
3. I don’t understand this question. The code only deals with electronic design, not mechanical design.DanKeymasterI only have Yosemite (10.10.5) on a Macbook Pro.
DanKeymasterIt is actively maintained. I answer as fast as you post.
Please suggest how I should diagnose/fix something that seems to happen only on your computer.
DanKeymasterHi! Anything not behaving as it did in the video is cause for concern. I meant it when I said it’s supposed to be easy. We test every unit before it ships.
What was your order number, please?
Do you have any screenshots of what “the screen did not alter to look anything like my set up like it did in the video” – what happened instead?
Can you please DM me a clear picture of your machine? If there has been damage in shipping or a loose wire, we’d know what to look for.
DanKeymasterthe video in question: https://www.youtube.com/watch?v=orPiPpaeN3E
Brian, yes. I just updated the processing code to print the order of the nails. If you have N nails,
Nail N0.00 is east.
Nail N0.25 is north.
Nail N0.75 is south.You will want to change in the code….
numberOfPoints (number of nails)
totalLinesToDraw (how many times to wrap around a nail and make a new string)Also at the top of setup() near line 49 you will see
img = loadImage(“2016-05-08 greek woman.JPG”);
change the part in the quotes with your jpg file. On the very next line it says
size(1336,1000);
the 1336 should be your image width * 2, and 1000 should be your image height.
Be sure to pause the code while it running, the output window only holds about 500 lines and (by default) the demo generates 3000 lines. So 2500 fly off the screen unless you pause and copy them to a text file.
Share your results with us, please!
DanKeymasterJose, you have good ideas I’ve considered. I didn’t pop up a reminder because I felt it was annoying. Long time regenerating pictures is exactly the reason I didn’t make it automatic. I have not found a happy middle.
DanKeymasterThe current M5 pen holder is a laser cut variation on a thingiverse model: http://www.thingiverse.com/thing:798076
ymmv.DanKeymasterare you running the latest firmware and arduino? I’ve seen and fixed this in the past. The code should work but Arduino IDE is being very picky here, so I massaged the code to make Arduino happy.
DanKeymasterHi Stephanie, sorry for the delay. Motors should get hot because current is flowing through the coils.
if it doesn’t then it’s probably not connected. V1 has better support than V2.DanKeymasterI can’t help with “initiate the scanning”.
If you know the limits of your machine x=[0…a] y=[0…b] then you can do two loops
for(int x=0;x<a;x+=step_size_x) { for(int y=0;y<b;y+=step_size_y) { send("G01 X"+x+" Y"+y); readField(x,y); } }
which should move the machine through all possible coordinates at the step_size that you want (the resolution).
I would then plot circles on the paper where the diameter of the circle is the field strength in that location, with possibly a cutoff value (so that you don’t draw lots of tiny dots in weak areas)
DanKeymasterno picture. imgur link?
DanKeymasterI have not found the footage. I’ll have to film it again next week.
DanKeymasterWe’ve done repeatability tests in the past. I don’t have the documentation on the results. I remember we filmed it. If I can’t find the footage I’ll make a new video.
Many other specs for the machine can be found on the product page, in the “features” section.
DanKeymasterOur RUMBA boards work great and they’re fully supported. Don’t forget to buy two a4988 drivers – motors won’t move without them.
DanKeymasterThe speed is already pretty close to maximum.
See, the AMS1 uses a shift register and two L293D chips. What that means is if you want to make a single step you have to digitalWrite() at least 16 times, plus if() tests. FOR ONE STEP.
The AMS2 uses i2c, which is arguably worse for single steps. A whole library of code has to run to package a message and deliver it to the right shield address, which is then unpacked and processed by the AMS2 board.
Now you might be asking “why not step more than once?” Great question. First, it makes no difference for the AMS1. Second, IF the AMS2 shield could guarantee that both motors finish their moves at the same time THEN that would work. In testing they do NOT make this guarantee and I have found no way to make it happen in the code. So multi-stepping will not make straight lines on the AMS2.
Long story short the AMS1 and AMS2 are already at their maximum. That’s why the Makelangelo 3 & 5 uses a much faster board that can drive many motors – when you get all that you can out of the project you can recycle the board to make a 3D printer, meaning less parts go to waste. A bit more expensive at the start but it saves you money and helps the planet in the long run, I hope. If you get a MEGA + RAMPS board it will cost you the same as our RUMBA board.
Does that help?
DanKeymasterAaah… actually, you can re-load the image file and it will take the new values. if you create gcode A, change settings, and then create gcode B for the same image with the same settings, A != B and A will be unchanged.
If you can think of a good way to make this more obvious, let me know. I will add it to the program so nobody else trips over my less-than-perfect code.
DanKeymasterAdafruit Motor Shield 2 is not officially supported. I can’t think of any reason off the top of my head why it wouldn’t work.
Do you get any jog at all? Can you raise/lower the servo?
DanKeymasterYou must save to the gcode (.ngc) format. Does that help?
DanKeymasterDoes it lift/lower at all while drawing?
-
AuthorPosts