HX711 with a Four Wire Load Cell and Arduino | Step by Step Guide.

Sdílet
Vložit
  • čas přidán 30. 07. 2024
  • In this video, I explain how to connect a four-wire load cell to the HX711 amplifier module and how to read the weight value with an Arduino.
    Diagrams and pictures:
    circuitjournal.com/four-wire-...
    Github page of the "HX711_ADC" library:
    github.com/olkal/HX711_ADC
    3D printed parts:
    www.thingiverse.com/thing:460...
    Buy from Amazon:
    Crimping tool (I am using this one): amzn.to/3jaDwci
    DuPont connector set: amzn.to/3rCPT8e
    Load Cell with HX711: amzn.to/2zwTcG1
    Genuine Arduino Uno: amzn.to/2ZXfdsr
    Male to male jumper wires: amzn.to/2TX0GZP
    (As an Amazon Associate I earn from qualifying purchases)
    Buy from Aliexpress:
    Crimping Tool: s.click.aliexpress.com/e/_dVT...
    DuPont Connector Set: s.click.aliexpress.com/e/_dUQ...
    Load Cell with HX711 Module: s.click.aliexpress.com/e/_9GL349
    Arduino Uno Compatible Board: s.click.aliexpress.com/e/_AVaoKb
    Set of Jumper Wires: s.click.aliexpress.com/e/cnhvUw2c
    Disclosure: Bear in mind that some of the links in this post are affiliate links and if you go through them to make a purchase I will earn a commission. Keep in mind that I link these companies and their products because of their quality and not because of the commission I receive from your purchases. The decision is yours, and whether or not you decide to buy something is completely up to you.
    Timecodes:
    00:00 Intro
    00:20 Demo
    00:45 Different load cells
    01:44 How does the load cell work?
    02:39 The HX11 amplifier module
    02:50 Assembly
    05:03 Verifying the wires
    06:16 Connecting the load cell to the amplifier module
    06:50 Connecting the HX711 module to Arduino
    07:19 Downloading the HX711_ADC Library
    07:42 Arduino code
    08:14 Calibrating the load cell
    09:35 Testing the load cell with various objects
    10:15 End
    Music from CZcams audio library.
  • Věda a technologie

