Comments (4)
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.
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.
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.
Ok, thank you very much!
from hx711_adc.
Related Issues (20)
- Test.ino issue HOT 3
- Load_cell output val: NAN HOT 6
- ESP32 Wroom Pin For CLK HOT 2
- Question on Smoothing HOT 2
- Have problem with starting the code. HOT 2
- UNITTTTTTTT!!!!!!!!!!!!! HOT 4
- Some error While test HOT 2
- No real issue - pls provide an example on how to use New funtions from v1.2.12 HOT 4
- Read_2x_load_cell example not working - potential issue with calling .begin() on multiple HX711_ADC objects HOT 2
- help wanted: How to set Sampling rate from ESP32 HOT 8
- Understanding Multi Point Calibration HOT 2
- Question about HX711_ADC::start functions HOT 1
- Strange Observation HOT 4
- DOUT and SCK PIN declarations HOT 1
- tare at startup HOT 6
- How , do I set calibration factor for 2 different channels HOT 4
- Compatibility issue with ESP32-S3 Dev Board HOT 3
- Hi, did the mass value needed for the calibration its unit is gram or something else? HOT 1
- How to read the value in setup method HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hx711_adc.