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

feat(pipettes): require overpressure for 500ms before error #723

Merged
merged 2 commits into from
Sep 19, 2023

Conversation

fsinapi
Copy link
Contributor

@fsinapi fsinapi commented Sep 19, 2023

The intent of the overpressure warning is to avoid damage to the pressure sensor. The sensor will only give us a reading up to ~8kPa, but the actual pressure it can withstand is far higher. In an effort to avoid overeager protocol-ending errors, we are adding a requirement that the pressure remains over the threshold for at least 500MS before throwing an error.

This PR also adds reporting of any readings over the threshold.

Tested on Flexy by blocking the pipette nozzle while aspirating/dispensing. You can see in the can logs that you get a bunch of Pressure Reading responses before they start including error messages. Short aspiration/dispense distances don't have enough time to trigger the error.

@fsinapi fsinapi requested review from sfoster1 and a team September 19, 2023 21:23
@fsinapi fsinapi self-assigned this Sep 19, 2023
Copy link
Member

@sfoster1 sfoster1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent, thank you!

@fsinapi fsinapi merged commit 7aac8b9 into main Sep 19, 2023
26 of 30 checks passed
@fsinapi fsinapi deleted the log_pressure_if_overpressure branch September 19, 2023 21:49
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.

2 participants