Comments (4)
Hi, and thanks!
The code does not care at all whether you set the HX711 at low rate 10hz or high rate 80hz.
At low rate the HX711 use 8x internal oversampling, so changing from high rate to low rate you should see 8x slower settling time and 8x (3 bit) better resolution.
The libray have functions for measuring the real settling time and samples pr second, see example file Testing.ino.
from hx711_adc.
from hx711_adc.
Hi, i came into another issue, since im using 4 lc's at the same time, sometimes the readings dont sync with the HX711 readings and a wrong number comes up. How do I make it so it's always synced properly? should i change the 'milis' time ?
from hx711_adc.
Yes. Or you can remove the millis interval entirely by polling the update() function, it will return a positive value only if there is new conversions available. Something like this (for ea load cell):
//LoadCell.update(); // comment this out...
//get smoothed value from data set
if (LoadCell.update()) { // will return true only if there is new data
float i = LoadCell.getData();
Serial.print("Load_cell output val: ");
Serial.println(i);
//t = millis();
}
I'm not sure if the serial com can cope with all the date from 4x LC's at 80hz though. If so, you could try changing from 9600 to 115200 baud.
from hx711_adc.
Related Issues (20)
- Question on Smoothing HOT 2
- Have problem with starting the code. HOT 2
- Slow data readings HOT 4
- 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
- SCK_DELAY also needed for RP2040 / Raspberry Pi Pico HOT 2
- getNewCalibration get wrong factor HOT 3
- 20MHz crystal oscillator doesn't work with hx711 HOT 1
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.