Git Product home page Git Product logo

Comments (4)

olkal avatar olkal commented on August 19, 2024

Hi!
There is no benefit to twist the dout and sck wires unless they are very long (these are digital signal wires).
The settling time with default settings and the HX711 in LOW RATE is 1.8 seconds. This is a result of the HX711 sample rate (HIGH or LOW) and the settings you have in the config.h file. See description in the config.h file:

Allowed values for "SAMPLES" is 1, 2, 4, 8, 16, 32, 64 or 128.
Higher value = improved filtering/smoothing of returned value, but longer setteling time and increased memory usage
Lower value = visa versa
The settling time can be calculated as follows:
Settling time = SAMPLES + IGN_HIGH_SAMPLE + IGN_LOW_SAMPLE / SPS
Example on calculating settling time using the values SAMPLES = 16, IGN_HIGH_SAMPLE = 1, IGN_LOW_SAMPLE = 1, and HX711 sample rate set to 10SPS:
(16+1+1)/10 = 1.8 seconds settling time.
Note that you can also overide (reducing) the number of samples in use at any time with the function: setSamplesInUse(samples).

from hx711_adc.

ilpantera avatar ilpantera commented on August 19, 2024

Thank you so much for the response! What would be your recommendation with regards to the config.h in order to optimize for Accuracy & Speed? Is there a sweet spot for this or is it the 1.8sec?
Which wires would you twist between the load cell and HX711?

from hx711_adc.

olkal avatar olkal commented on August 19, 2024

There is no general sweet spot really, it depends on your requirements and it will always be a compromice between speed vs accuracy.

from hx711_adc.

ilpantera avatar ilpantera commented on August 19, 2024

Ok, thank you very much!

from hx711_adc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.