Skip to content
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

Support for ldc1612 eddy current probes #6536

Merged
merged 11 commits into from
Apr 9, 2024
Merged

Conversation

KevinOConnor
Copy link
Collaborator

This PR adds support for the ldc1612 inductive sensor chip. Like regular inductive sensors, this chip can be used to implement a bed probe. Unlike traditional inductive sensors, sensors using this chip can provide the raw "resonance frequency" of the inductive coil. These raw values can be used to estimate the distance between toolhead and bed. This may improve the probing accuracy and may enable faster probing.

The code here provides initial probing support. There is some information on using the code in the new Eddy_Probe.md file.

-Kevin

@kmobs
Copy link
Contributor

kmobs commented Mar 21, 2024

Will this support beacon too?

@KevinOConnor
Copy link
Collaborator Author

Will this support beacon too?

I don't know, as I'm not familiar with the low-level details of that hardware. The support here is for probes that expose the ldc1612 chip via standard i2c.

-Kevin

@kmobs
Copy link
Contributor

kmobs commented Mar 22, 2024

Will this support beacon too?

I don't know, as I'm not familiar with the low-level details of that hardware. The support here is for probes that expose the ldc1612 chip via standard i2c.

-Kevin

Oh sorry, I guess I just assumed because it is genre defining in this space that it would be supported with the new code as well.

But carry on and best of luck with your code. ☺️

@j90141355
Copy link

这也支持信标吗?

应该是支持的

@ProfDrYoMan
Copy link

Will this support beacon too?

I don't know, as I'm not familiar with the low-level details of that hardware. The support here is for probes that expose the ldc1612 chip via standard i2c.

-Kevin

Can you link one of the existing probes?

@sbtoonz
Copy link

sbtoonz commented Apr 2, 2024

Will this support beacon too?

I don't know, as I'm not familiar with the low-level details of that hardware. The support here is for probes that expose the ldc1612 chip via standard i2c.
-Kevin

Can you link one of the existing probes?

https://docs.duet3d.com/en/Duet3D_hardware/Duet_3_family/Duet_3_Scanning_Z_Probe

@KevinOConnor
Copy link
Collaborator Author

Can you link one of the existing probes?

I tested with a prototype board from BTT - I'm not sure if they're shipping that board yet. My high-level understanding is that the "cartographer probe" also uses the ldc1612 (though I could be wrong on that, and I did not test it). It seems there is a Duet board as well (as linked above), but I also have not tested that.

Cheers,
-Kevin

Create a new TriggerDispatch class to track the low-level handling of
the trdispatch mechanism.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This allows the low-level probe class more control on the probing
implementation.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Add a command to calibrate the sensor DRIVE_CURRENT0 register.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Add a calibration tool that can be used to correlate sensor frequency
to bed Z height.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
…osition

Calculate the sensor Z position after the probe halts and return that
as the "probed position".  This sensor position provides a more
accurate measurement.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
@KevinOConnor KevinOConnor merged commit a8b493a into master Apr 9, 2024
2 checks passed
@KevinOConnor KevinOConnor deleted the work-ldc1612-20240210 branch April 9, 2024 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants