Forum Replies Created
-
AuthorPosts
-
cmcgrath5035Moderator
Alden Have a look at the other active Ox thread
Chmr provides a good summary of the construction.
cmcgrath5035Moderatorchmr – You know the Ox design well. Thanks for comments. I’ll agree with your characterization “nifty idea with unwanted side effects”.
Rhino – When I play with CLI moves, I keep these in my head:
G0 moves are at max velocity
G1 moves are at F velocity
G2 and G3 moves are arcs, I don’t try them from CLISo, from a tiny G reset with the Z above the work surface, which sets current position at (0,0,0) , you could do
G1 Z10 F20
G1 Z0
G1 Z10 F40
G1 Z0
etc., incrementing velocity (Fxx) until it starts to misbehave.From where do you get the 50mm/min slow start velocity value? From tgFX? That velocity display is tgFX diplaying the status messages returning from tinyG, which are the results of the 3rd order calculation tinyG is doing. Not clear why this would be happening, your parameters seem reasonable (jerk, Vmax). If this persists, perhaps cut your $[xyz]vm and rerun, as an experiment.
Electro-mechanical considerations:
Z motor making any strange noises? Have you tried a run with current pots maxed out? You’ll need more torque from Z motor to move spindle up down with 8mm/rev speed.Are the Z motor to lead screw coupling set screws good and tight?
cmcgrath5035ModeratorProgrammer – that is really up to you.
Boot Loaders get the job done, when the base platform works….If you are into creative thinking on Atmel based platforms, then maybe a good idea,
It appears to me you might be into some creative platform coding; then debugging is likely in your future.
Disclaimer: I have not used this debugging platform, have no idea how “essential” it might be.
cmcgrath5035ModeratorI don’t have any other great debug ideas. Perhaps Alden will.
Do you have a Atmel programmer?
You could try re flashing tinyG, to see if that function works.
There no obvious reason that should help in this case, but if the re flash does not verify, that might be another indicator of failure.You could level shift the Due to 5V, or you could fiddle with the tinyG level shifting resistors per post 6801.
BTW, should you get up and running again, I would expect XonXoff flow control to work with the serial interface. Running with no flow control likely not good for Gcode runs.
Good hunting
cmcgrath5035ModeratorHave a quick look at this item
Due is 3.3V or 5V TX RX? If 3.3V, you might have to do some level shifter adjustments.
But, not being able to boot, or I presume run via USB sort of implies more dramatic events. Do you still see good 3.3V on board? The tinyG Schematics are HERE:
Poke around a bit (carefully) with a DVM. My 50% gut thinks you likely fried tinyG, “When the lights aren’t on, nobody’s home…” Maybe U7 (3.3V regulator) has died?
You might also want to peruse the G2 Wiki, perhaps that approach will better match what you want to achieve?
cmcgrath5035ModeratorThanks for the comments, chmr. Hopefully Rhino will be able to report better results after a couple tweaks to parameters.
Chmr has more experience than do I, so I use this set of good information (in Rhino’s dropbox set) to pose a somewhat philosophical question:
Why compromise the torque gain one gets by using NEMA23 motors with large pulley diameters? There seems to be a bias toward speed of movement, rather than using the available torque to better control the spindle mass. And if precision is important to the end user, this 60mm/revolution machine is about half as accurate as a Shapeoko, at 36.54mm/revolution. There is no right or wrong here, and for light duty jobs (laser, 3D printer) these might be more optimal choice.
Likewise, the use of a “fast” lead screw on Z significantly reduces torque available to control the up/down motion of the spindle. Of course, choice of spindle is a free parameter in this situation.
There is not right or wrong answer here, more philosophy.Rhino: How did you create the Dropbox URL that you posted? Specifically, how does one get the ‘skin’ that allows switching between ‘list’ view and ‘thumbnail’ view? This is a very effective way to share information on issues such as this, given the limitations of the forum tool we have.
Cheers
cmcgrath5035ModeratorNice Dropbox data set.
I am not familiar with Ox, have only see the pictures on web site.
My initial reaction was that Z axis is ‘different’ (than Shapeoko).
Why do they use a 400 step per revolution motor? Just curious.
What really caught my eye was the Z movement – 16mm/rev.
A Shapeoko with ACME screw is 2.11 mm/rev. From the Pics, Ox looks like a direct drive to screw as well. Are you sure about 16mm/rev?X and Y axis travel / rev sort of high too, 60mm/rev vs 36.54 mm here.
NEMA23 motors on X and Y? X and Y velocities are high, but GCode may have a lower F speed.Might also help if you added your Gcode file to the Dropbox for a look-see.
Can you describe ‘squirly’ Z : can’t keep up, lags, intermittent, ??
Did you try to run the job ‘in air’ above the work, spindle off, just to remove machining load?
cmcgrath5035ModeratorAn additional suggestion, since you use tgFX.
Only one application; Coolterm, tgFX, avrdude can be attached to your USB port connecting to tinyG.Earlier versions of tgFX had an issue of not exiting cleanly if you did not first disconnect from the USB port. The GUI would terminate but a tgFX process would remain running (as seen in Task Manager). If you get a ‘can’t connect to port’ error from avrdude (or CoolTerm), check Task Manager and kill the tgFX process, or just pull out the USB cable and reinsert it.
cmcgrath5035ModeratorInteresting question – where to obtain avrdude for Windows.
I run avrdude from Linux, where it is part of my distribution, have never looked on the Win side.Here is what I **think** will work for you.
This is the suggested link from the Synthetos wikiAs you say, you will see two folders and three files listed.
Select the file avr_tools.zip; you will now see details about the file avr_tools.zip, including it’s size, 42685.501 kb.
Select the highlighted “View RAW”, which should trigger a download of the file to your PC. A popup should open, asking what should be done, the default being save the file avr_tools.zip to your default download location.On your computer, you should see avr_tools.zip in your default download location, with a size of 40.7MB.
Open the zip archive with whatever archive tool tool you have installed.
You should find the file avrdude.exe 501.3KB in the directory tools/avr/bin in the archive display. Extract avrdude.exe to a folder of your choice, perhaps something like c:\tinyG_tools. Or, put it in the same folder that you unpacked tgFX into. Also extract the file tools/avr/etc/avrdude.conf 537 KB from the zip archive to the same directory. I **believe** you only need to extract these two files from the zip if all you want is avrdude.Open a command window (‘DOS window’), CD c:\tinyG_tools.
Running avrdude.exe from the command line, with no parameters, should display a list of all the configuration options and parameters, a help display.
If avrdude complains about not finding configuration file, try running ‘avrdude -C avrdude.conf’.Follow the Synthetos wiki for the flashing parameters.
If this does not work for you, open a new thread, “Subject: Need help with avrdude on Win64”, a more experienced Widows user will hopefully stop by.
- This reply was modified 10 years, 4 months ago by cmcgrath5035.
cmcgrath5035ModeratorI’m actually a bit surprised that a set screw being that loose resulted in such a small, therefor hard to detect, error. Perhaps it was on one of the Y motors, leaving the other to do most of the work?
Anyway, good find.Your use of the term ‘pocket’ leads me to think you are milling a 2.5D job of some sort.
Perhaps now is the time to upgrade your machine to the latest tinyG FW, 438.02 if not already, I have lost track of where you are at.
While the differences between 435.10 and 438.02 are minor, they were changes to fix machine dynamics when Gcode calls for very short moves. Many 2.5D code generators seem to be outputting code with move increments at or below the minimum capability of the machine. TinyG seeks to accumulate such short moves until a physical move can be made, there were some bugs up thru 438.02.
BEWARE- Loading new FW will reset all your configs, you will have to re-enter. Make sure you have a copy of where you are at.This forum tool is tough on images and long files. What we suggest is to set up a dropbox or equivalent clould sharing account. put images, configuration files and Gcode examples in files, and post here a URL.
And, very long threads become difficult to look back into as well.
Since you seem to be more or less up and running now , with all your screws tight ( 🙂 ), I suggest start a new topic, with new Subject that refocuses on more specific issues.And now perhaps an opportunity to address your CAMBAM post processor question. I don’t use CAMBAM, so don’t have specific suggestions, but here are some fundamentals that the post processor might address.
1. Configure to use arcs – Gcode G2 and G3 commands. Work well with tinyG.
2. Use reasonable precision – tinyG will keep track of line segment requests down to 0.08mm and arc segments down to 0.10mm. not much point in requesting a 1.0001 mm move.
3. Do the math and understand the fundamentals of your setup, specifically the minimum moves that it can make in the X,Y and Z directions. The minimum move a stepper can make is a microstep. The number of steps per revolution is a physical parameter of you motor. The number of microsteps is programmable, [1,2,4,8]. Pulley diameter and belt pitch determine the travel per revolution. From all those parameters, compute travel per microstep in each direction. You will find these to be larger than the tinyG minimums for a typical NEMA23 machine. It is then a personal preference how precise you have your Gcode generated. Maybe 2x, meaning that if a microstep is 0.2 mm, generate Gcode with 0.1mm accuracy. Super accurate Gcode will run, but it will be a much larger file, will take longer for tinyG to interpret (i.e. slow the machine sometimes) and won’t deliver any additional accuracy in the final job, because of the machine fundamentals.Enjoy
cmcgrath5035ModeratorSounds like some progress.
First, why is $tr for X different than $tr for Y ? Different drive pulleys?
$1tr=39.5
$2tr=39.75
$3tr=39.75I would expect these to yield a slightly squashed circle (a.k.a. an oval)
You are not the first to type GOX10 rather than G0X10, I still do it all the time.
I have also noticed that some commands, such as an M30 at the end of a run leaves tinyG in JSON mode. The first text command entered will change tinyG mode but not execute the command.
I have gotten in the habit of just entering G0[return] to make sure tinyG is in text mode, then entering G0X10, etc.Any chance the Z axis is binding due to alignment or ?? If it is, you will likely hear a buzz or groan from the motor. Perhaps loosen the fasteners a bit.
cmcgrath5035ModeratorAlex
The number of bytes written , 117,552, seems reasonableDo you have vi adding the line numbers?
They should not be part of the file.Here are the last four lines of the file as I see it (Linux, kate editor)
:10CB04002E31660025302E32660025302E33660025 :10CB140025302E34660025302E35660025302E361D :0CCB2400660025302E37660025660000F4 :00000001FF
Same hex, no line numbers
cmcgrath5035ModeratorCool find!
I took a quick look (not a Python guru) – it appears to me, as I would expect, the Python code is generating G code and sending to GRBL.
The serial port (on the PC running the Python Code) connects to the GRBL.
To run this with a tinyG, you would specify a USB interface.I did not look deep enough to see how it accepts input from you as to where you want the object to go, what I saw quickly were some ‘test’ routines(pre defined movements).
I’d suggest you try to get this 3 wire bot running, then decide where to go next.
As stated above, the 4th axis will be a rotational axis rather than linear, but that is just math.
To succeed here, you have to do some Python code (or work in another similar language.cmcgrath5035ModeratorFlow Control – Pick one, both work.
You should not have to reset.
Do you have limit switches enabled?
Disable them for now.Is $ej still = 0 (text mode) ?
cmcgrath5035ModeratorJuwalla
Additional suggestionstgFX – the currently available version, build 3525, has issues with its download/update functionality. I suggest you try FW update using avrdude instead, or just stick with what you have. The changes implemented in the latest tinyG edge version, 438.02, are minor and will not affect your getting the basic functionality up and running.
GUI – if you really miss GUI functionality, you can start to read up on Chilipeppr at
But Chilipeppr at the moment lacks GUI support for parameter setup/configuration, so I highly recommend you get comfortable with Coolterm and text mode setup. JSON works too, but the syntax is a bit fussy unless you are fluent.
Flow Control – tinyG will work with Xon/Xoff or RTS/CTS. I’d suggest stick with Xon/Xoff as long as tgFX is out of the picture.
Shapeoko – Until very recently, Shapeoko was synonymous with NEMA 17s. I believe they have recently formalized a version with NEMA 23s. When you see reference to ShapeOko in Synthetos documentation, think NEMA 17. NEMA 23s are used by lots of folks, but the end user (you) has to make the necessary configuration modifications. Similarly, ACME Z axis is a popular upgrade, but you must adjust the configuration accordingly.
-
AuthorPosts