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.
NICHOLAS GIACOBONI (2021). Custom Arduino DUE Library for HX711 (https://github.com/GiacoboniNicholas/Adv_DUE_HX711_Matlab), GitHub. Retrieved .
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 README.md file to register the custom library (visit the GitHub page https://github.com/GiacoboniNicholas/Adv_DUE_HX711_Matlab). 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 https://it.mathworks.com/help/supportpkg/arduinoio/ug/create-custom-folder-structure.html.
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.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!