Comments (4)
i think you could switch to channel A, use set_scale, use tare, read the values etc. then switch to channel B and start over. probably not exactly what you need, but in all honesty the library was not originally created with using both channels in mind, my use case was much simpler.
i'm currently working on pulling some changes from @zfields (i pulled some other changes from someone else and apparently there are some conflicts i need to fix first); but i'm busy as always at my regular job so the progress is slow. what i'm trying to say is that the features you need could be added at some point, together with the other suggested changes for two channel usage.
from hx711.
that's exactly what I tried but it seems there is only one tare value implemented. After tare() for both, it uses the tare value of channel B for both channels.
from hx711.
I totally understand you can't fix this at the moment. I was just wondering if I was just too stupid to use the library properly. So this main question was answered quickly. Thanks for that!
I am using a workaround now manually storing the tare value for channel B. It is ok and working for now. Feel free to use the idea and usecase for further improvements.
from hx711.
what i meant was you could (not sure) call tare() again; but depending on your use case that may not be helpful.
from hx711.
Related Issues (20)
- Arduino 2 support
- Formula to find hx711 output of load cell voltage output HOT 1
- Arduino MKR 1010 Upload failure
- Arduino freezes after about 1 hour of continuous reading
- serial monitor freezes on arduino uno when data or clock from HX711 is connected to the arduino digital data pin
- Should function "scale.tare();" need a parameter? HOT 2
- add NRF to compatible boards list
- Verify my wiring (HX711 with four strain gauges) HOT 2
- Multiple HX711 with one clock HOT 1
- warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
- Reason behind using D2 and D3 pins HOT 1
- HX711 only reads once on startup HOT 2
- How to check load cell is connected or not
- What are possible values for scale.set_scale(2280.f); HOT 2
- 71
- self-calibration of load cell
- HX711 not thread safe?
- HX711 high current consumption
- Error on `make build-all` HOT 1
- 2 (or more) mass calibration
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.