Skip to content

Conversation

gen2thomas
Copy link

@gen2thomas gen2thomas commented Sep 6, 2025

Add a driver for the weight cell chip HX711.

TODO:

hx711/hx711.go Outdated
const (
defaultResetDuration = 100 * time.Microsecond
defaultSettlingTime = 400 * time.Millisecond // according the data sheet: RATE=0 (10Hz), otherwise use 50 ms
// readCycleTime = 100 * time.Millisecond // for RATE=0 (10Hz), otherwise 12.5 ms (80Hz)
Copy link
Author

Choose a reason for hiding this comment

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

this is not used internally, e.g. for blocking fast updates, but a caller could have a benefit if we add a "MaxCycleTime()" function to the drivers.Sensor interface

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.

1 participant