Forum Replies Created
-
AuthorPosts
-
cmcgrath5035Moderator
Resend your message to https://www.synthetos.com/contact-us/
I don’t recall seeing it, but I don’t deal with the return aspects so may have deleted my copy.
It may have been missed by the right folks.cmcgrath5035ModeratorWHat I am suggesting is that you determine what tool(s) you choose to use for Gcode generation, with particular focus on what the Gcode strategy does to control laser on/off and intensity. Then evaluate if tinyG can be coaxed to turn the Gcode into necessary/usable results.
For tinyG to adjust laser intensity using PWM, for example, the generated Gcode would have to vary the SPindle S (speed) parameter in order to vary intensity via Pulse Width modification.cmcgrath5035ModeratorDo you have CoolTerm available?
Does it talk to tinyG?cmcgrath5035ModeratorYes, tinyG can control a laser but it is an open question for you – is it right for your tool chain, specifically Gcode generator and required laser control.
What is it you want to cut/engrave? Metal, plastic, ?cmcgrath5035Moderatorw.r.t. Chilipeppr support for microsteps = 32.
I assume you want to manually set your drivers for $_mi=32, but need to inform G2core of the setting so the right number of pulses come out.I’ll further assume that you want the tinyG config widget to do the $_mi=32 setting for you. It was the developers intent that the next generation of that widget would be able to determine what the setting option were, by observing the response to a $$ command, for example. I don’t think that was ever implemented. G2core now has numerous options that are not supported by the config menus that are hard coded. Tackling a comprehensive redo could have a much deeper bottom than you realize.
To test $_mi=32, simply go the the CP serial console and enter the command $_mi=32, _ is the motor number. CP does not do anything with the mi value, aside from sending it to tinyG or G2core, so you could also compile it in.
Also be aware that microstepping is achieved with a phase relationship tweak. There is some loss of holding torque when microstepping. For deep info, read the TI 8825 data sheet.
cmcgrath5035ModeratorStudy your diagram again.
Hint: Bipolar Parallel Connections
Blue/Wht and Red/Wht to A+(A1)
Blue and Red to A- (A2)etc
cmcgrath5035ModeratorThe tinyG FW is natively interfacing with a serial I/O bus via on chip UART that “happens” to be connected to the FTDI USB to serial converter at the front end. It is possible to bypass the FTDI and wire-or a logic level Tx/Rx pair directly to the UART. One must of course be mindful of 3.3V logic interfacing.
Zootalaws has implemented a Bt link which bypasses the USB and others a while back were using small wifi dongles to do the same. This is not a typical connection, but connection point are available on most versions of tinyG, you may need to solder in header pins. Schematics for all versions are here:
https://github.com/synthetos/TinyG/tree/master/hardware/v8schematics.
There are a lot of folks interfacing to tinyG using a RasPi micro, USB and both CNC.js and Chilipeppr, both SPJS and the full CP web application running well on a RasPi3.Zootalaws has already posed the key question – what are your constraints and what are you seeking to achieve?
cmcgrath5035ModeratorFailures of this sort are reported very infrequently here, but of course stuff happens. Good show, resoldering devices is not an easy task but the FTDI device is one of the easier ones, I suppose.
For someone drawn here by Search Engines, a few tid bits.
For the tinyG application, the FTDI device is powered by the tinyG 3.3V logic power bus, not power available from the USB cable via the host connection.
Schematic page is here: https://github.com/synthetos/TinyG/blob/master/hardware/v8schematics/v8h/tinyGv8h%20-%20schematic%20page1.pdf
The FTDI device should be considered ‘hardware’ in this application, its operation is not affected by the sanity or running status of tinyG FW. The device converts the serial bit stream delivered over the USB bus to a logic level serial input to the UART function on the Atmel microcontroller which is running tinyG FW.
From the schematic, you can see that the Tx and Rx activity LEDs are controlled by the FTDI device, not tinyG FW running on the Atmex.What caused this event is anyone’s guess, could simply be a device failure, could have been a cold solder issue with the original device, could be a foreign voltage on the USB bus, or numerous other causes.
- This reply was modified 6 years, 10 months ago by cmcgrath5035.
cmcgrath5035ModeratorSome related questions have come in in the past.
I had to use Google to search them out (“delta robot tinyG”
Some links:
https://groups.google.com/forum/#!topic/deltabot/Lig0Pao7eIsDated, and not G2core centric but perhaps directionally helpful.
A variant down this path would likely be significant; most of the hackers/creators on similar projects hang out and ask questions here:
https://github.com/synthetos/g2/issues
You might want to add a URL to a similar machine if one exists to better calibrate readers as to what you have in mind.cmcgrath5035ModeratorIssues – as you can probably tell, the GitHub issues serves as an interface to discuss anomalies that may result in trackable Bugs.
Many of the repeat posters you see are product developers who have proprietary clones of the DUE core machine or are developing new products that will use the new G2core all-in-one boards.cmcgrath5035ModeratorI am considering to switch from a grbl based system with integrated motor drivers to a Arduino Due with Tiny G2core firmware, because I can then use external drivers (read: closed loop).
I assume you mean closed loop drivers; there is no easy way to close loop back thru G2core
Now in researching github and the forums, it seems, that there is very little development going on and there is not a synthetos‘ own board available that lets you use external drivers which would make it easier to get support officially from synthetos.
Not very visible yet; two boards are under development (4 drivers and 5 drivers) as well as FW enhancements/extensions for 3D Printing.
Have a look at https://github.com/synthetos/g2/issues , where alot of early adopters and partners hang out with the developers.You mentioned an Ox Forum – where there are people using g2core and can report on functionality or stability? Where is that forum? When I go the the OpenBuilds forum and search for TinyG, G2 or g2core, nothing comes up!
Have a look here https://plus.google.com/communities/110852928951643236736
I agree, searching for stuff using Google + can be difficultI have read every single page in the g2 wiki, but they still leave some questions open, e.g. it is mentioned that the Due/the processor has no eepro storage there is no persistence of settings, so, how does everybody store the machine setting? Do they always re-compile the firmware and flash it, once they have the need to change a setting?
Folks have developed their own strategies. I have relatively stable parameters, so simply built a settings file for my system and recompiled those to be the defaults. You mention Chilipeppr below; it has an ability to download commands (parameter settings) when SPJS first connects. There are some python scripts floating about as well.
I am also looking around, what may be the best way to send gcode to such a setup (chilipeppr is one option I know) – a simple minimal GUI with a few buttons like performing jogging, homing and loading/sending a gcode file would be sufficient.
You can give CNC.js a look too, somewhat simpler than Chilipeppr
If there is anyone around here, that can provide some tipps or a link to the above mentioned forum – many thanks!
Bring back anything else you find, a lot of folks are developing under the covers.
Good luck
cmcgrath5035ModeratorI would go ahead and contact the spindle sellers at
contact us by bigbangamazon@yahoo.com this email
so you know what sort of switch or relay is need to control the Powersupply.
A relay such as Zootalaws has, perhaps an SSR, would likely do the trick.
Were you measuring AC or DC scale? The typical first stage of a buck converter is L1 and L2 into a full wave bridge. Perhaps you are measuring the rectified input.cmcgrath5035ModeratorThanks for the links. Most Ox builders use a 30 tooth 2 mm pitch system, $_tr=60mm, so that is what I am familiar seeing.
But obviously this work too.
Interesting stuff in makerstore.ccX axis confirms what I suspected.
I’ll wait to hear on the switch leads.
I suppose it could be an opto-isolator, with perhaps one end grounded.
Or, a really I suppose.
But that would require an active “switch”.cmcgrath5035ModeratorI check the continuity between the screw head of the Ymin connector and the bottom of the PCB with an ohmmeter, which I did and I got a reading of 3 ohms. I then check the continuity of the bottom of the board all the way to the switch and there was continuity their also.
When you ran this test, was the wire lead connected to the terminal?
You might want to recheck if not.When using small gauge stranded hookup wire, frequently one of the super fine wire strands misses the terminal and can get grounded to nearby ground on the PWB
cmcgrath5035ModeratorThese are some random thoughts.
Relay – Make sure that any relay coil you connect has a flyback diode included. Most relays intended for logic applications do – otherwise the port pin plays flyback and often the reverse bias results in death.
Power supply switch teads- It would be informative to know what voltage you measure on the two leads when the shorting wire is removed. I’ll guess one is GND, since you measure 0 volts, but the other could be Line in (120/240) AC, or something DC, if there is some sort of standby that is always on.
8 – When I see the number 8, I immediately wonder if microstepping is not working but tinyG calculations assume that it is. Microstepping is communicated between the ATxmega and the Driver device by two port pins. Perhaps those two port pins fried ? All the tinyGV8 schematic pages are here https://github.com/synthetos/TinyG/tree/master/hardware/v8schematics/v8h
Atmel Studio – I defer to Zootalaws, I have never used it. My impression was/is that useful debugging at this level might require an AtmelICE in addition to the working (running) tinyG
GND – Be a bit cautious assuming that all Power supply grounds are the same potential. I have to assume that the relatively compact 500W spindle supply is a buck converter(transformerless). I’ll guess that your tinyG and Stepper supply is also a buck supply, most are. Exercise caution (e.g. use relay or opto-isolator) to keep tinyG GND and Logic isolated from other power supplies.
FW Upgrade – https://github.com/synthetos/TinyG/wiki/TinyG-TG-Updater-App works sometimes, not others. Most all the various updaters end up calling a local copy of AVRDUDE. My read of the thread overall says that you knowingly had, before this spindle event, customized your parameter set to work your unique machine, and that all moved and worked as you expected.
If either $defa=1 or a FW reload was successful, then your parameter set would have returned to the defaults and you would have to reload you unique set.
It is not clear to me that you had to reload you parameters.Parameter set – What triggered me to ask was seeing
[1tr] m1 travel per revolution 2.0050 in but
[2tr] m2 travel per revolution 2.3575 in as well as [3tr].
It is unusual, but clearly possible, for the X and Y drivetrains to be different.
Also, $1tr = 50.927 is a unique (unusual) number in this space, but easily explained when you say your are cannibalizing old gearUnits – Are you using inch, rather than mm, for a specific reason?
If not, I suggest you convert to mm. tinyG uses mm in native calculations. Some Gcode generated in inch does not work, related, I think, to loss of precision in multiple mm to inch to mm conversions done on the 8bit
ATxmega.- This reply was modified 6 years, 10 months ago by cmcgrath5035.
-
AuthorPosts