DRO scale for positional feedback to controller?

The IOs could be accessed, but the issue will the grbl code. I think you could grab the serial data to have a DRO of what grbl is reporting. That’d still be pretty cool without the closed loop feedback.

There are stepper drivers which can compensate for missed steps.

1 Like

excellent point, which instantly kills my idea :slight_smile:
Back to my backup plan: using two DRO scales to at least automate the mapping & calibration of the belts across the work area (another one of my shapeoko fantasies right now)

Commentary on how small Grbl compiles down to in an image:

Its 2kb of memory laughable even by early 80s standards. Here you go, a picture of the Arduino with enough bits of 80s phenomenon Billy Idol to completely fill its working memory:
billy_and_arduino

1 Like

SuperGerbil it is, then :slight_smile:

I have a slight (or glaring) issue, when y’all suggest the Stepoko as a compareable alternative. It only has 3 stepper drivers, compared to the Carbide 3D motion controller, so you can’t drive the slave Y-Axis motor.

Good point. It’s electronically not optimal to drive two motors from one stepper driver chip, but it does work.

Alternately, just implement a drive shaft:

https://wiki.shapeoko.com/index.php/Drive_Shaft

Arguably a better option is to just switch to a different controller such as the Gradus M1 Pro:

https://wiki.shapeoko.com/index.php/Gradus_M1_Pro

There will be a new version of grbl “soon” that will be based on a more capable board. That said, I think writing the code to adjust motion based on feedback would not be a trivial task.
Probably better off putting time, effort, and money into a machine where loss of position isn’t a concern. The goal should be that the machine moves the way you tell it to.

1 Like

Yeah, but where’s the fun in buying a higher-end machine when my main goal is to have fun squeezing the best performance out of my beloved Shapeoko ? :slight_smile:

1 Like

There’s already precedence for this ---- bCNC for example has code to probe a surface, then import a G-Code file, and adjust it so that it conforms to the surface as it is cut.

The downside is that this converts any G2/G3 arcs into an approximation of straight-line segments.

1 Like

this thread keeps on giving me fresh ideas, thanks. So new proposal:

  • map the entire work area for local inaccuracies/calibration factors. A set of two DRO scales would help automate/speed-up the process for collecting this data.
  • then implement an offline compensation of the G-code files, that parses the files and adjusts the displacement distances depending on X/Y position.
  • run the modified G-code file on the unmodified shapeoko.

Not as good as actual positional feedback, does nothing against lost steps in the motors, but much easier and no need to mess with GRBL.

I’m suggesting modifying and improving the great SO3!

1 Like

Teknic Clearpath Servos? No small investment though :slight_smile:

My head aches!!! :tired_face:

If you cant fix it with a hammer its an electrical problem

This is a common technique in large or custom machines, where obtaining tight tolerances on the mounting surfaces for things like linear rails is not viable. I’ve seen it done with a Faro laser tracker inside a gantry mill (20’x80’+x12’). Mount the balls on the spindle and move it in various positions throughout the work envelope and use that to build an offset table. Siemens has a built in option for implementing this in their 840D controllers.

1 Like

So, I bought two 12" DRO scales, and while waiting for them to arrive, I had a look at how to collect the data automatically, and it turns out it’s very easy, I soldered 4 wires on my (cheap) caliper as a preliminary test, connected them to an arduino, and grabbed the serial data that the caliper spits out several times per second, and voila.

I can’t wait for the actual DROs to arrive to start mapping the X/Y work area. My plan is to use the two DROs to hack a simple X/Y mechanism, move the sliders to a specific position using the shapeoko, do a readout, move to some other position, readout, etc…many times over and covering the whole work area. A reverse CNC if you will :slight_smile:

And it’s probably going to end up as “well, that was worthless, but quite fun!”

5 Likes

These are my favourite projects!

Keep it coming, I find this so interesting

1 Like

Just remember to keep in mind the maximum speed at which the DROs and so forth can move safely (without damage) and track accurately.

1 Like

You never know worthless until you give it a shot.

Better than watching TV, I say.

Can’t wait to hear more.

1 Like

There’s been a lot of “soon” - supergerbil might make it, gnea seems lost in space with no news forthcoming.

grbl in atmega2560 is a thing already,
grbl has been put on ramps 1.4,
smoothieboard is a grbl fork, but it’s been pretty dead for a while.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.