MATLAB Answers

How to connect load cell (with HX711 and arduino) to simulink

7 views (last 30 days)
aakash dewangan
aakash dewangan on 26 Aug 2021
Commented: Arun Kumar on 30 Sep 2021 at 6:01
Hello,
I am trying to use Load cell with HX711 to read the weight on Simulink through arduino. I tried to search a lot, but did't get anything. Please let me know How can I link load cell with HX711 to simulink to measure weights. Any help will be greatly appreciable.
Please note I am using arduino.

Answers (1)

Arun Kumar
Arun Kumar on 27 Aug 2021
Hi Aakash,
This sensor is currently not supported by Simulink support package for Arduino hardware.
But you can add custom Simulink block for any sensor by following this simple guide:
Thanks,
Arun
  2 Comments
Arun Kumar
Arun Kumar on 30 Sep 2021 at 6:01
There are two workflows in the link that I shared:
  1. Create a Digital Write Block: This will help you understand the concept of creating a custom driver block for your application
  2. Create Custom Device Driver Block for Arduino Library: This will walk you through the process of adding a block that uses 3rd party libraries.
Thanks,
Arun

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!