HX711
This is an additional library for avr and can be modified for arduino, One can use library of bodge HX711 library for HX711 interfacing with arduino onlu
Install / Use
/learn @getsiddd/HX711README
HX711
This is an additional library for avr and can be modified for arduino, One can also use library of bodge HX711 library for HX711 interfacing with arduino only. This library however can interface with all avr platforms with just change in Makefile. This is an advanced library which has been tested with 20kg load cell and can measure 1 gram minimum if proper change_rate setting is applied. If one want to use with arduino, one can use HX711.h and HX711.c files in arduino with SCK pin in arduino pin 5 and DT pin in arduino pin 6 and you are done. It can also be used with other low cost load amplifiers like HX710A/B. It has been tested only on B.
We are going to update the code with the new filter and drift correction soon as our research is complete.
I declare that this code is under GNU General Public License and acknowledge the contribution of millis.h and millis.c files taken from github and uart.h an uart.c taken from the internet. If you have any problem in interfacing this code with arduino or avr, please use the github issues for this repository. I will not entertain any personal Emails. Let the whole world here your problem and solve it.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Features of this library and execution code:- Can be used with atmega328p arduino, Much faster than bodge HX711 library on avr and arduino (need some modifications if you want to use it, you can do it.) Have weight lock feature (feature not properly implemented in this version)
Updates further coming are:- matlab code for filter and noise and drift cancellation with c implementations also. load cell graphs. and other enviromental and temperature compensations.
Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
