Forum Replies Created
-
AuthorPosts
-
aldenMember
The Seeeduino is not an Arduino R3 pinout, in spite of the fact that it looks like one. The power connector is different. See here:
https://github.com/synthetos/grblShield/wiki/gShield-v5-Notes#5-volt-power-right-position
aldenMemberI’m not familiar with the OX machine. From your settings it looks like X is GT3 belt, Y is a dual gantry of the same, and Z is a screw axis. Can you enlighten me on this? This would help the diagnosis.
aldenMemberIt sounds like the boot loader is working but the main program is not starting. You should reflash with the current Edge (438.02). The wiki explains how.
If you are going to program with an outboard programmer at this point we recommend the Atmel-ICE. The basic kit ($55) is all you need. THis gives real-time debugging in Atmel Studio 6.2.
Lastly, you should not need a level converter to use the Due serial. But please confirm serial operation. Carl pointed out the Espruino thread earlier. Please refer to this if you have serial signal level issues.
- This reply was modified 10 years, 1 month ago by alden.
aldenMemberI suspect that now that you have found the loose set screws the correct value for the travel per revolution will be 40mm for all GT2 axes. This assumes that the belts are tight, which you should make sure they are.
aldenMemberI’m not sure, as Riley and Rob did all this work, but I think we did an on-the-fly re-write. All we needed was for the widget to calculate the F word (did I say that?) to set the velocity for the G1 move
aldenMemberjlauer – Yes! That’s what we did for the TinyG pendulum demo. Put all the math transformations in Javascript in Chilipeppr. Works great.
aldenMemberCan you look at the file in a text editor and verify that is an intel hex file? Sometimes people download an HTML file by mistake. Are you pulling from here:
aldenMemberchmr is correct (as usual). If you can get a serial port running on the Espruino it can drive the serial directly. You will need to run at 115,200 baud unless you change the default baud rate on the TinyG.
Be aware that the RX input has some level shifting resistors on it (R7, R8, R9) so that it can accept 5v inputs. I would think that the Espruino is a 3.3v board, so if the RX does not appear to be working you may have to fiddle with the divider. The schematics are on the github. I would simply remove R7 and R9. If that still doesn’t work then replace R8 with a zero ohm resistor (short it).
aldenMemberchmr is correct, you should be developing on the edge branch at this point. But that won’t solve your issue. A number of points:
– {“G28.2″:”X0 Y0″} is – indeed – an unrecognized command. Here is the correct way to send a Gcode command in JSON:
https://github.com/synthetos/TinyG/wiki/JSON-Details#gcode-in-json-modeThe command should be {“gc”:”g28.2 x0 y0″} — or some variant. Spaces and cases don’t matter.
– You can also run the JSON in relaxed mode, in which case the command would be {gc:”g28.2 x0 y0″}.
See:
https://github.com/synthetos/TinyG/wiki/TinyG-Configuration-for-Firmware-Version-0.97#js—set-json-syntax– Many UI’s do not wrap the Gcode blocks, but just send them directly. This is OK, too. So this works as well:
g28.2 x0 y0aldenMemberI certainly don’t mind if you continue discussion here. This is fascinating.
aldenMemberThat is correct. Wire the limit switches between the ground and the switch inout – e.g. Xmin, Xmax, Ymin…
Note if the switch is Normally Open (NO) or Normally Closed (NC) and set the $st setting for the proper switch type. All switches must be the same type. We recommend NC switches as they provide better noise immunity from false triggers.
You will want to pay attention to switch wiring, as the wiring can pick up noise and fire if not done well. The RC circuits described above help a lot, but motor or spindle noise can creep in. The best strategy is to use twisted pair shielded cable. I have found guitar pickup cable to work well as it is all that plus it’s very small and flexible.
These pages provide some useful information:
https://github.com/synthetos/TinyG/wiki/Homing-and-Limits-Description-and-Operation
https://github.com/synthetos/TinyG/wiki/Homing-and-Limits-Setup-and-Troubleshooting
aldenMemberThe way I read the data sheet for that driver they require pulses that are 4-5v and a minimum of 2.5 uSec. I would have copied the section of the data sheet there but they copy protected the PDF. http://www.leadshine.com/UploadFile/Down/EM806d_V1.0.pdf
So the pulse width should be acceptable but the voltage may not be – as it’s about 3.0 – 3.2v output. A simple level shifter can be made from a 74LS125 or 74LS126 driven at 5v, with 3.3v inout signals. This outputs 5v drive signals.
The step pulse widths are not settable as the primary use of the board is to drive the TI on-board drivers which only require 1 uSec pulse widths.
If you find that you cannot make this work for your application you can return the board for a refund.
aldenMemberMike – please contact us offline for a replacement.
aldenMemberLooks like a good plan. The external driver needs to be able to be driven from a 3.3v signal, have a step pulse min of 3 microseconds or less, and you will need to set the microsteps manually to agree with the slaved axis. I have not reviewed the specs on the pololu deriver, but this should be OK.
aldenMemberWhat kind of machine are you building and what is the requirement for coordination between the axes?
The reason I ask is that it is possible to network 2 tinyg’s for 5+ axis control, but the communications lag makes fine control of 5 axes not possible. If you are not really doing a full 5 axis machine – instead doing 3 or 4 axes and indexing – then slaving a tinyg should work fine. If you are looking for full coordinated motion, however, it does not work well enough. We have tried this and know from experience.
It’s not possible to just slave another driver, as the board really only outputs 4 motor channels. So this is OK for doubling up a channel for a dual gantry situation, but not an option if you need truly independent 5th axis.
-
AuthorPosts