-
Notifications
You must be signed in to change notification settings - Fork 94
Probe z height using channel #69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Probe z height using channel #69
Conversation
pr 69 is unfathomably based |
3fb7c7e
to
99e82f4
Compare
amazing |
The channel_idx argument here is 1-indexed. I think since this function uses PLR units, and is not a python wrapper around a single firmware command, it would be more correct to use plr-style 0-indexing. Shall I make a PR? |
No need, I added exactly that fix in my overhaul of the entire probing functions upgrade in PR260. |
forgot that detail, thank you |
* making STAR work as a CMM * shortening long lines * docstring swap (let channel quickly move away from detected object) * always some whitespaces * formatting --------- Co-authored-by: Rick Wierenga <rick_wierenga@icloud.com>
Hi everyone,
I've written a handy function that allows one to probe the surface of any (conductive) object on a STAR(let) deck, and thereby map out the precise dimensions of the object in an automated way using PLR. This effectively makes the STAR act as a Coordinate-Measurement Machine (CMM).
The first main aim of making this functionality available is to automate identification of precise z-values of different resources, and thereby help create more robust labware definitions for the PLR labware library.
A simple example of its use:
lh.backend.probe_z_height_using_channel(chanel_index_as_int)
to collect z height readingsFor a bare MFX_CAR_base this allows you to generate the following 3-dimensional map:

...each axis shows the absolute x, y, z position in relationship to the STAR's deck origin (which is at the left-front-100mm below the physical deck).
For safety purposes, I recommend using Hamilton 50ul tips for mapping surfaces. These are relatively long and soft, acting as 'cushions' in case you try out faster detection speeds (not recommended). Small bends are tolerated well by the 50ul tips. Metal teaching needles might enable more sensitive measurements but I have not tested them due to concerns about damaging the channels. (Please let us know if you try them out.)
Sensor accuracy for z-height readings needs to be further tested but in my hands has been at least 0.2 mm, showcasing the STAR's incredible hardware.
This allows you to
...and more (it might even be useful as a tool in more classic metrology settings)