🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    M5Scale / HX711 unit weight measurements inaccurate

    Units
    3
    3
    5.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Teragon
      last edited by

      Hello,
      We've been testing a weight unit recently, part of a M5Scale kit but connected directly to a M5Go, however it does not measure weight properly. We've tried with a few objects we know the weight of, and it was way off, under the real weight, and not consistently so. An object that weight 500g shows up at 268g, while a 100g object showed up at 71g.
      I read here that there may be a pre-calibration to do before hands, but how can we do this? We did the rest to 0 of course, but that's not it.

      Any thoughts? Thank you!

      1 Reply Last reply Reply Quote 0
      • R
        revta
        last edited by

        I dont have this unit, but if you look at the following github where I believe the library is used from there are calibration instructions there:

        https://github.com/bogde/HX711/

        I'd start with that and see what happens.

        1 Reply Last reply Reply Quote 0
        • P
          Piet
          last edited by

          The HX711 and loadcell don't necessarily return a linear a value. It is more likely to be a curve.. the nature of materials.
          You can create a variable and factor all your read values by this amount. For example in your case 500/268 = 1.87... So assign this value to your variable and multiply you readings by this amount. This will be approximate and it will vary for different weight ranges but you can keep refining it until you are happy. You can extend this method over various weight ranges and write conditional statements to apply different corrections for different ranges. Or if you have the smarts you can write a formula for the curve and apply it to your read values.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post