Komentáře • 518

  • @user-sm7ft9xl4j
    @user-sm7ft9xl4j Před 4 měsíci +19

    Indrek, this video did take me 5 hours to execute -- but at the end of it, I came out victorious. You are forever going to be my load cell king. I am indebted and will spend the remainder of my mortal days finding ways to honor and love your presence. Thank you. - ** Capstone Team

  • @MalachiBurke
    @MalachiBurke Před rokem +12

    I'm a 30 year software engineer, and this is a very good video. Nice and clear. Well done!

  • @stefannetzer355
    @stefannetzer355 Před 3 lety +3

    Great explanation of the HX711, Loadcell and Arduino Code. I linked this one to my rain gauge, where I used exactly this combination.

  • @wasanthawijayaratna
    @wasanthawijayaratna Před 4 lety +2

    More than 5 months I was trying to implement this, was not success, may be I'm so dumb :), finally I found something works, thanks, now I can continue my project...

  • @sunishsuresh4073
    @sunishsuresh4073 Před 3 lety +15

    Loved the in-depth explanation... keep doing these work

  • @noahcwb
    @noahcwb Před 2 lety +1

    thanks! for the video! i plan on using three load cells to make sim racing pedals for my pc and this helps me to feel more comfortable on working on it!

  • @jesusalpizar4828
    @jesusalpizar4828 Před 3 lety +13

    Great work! Your detailed step by step explanation was so useful for my 11 years old daughter on calibrating her weight sensors for her school engineering fair project. Thanks a lot and keep up with the great work. 👍

    • @IndrekL
      @IndrekL  Před 3 lety +1

      Thanks!

    • @stonesvideos
      @stonesvideos Před 2 lety

      I totally agree and would like to say "thank you", too. I came across this video while looking for "ardunio with loadcell" and along the instructions on how to wire I appreciate the explanaition of the loadcell / wheatstone bridge. Great work and good to see people not just sharing but also explaining their knowledge :-)

  • @user-kg7bz8mj4w
    @user-kg7bz8mj4w Před 6 měsíci +3

    Dear Indrek Luuk, I am very grateful for the sketch and library you created for Arduino. I worked with it for three evenings and, using the Frankenstein method, increased the number of HX711 sensors to seven, and also added PLX DAQ, which now allows me to create weight control tables and graphs. My plans are also to remake the tare system via EEPROM to save the data of the last weight measurement, and not the tare. since in my botanical experiments I use strain gauges to determine the weight of hives during the flight of bees, and when the Arduino is rebooted, the data is reset to 0. And a hive with bees, nectar and honey weighs from 50 to 150 kg and it’s hard to pull it every time. Thank you for the program and interesting blog.

    • @civismesecret
      @civismesecret Před 2 měsíci

      Good approach. Is your project successful now?

  • @thomascruickshank7407
    @thomascruickshank7407 Před rokem +4

    Truly an amazing video! Engineers will be using this as a reference for years, thank you!

  • @markpostlethwaite9672
    @markpostlethwaite9672 Před 4 lety +4

    Brilliant! I’m new to arduino and these videos are a great help! I’m looking forward to your up and coming projects.

  • @niladrichowdhury8106
    @niladrichowdhury8106 Před 4 lety +5

    Great job please continue with these amazing projects.

  • @francoismacquaire6397
    @francoismacquaire6397 Před 8 měsíci +1

    Une video toujours d'actualité que je transfère à mes étudiants pour un projet scientifique. Merci.

  • @billnage
    @billnage Před 3 lety +2

    Great video regarding calibration of HX711. You covered quite a few "gotchas". Many Thanks!

  • @ProfessorOzone
    @ProfessorOzone Před 3 lety

    You gave enough information for a fairly inexperienced person to actually make this project. Thank you. Very well done.

  • @Samson.Boedefeld
    @Samson.Boedefeld Před 2 lety

    Awesome work! I‘m new to Arduino and you make it look easy. Thank you!

  • @gungod6942
    @gungod6942 Před 3 lety

    This video helps my project of BE Thesis. Thank sir.

  • @oadka
    @oadka Před 3 lety

    Sir this was a very good video. Short and sweet. Its better than the other videos from even established channels on youtube.

  • @mikephilmelendez
    @mikephilmelendez Před 2 lety +2

    Hello. First off I wanted to say that your videos are very very informative. I ordered the 20 g load cell from the link below, and was excited to get started with this project of building a small scale. However, I must say that the quality of the load cell doesn't seem to be up to par. I couldn't get an initial resistance reading just from the wiring. And I was wondering if there was something I was doing wrong

  • @balajimk
    @balajimk Před 2 měsíci

    That's a brilliant demo, Mate! Thanks.

  • @stevensheldon9271
    @stevensheldon9271 Před 2 lety

    Thank you, your video helped me set up my load cell!

  • @greengallop123
    @greengallop123 Před 3 lety +1

    Can't believe you ask the viewers to turn on subtitles! Excellent work!

    • @IndrekL
      @IndrekL  Před 3 lety +2

      Thanks! I have received some comments that some people are struggling to follow my accent. I guess it depends on the listener's mother tongue.

    • @greengallop123
      @greengallop123 Před 3 lety

      @@IndrekL keep up the great work!

  • @fnoo2585
    @fnoo2585 Před 8 měsíci

    Thank you for this very useful video through which I have completed the idea of how to design my project in my head.😍💙💙

  • @eagonsiahaan9390
    @eagonsiahaan9390 Před rokem

    This helps my project a lot thanks so much!

  • @AlstonMisquitta
    @AlstonMisquitta Před 6 měsíci

    That was an excellent tutorial! Thanks a lot.

  • @Basherqueen
    @Basherqueen Před 2 lety +1

    WOW WOW WOW You are awesome, such a nice tutorial, I love it 👍👍👍

  • @luanregisteobaldo2531
    @luanregisteobaldo2531 Před 2 lety +1

    excellent project. I set up a scale using the same load cell you used, with hx711 and esp32. The weight I use to calibrate the scale measures correctly, but the other weights are out and the greater the weight, the lower the measured value. Can you help me?

  • @davitberishvili8062
    @davitberishvili8062 Před 3 lety +1

    It's well explained.
    Thank you

  • @brahimmessaoudi8812
    @brahimmessaoudi8812 Před 2 lety +1

    Thanks for your detailed explanations. Very much appreciated.
    By the way, I am looking for a detailed tutorial on how to make a "smart gas scale" using 3-4 load cells and Arduino together with an LDC screen and some sensors... Could you be of any help for this?
    Thanks in advance,
    B.

  • @sparrowhawk2112
    @sparrowhawk2112 Před 3 lety

    thank you ! very informative description.

  • @DiegoGomez-pk5tg
    @DiegoGomez-pk5tg Před 3 lety

    Wow this really helped! Thank you!

  • @ryanwykes
    @ryanwykes Před 2 lety

    this video is so helpful! thank you so much sir

  • @TheSchneidItworld
    @TheSchneidItworld Před 4 lety +1

    wooow, that's gonna be useful, thanks!

  • @simba478
    @simba478 Před 3 lety

    Thank You. This was very helpful. It worked flawlessly.

  • @shivajib
    @shivajib Před 2 lety

    Very informative.. I want to implement the load sensor for 0 to 1.5 kg. But the thing is load cell which you shows is very big in size. So do we have any alternatives in smaller size.

  • @innovativtexnologiya5782

    Thanx you for making great tutorials

  • @jakejakezack
    @jakejakezack Před 3 lety +1

    This video was so helpful. Thank you for making it. Would talk about how to program the OLED display? Keep up the good work!

    • @IndrekL
      @IndrekL  Před 3 lety

      Thanks! Maybe, in the future.

  • @bhupendraaditya6960
    @bhupendraaditya6960 Před rokem +1

    Thanks u cleared my doubt about pairs

  • @anggy8912
    @anggy8912 Před 3 lety +1

    thank sir, you help me a lot!

  • @agusprayogo7932
    @agusprayogo7932 Před 2 lety +1

    Hi i want to ask something. Does the weight rating also reflect the accuracy or anything else on this module? Or is it just the max weight we can measure using it? Thanks

  • @SebastianTheCreative
    @SebastianTheCreative Před 2 lety

    Amazing work man!

  • @thekidmagician7920
    @thekidmagician7920 Před 3 lety +1

    This is a very informative video

  • @shehzadulhaq1686
    @shehzadulhaq1686 Před 2 lety

    Good work. Can you please tell me that how we can measure the tension or compression using beam load cell?

  • @nguyentram3958
    @nguyentram3958 Před 2 lety

    Hi! Thankyou so much for your video. I would ask you that is it possiple to use 4wires loadcell of 5tons capacity, even it is 4 wires loadcell but it is said that the exicitation voltage is 10V DC, but the operation voltage of HX711 is just 5V? And how much that the HX711 amplifies the voltge of the loadcell? Thankyou so much!

  • @d.athegreat3947
    @d.athegreat3947 Před 2 lety

    One word... Outstanding.

  • @shoaibahmedsiddique
    @shoaibahmedsiddique Před 2 lety

    @Indrek , is it possible to get correct readings within 1 seconds of time? I saw in many videos that it takes areound 2-2.5 sec to settle down and measure the load weight correctly.

  • @Midoo2121
    @Midoo2121 Před 10 měsíci

    Hi , thanks for the great video
    can i use it with more acquisitions rate load cells ? and do you have any recommendations for one that can get 10-50 Kg with more than 10Hz acquisition rate?

  • @bobguy89
    @bobguy89 Před 3 lety

    Do you know how I would code the arduino to weigh something and when it's lower than the intended weight, it uses a speaker to play a tone?

  • @uzcaliber
    @uzcaliber Před 3 lety

    Very detailed and useful video, nice job.

  • @net576354
    @net576354 Před 3 lety +2

    Thanks in advanced for your introducing the application of the hx711 .But in my arduino serial output shows my measurement still increasing non stop.Can you help me thanks

  • @fatimafatima-oc7dz
    @fatimafatima-oc7dz Před 3 lety

    thank you so much please did you have software to read strain gauge ???

  • @08.baiqzahra97
    @08.baiqzahra97 Před 2 lety

    Thanks dude, you saved my live :D

  • @thewhatafag
    @thewhatafag Před 3 lety +1

    Hi Could you make a video where you make a center of gravity scale using the andruino and 4 load cells?

  • @mohammedhammouda2692
    @mohammedhammouda2692 Před 3 měsíci

    Hello. Thank you for the video. I am wondering if this load cell can measure weights at an angle? Meaning does it have a y component for example? or at least can the y component be found? Even if by measuring the mV/V using a multimeter. I have exposed the strain gauge and it looks like there are two strain gauges but I am not sure.

  • @ahmetselim1166
    @ahmetselim1166 Před 3 lety +1

    guys I have a simple question does this work when it's not on the table or the surface for example if I use it in a nylon bag, does it show correct values? Thanks in advance.

  • @devendranama2728
    @devendranama2728 Před rokem

    Thanks for the detailed explanation. I need to measure a weight change with respect to time for my project work. Is it possible to make a weighing machine using Arduino which gives weight with the time simultaneously.

  • @mohamedelkhayati9176
    @mohamedelkhayati9176 Před 2 lety

    thank you for this great work

  • @mikechristinson1936
    @mikechristinson1936 Před rokem

    This vid is awesome and so are you!

  • @ethanmilton7083
    @ethanmilton7083 Před měsícem

    Hello, I have a few boards from this company (1kg, 5kg, maybe 10kg) and I'm wondering if the same HX711 board will work for all of them, (ie: the boards are identical) or if each load type needs the specific board that came in the package.
    (I'm trying to make a device that can swap out load cells, so it'd be convenient to not have to swap the board as well.)

  • @julienvalentin8396
    @julienvalentin8396 Před 3 měsíci

    very good video ! Does anyone know where the reference of the elements is at the very end when they connect a screen? (with the arduino NANO) I am interested in the miniaturized version

  • @ThuanDuong-pv3xu
    @ThuanDuong-pv3xu Před rokem +1

    thank you for your 2:16 time i have repair my scale 200gr

  • @SMRTSENS
    @SMRTSENS Před 3 lety

    how I can increase the sensitivity of the weight measuring? is there any library that we can add to the programm?

  • @mickthemechanic5718
    @mickthemechanic5718 Před 4 lety

    Nice! Enjoyed it alot

  • @manafalimahammed6767
    @manafalimahammed6767 Před 2 lety

    Very nice project. Please tell me how can get the parts that you fixed your load cell with them? I mean the two plastic parts. Thank you.

  • @user-xc7tl2kw7d
    @user-xc7tl2kw7d Před 2 měsíci

    Is it possible to connect two load cells to the same HX711 amplifier?
    Can I excite the load cell in the opposite direction (reverse mounting)?

  • @hasanderyal484
    @hasanderyal484 Před 10 měsíci

    Hi, i have a Capacitif Strain Gauge with 3pins. How can i analyse the output signal on Oscilloscope ? ( Is there any amplifier module which i can connect Gauge to Oscilloscope and see the signal ?) Thanks for comments in advance...

  • @ahmadihsan
    @ahmadihsan Před 2 lety

    I have a project where im only allowed tu use op amp to increase the voltage change from the load cell. Can you explain what i need to do to convert the output voltage from the op amp into weight.
    I connect the output voltage to the A0 to read the voltage
    Thank you

  • @wasanthawimaladharm
    @wasanthawimaladharm Před 3 lety +2

    always awesome

  • @yelloroo
    @yelloroo Před 10 měsíci

    Thank you for the nice tutorial that helped me. I still have a problem: the values read by the system are increasing continuously even without any weight on it. I checked the wires of the load cell. Any idea ?

  • @fusarifilippo
    @fusarifilippo Před rokem

    @Indrek i have a mavin n151 load cell, i have 5 cables that came out of it. What is the purpose of the 5th cable?
    thanks in advice if you can help me! :)

  • @marnid
    @marnid Před 2 lety

    Nice video, thank you!

  • @ericw46732
    @ericw46732 Před rokem

    I am new to the world of Audrino IDE. I am trying to build a scale using in-line load cells to a junction box to an amplifier to an Audrino Uno R3. I have a display hooked into the Audrino. I am looking to put fasteners onto the scale and convert the weight to PC count and have it show on the display. I am having problems on which libraries to load in the IDE and the proper coding to use to get the results that I seek. Any suggestions????

  • @taherrad153
    @taherrad153 Před 4 měsíci

    Thank you so much, very useful video

  • @notkha
    @notkha Před 2 měsíci

    Does this work with a ESP8266 (NodeMCU) ? The Weight im getting in the Serial Monitor are all wrong and they differ a lot even when there is nothing on the scale.

  • @MohamedAfzal
    @MohamedAfzal Před rokem +1

    nice work. but i have question . while arduino reading the values the power resets and it will not show the existing weight on load cell. any suggestions??

  • @EDGARDOUX1701
    @EDGARDOUX1701 Před 2 lety

    Great video! One question: Can I use this module with a 200 kilo load cell? Thank you

  • @gocar7255
    @gocar7255 Před 2 lety

    Heyy great work. I need to use a load cell for a project, Will it work if i put it upside down. I need to push upwards onto the cell.

  • @Mitsuki7_
    @Mitsuki7_ Před rokem

    I love you bro, till this day!

  • @vipinpachouri4766
    @vipinpachouri4766 Před 2 lety

    Nice and Informative Video: I want to measure the tension in a cable, can you kindly suggest some source from where I can start. Thank you in advance.

  • @jimmym8690
    @jimmym8690 Před 3 lety

    is it possible to export a printable chart with time and weight? Up to how many readings can be obtained per second?

  • @sapsan676
    @sapsan676 Před rokem

    Hi is there any way where I can find applied voltage and output voltage from HX711 on loading with different loads in python programming.

  • @scientifiko4246
    @scientifiko4246 Před 2 lety

    Your way of explanation is really amazing. If I want to add 100kg or 200kg load cell what I need to do?

  • @r0xanna99
    @r0xanna99 Před 7 měsíci

    Can you please tell me which resin did you use to print the base framework and tge weighing plate?

  • @lemeplaymuzic3128
    @lemeplaymuzic3128 Před 2 lety +1

    Can you make a GUI using microsoft visual studio in which it would receive the weight load applied on the load cell? I appreciate it if you do I step by step video on that. Thank you in advance

  • @rng11163
    @rng11163 Před 2 měsíci

    Is there an example of it in any simulation circuit? Or I can do it in a simulation program

  • @carlos.galhano
    @carlos.galhano Před rokem

    Very good vídeo, I was searching for this all the week. Can you tell me if there os a way to get the measurment more slowly? And how to connect the display to a Arduino Uno R3.

  • @princesekgobela2702
    @princesekgobela2702 Před 3 lety

    great videos....so is it possible to connect 4 of 1000kg using one HX711?

  • @josephmahlomolamasenkane8414

    Great videos. Is there any limit on the load cell capacity that can work with HX711? E.g. can I use it with bulk bag scales like 5 ton load cells?

    • @liyuan6669
      @liyuan6669 Před rokem

      From my perspective, you may need a commercial AtoD converter since this one is only for experiment...

  • @Tantacle._.
    @Tantacle._. Před 2 měsíci

    do you have the part of the program concerning the lcd screen ?

  • @fannyroussey4067
    @fannyroussey4067 Před 3 lety

    Hi, thanks for the video! For my part I have to measure the variable resistance of a single deformation sensor. Can I still use this module knowing that it has 4 inputs specific to a load cell?

    • @IndrekL
      @IndrekL  Před 3 lety

      I guess you can if you add three resistors to form a Wheatstone bridge.

  • @clobel55
    @clobel55 Před 2 měsíci +2

    Finally someone whose English I can understand. Well done.

  • @starlights214
    @starlights214 Před 2 lety

    Hello
    I have a small kitchen digital scale which when turned on -and with no weight to be measured- keep showing different random numbers even negative .
    And when I put any load it shows:O-Ld or a very high weight.
    I made sure that cables are connected .but I do not know how else can I do to repair the scale.

  • @hi-uj7gn
    @hi-uj7gn Před 2 lety

    I'm working on a force sensor, the idea is roughly similar, but the noise makes it impossible to accurately measure. I wonder how this is fixed here. If anyone knows, please tell me.(the base for the strain gauge is printed on a printer)

  • @chali272
    @chali272 Před rokem +1

    how many of this can be connected to one controller? i like to connect like 10 of this to get info on punches and kicks,

  • @viper33802
    @viper33802 Před 3 lety

    May I ask if you can point me to assistance with using four 4-wire load cells? I am hacking a wii balance board and want to hook it to an esp32 running esphome, for use in my home automations. Any assistance would be great.

  • @Bianchi77
    @Bianchi77 Před 3 měsíci

    Creative video, thanks :)

  • @dokepravin2916
    @dokepravin2916 Před 10 měsíci

    Thank You for sharing!

  • @shubhagarwal8915
    @shubhagarwal8915 Před 3 lety +1

    Plz tell how to connect the lcd using bread board and make this into a fully functional scale

  • @marianodiaz461
    @marianodiaz461 Před 2 lety

    Hi; great tutorial, can you please tell me if this will work with the Arduino Nano?

  • @finex2754
    @finex2754 Před 4 měsíci

    Hi I'm currenttly working on a project with this tool, and I was wondering if you could guive to me diameter in centimeters of the screws plz ?

  • @MadByte
    @MadByte Před 2 lety

    Thanks for the video. I was able to setup the load cell just as you explain and it works. My project involves continuously measuring the weight of a roll of filament on a set of rollers. It seems I'm running in to an issue called "creep" where the weight measurement changes (increases) for a while until the load cell stops "bending". Have you heard of this and do you know of any strategy to compensate for it? Because of the continuous measurement requirement I'm also running into changes/error due to temperature variation. The funny thing is that the eSun eBox filament dryer does both of this things but I have not read about anyone running into either of this issue. I suspect that they must be compensating for both errors mathematically.

    • @Voyxerl.67777
      @Voyxerl.67777 Před 2 lety

      hello , i hope you'll see this , i'm struggling with my project and i need some help. could you give me your email or any social media id ? Thank you in advance