File Exchange

image thumbnail

Custom Arduino DUE Library for HX711

version 1.0.1 (267 KB) by NICHOLAS GIACOBONI
Get data from the HX711 load cell amplifier and import into MATLAB workspace with Arduino DUE.


Updated 15 Dec 2019

From GitHub

View Version History

View license on GitHub

The HX711 add-on library develops the two wire comunication protocol between Matlab workspace and HX711 itself through ARDUINO and also a specific class provides some built in function to calibrate your loadcell. This library has been tested with ARDUINO DUE, UNO and MEGA2560 under windows environment.

Cite As

NICHOLAS GIACOBONI (2021). Custom Arduino DUE Library for HX711 (, GitHub. Retrieved .

Comments and Ratings (2)


If you already have a work folder which contains the +arduinoioaddons subfolder you should just copy the +dueHX711 folder in +arduinoioaddons. Then follow the procedure described in file to register the custom library (visit the GitHub page You should also copy the calibration.m file in the work folder if you want to use it instead of writing your own calibration function. Make sure the path of your work folder is added to the Matlab search path. If you have question about the folder structure look here


I tried to run this but the library was not detected. I followed the troubleshooting instructions and that did not change anything. The previous version (that runs on uno) did work, but I was hoping to use Due.

Do you know what might be the reason for this? I am using R2018a.

MATLAB Release Compatibility
Created with R2019b
Compatible with R2018a to R2019b
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!