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

Load Cell Tare #38

Open
ztnel opened this issue Feb 4, 2024 · 0 comments
Open

Load Cell Tare #38

ztnel opened this issue Feb 4, 2024 · 0 comments
Assignees
Labels
driver Firmware driver firmware embedded software development

Comments

@ztnel
Copy link
Contributor

ztnel commented Feb 4, 2024

Description

The HX711 load cell amplifier driver needs to be able to store a voltage offset (zeroing) parameter which represents the resting voltage level. The voltage offset is critical for performing load cell measurements. Taring should be performed regularly (i.e. before every test) since environmental conditions can alter the offset.

The taring function should implement a rolling window buffer and only calculate the offset once the system has settled and rejected noise to calculate a value close to the mean. It must also have a timeout if the system has failed to settle in the specified timeframe.

Here is a sample function spec:

hx711_status_t hx711_tare(hx711_settings_t *settings, uint16_t timeout_ms);

Where the settings struct has a member to store the voltage offset.

@ztnel ztnel added firmware embedded software development driver Firmware driver labels Feb 4, 2024
@ztnel ztnel self-assigned this Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
driver Firmware driver firmware embedded software development
Projects
None yet
Development

No branches or pull requests

1 participant