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

Поделиться
HTML-код
  • Опубликовано: 8 июл 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 RUclips audio library.
  • НаукаНаука

Комментарии • 516

  • @user-sm7ft9xl4j
    @user-sm7ft9xl4j 4 месяца назад +17

    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

  • @stefannetzer355
    @stefannetzer355 3 года назад +2

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

  • @niladrichowdhury8106
    @niladrichowdhury8106 4 года назад +5

    Great job please continue with these amazing projects.

  • @MalachiBurke
    @MalachiBurke Год назад +10

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

  • @sunishsuresh4073
    @sunishsuresh4073 3 года назад +15

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

  • @markpostlethwaite9672
    @markpostlethwaite9672 4 года назад +4

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

    • @IndrekL
      @IndrekL  4 года назад

      Awesome, thank you!

  • @clobel55
    @clobel55 Месяц назад +2

    Finally someone whose English I can understand. Well done.

  • @Samson.Boedefeld
    @Samson.Boedefeld 2 года назад

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

  • @ProfessorOzone
    @ProfessorOzone 3 года назад

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

    • @IndrekL
      @IndrekL  3 года назад

      Thank you very much!

  • @noahcwb
    @noahcwb 2 года назад

    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!

  • @billnage
    @billnage 3 года назад +2

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

  • @jesusalpizar4828
    @jesusalpizar4828 3 года назад +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  3 года назад +1

      Thanks!

    • @stonesvideos
      @stonesvideos 2 года назад

      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 :-)

  • @oadka
    @oadka 3 года назад

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

  • @wasanthawijayaratna
    @wasanthawijayaratna 3 года назад +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...

  • @francoismacquaire6397
    @francoismacquaire6397 7 месяцев назад +1

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

  • @user-kg7bz8mj4w
    @user-kg7bz8mj4w 6 месяцев назад +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.

  • @stevensheldon9271
    @stevensheldon9271 2 года назад

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

  • @davitberishvili8062
    @davitberishvili8062 3 года назад +1

    It's well explained.
    Thank you

  • @gungod6942
    @gungod6942 3 года назад

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

  • @simba478
    @simba478 3 года назад

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

  • @TheSchneidItworld
    @TheSchneidItworld 4 года назад +1

    wooow, that's gonna be useful, thanks!

  • @asiaenespanol698
    @asiaenespanol698 2 года назад

    Amazing work man!

  • @DiegoGomez-pk5tg
    @DiegoGomez-pk5tg 3 года назад

    Wow this really helped! Thank you!

  • @eagonsiahaan9390
    @eagonsiahaan9390 Год назад

    This helps my project a lot thanks so much!

  • @sparrowhawk2112
    @sparrowhawk2112 3 года назад

    thank you ! very informative description.

  • @Basherqueen
    @Basherqueen 2 года назад +1

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

  • @AlstonMisquitta
    @AlstonMisquitta 5 месяцев назад

    That was an excellent tutorial! Thanks a lot.

  • @balajimk
    @balajimk Месяц назад

    That's a brilliant demo, Mate! Thanks.

  • @ryanwykes
    @ryanwykes 2 года назад

    this video is so helpful! thank you so much sir

  • @innovativtexnologiya5782
    @innovativtexnologiya5782 2 года назад

    Thanx you for making great tutorials

  • @greengallop123
    @greengallop123 3 года назад +1

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

    • @IndrekL
      @IndrekL  3 года назад +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 3 года назад

      @@IndrekL keep up the great work!

  • @anggy8912
    @anggy8912 3 года назад +1

    thank sir, you help me a lot!

  • @thekidmagician7920
    @thekidmagician7920 3 года назад +1

    This is a very informative video

  • @uzcaliber
    @uzcaliber 3 года назад

    Very detailed and useful video, nice job.

    • @IndrekL
      @IndrekL  3 года назад

      Thank you very much!

  • @08.baiqzahra97
    @08.baiqzahra97 2 года назад

    Thanks dude, you saved my live :D

  • @d.athegreat3947
    @d.athegreat3947 2 года назад

    One word... Outstanding.

  • @mickthemechanic5718
    @mickthemechanic5718 4 года назад

    Nice! Enjoyed it alot

  • @wasanthawimaladharm
    @wasanthawimaladharm 3 года назад +2

    always awesome

  • @thomascruickshank7407
    @thomascruickshank7407 Год назад +3

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

  • @fnoo2585
    @fnoo2585 8 месяцев назад

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

  • @jakejakezack
    @jakejakezack 3 года назад +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  3 года назад

      Thanks! Maybe, in the future.

  • @mohamedelkhayati9176
    @mohamedelkhayati9176 2 года назад

    thank you for this great work

  • @mikephilmelendez
    @mikephilmelendez 2 года назад +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

  • @AshwajeetKamble
    @AshwajeetKamble 3 года назад +3

    You earned a sub ♥️♥️

  • @mikechristinson1936
    @mikechristinson1936 Год назад

    This vid is awesome and so are you!

  • @bhupendraaditya6960
    @bhupendraaditya6960 Год назад +1

    Thanks u cleared my doubt about pairs

  • @marnid
    @marnid 2 года назад

    Nice video, thank you!

  • @Mitsuki7_
    @Mitsuki7_ Год назад

    I love you bro, till this day!

  • @taherrad153
    @taherrad153 3 месяца назад

    Thank you so much, very useful video

  • @Bianchi77
    @Bianchi77 3 месяца назад

    Creative video, thanks :)

  • @dokepravin2916
    @dokepravin2916 9 месяцев назад

    Thank You for sharing!

  • @agusprayogo7932
    @agusprayogo7932 Год назад +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

  • @luanregisteobaldo2531
    @luanregisteobaldo2531 2 года назад +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?

  • @bobguy89
    @bobguy89 3 года назад

    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?

  • @shoaibahmedsiddique
    @shoaibahmedsiddique 2 года назад

    @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.

  • @brahimmessaoudi8812
    @brahimmessaoudi8812 2 года назад +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.

  • @fatimafatima-oc7dz
    @fatimafatima-oc7dz 3 года назад

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

  • @shivajib
    @shivajib 2 года назад

    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.

  • @net576354
    @net576354 3 года назад +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

  • @zanhanzel2765
    @zanhanzel2765 Год назад

    great video bro

  • @ahmetkarakartal9563
    @ahmetkarakartal9563 7 месяцев назад

    so good, thank you so much

  • @ThuanDuong-pv3xu
    @ThuanDuong-pv3xu Год назад +1

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

  • @shehzadulhaq1686
    @shehzadulhaq1686 2 года назад

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

  • @johanarcosmendez4680
    @johanarcosmendez4680 4 года назад

    Hi Indrek, really nice tutorial. I was wondering if I would be able to use a second load cell and connect it to the B+ and B- pins of the Hx711? If so, how would this connection go? Thank you, keep up the good work.

    • @IndrekL
      @IndrekL  4 года назад +1

      Hey! Yes, it should be possible. You can connect it the same way as to the A+ and A-.
      I read about the channel B a little and it seems that is not as sensitive as channel A.
      And it seems that the HX711_ADC library doesn't support the channel B. Maybe there are other libraries for the HX711 module that do support it.

  • @kursadyilmazoglu8565
    @kursadyilmazoglu8565 3 месяца назад

    great explanation; cAtCHy intonation

  • @devendranama2728
    @devendranama2728 Год назад

    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.

  • @lafondawilliams
    @lafondawilliams Год назад

    Great stuff

  • @thewhatafag
    @thewhatafag 3 года назад +1

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

  • @scientifiko4246
    @scientifiko4246 2 года назад

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

  • @ahmetselim1166
    @ahmetselim1166 3 года назад +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.

  • @paulmeynell8866
    @paulmeynell8866 3 года назад

    Brilliant thank you

  • @Midoo2121
    @Midoo2121 10 месяцев назад

    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?

  • @EDGARDOUX1701
    @EDGARDOUX1701 2 года назад

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

  • @josephmahlomolamasenkane8414
    @josephmahlomolamasenkane8414 2 года назад +3

    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 Год назад

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

  • @manafalimahammed6767
    @manafalimahammed6767 2 года назад

    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.

  • @yelloroo
    @yelloroo 9 месяцев назад

    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 ?

  • @SMRTSENS
    @SMRTSENS 3 года назад

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

  • @MadByte
    @MadByte 2 года назад

    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 2 года назад

      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

  • @freddiesnijman
    @freddiesnijman 4 года назад

    Excellent 😎

  • @neeruchaudhary2982
    @neeruchaudhary2982 3 года назад

    Can we use this for measuring drill force??

  • @mfarhanmfarhan9688
    @mfarhanmfarhan9688 3 года назад

    What software you use for the schematic of load cell arduino and hx711 module?

  • @carlos.galhano
    @carlos.galhano Год назад

    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.

  • @bigfellamal
    @bigfellamal 2 года назад +1

    Can you build a 4 cell wheatsone bridge for 4 wire load cells?

  • @nguyentram3958
    @nguyentram3958 2 года назад

    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!

  • @marianodiaz461
    @marianodiaz461 2 года назад

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

  • @chali272
    @chali272 Год назад +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,

  • @r0xanna99
    @r0xanna99 6 месяцев назад

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

  • @mohammedhammouda2692
    @mohammedhammouda2692 2 месяца назад

    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.

  • @wesley191095
    @wesley191095 3 года назад +3

    Hello from Brazil. Great job! This video is the best I have watched about load cells. But how could I connect two or more Four Wire Load Cell?

    • @IndrekL
      @IndrekL  3 года назад +2

      It would be easiest to use one HX711 module per four-wire load cell.

    • @kalaanakal1725
      @kalaanakal1725 2 года назад

      @@IndrekL Hello sir when i run the program in terminal it shows load output value : nan . How to solve it

  • @julienvalentin8396
    @julienvalentin8396 2 месяца назад

    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

  • @MohamedAfzal
    @MohamedAfzal Год назад +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??

  • @fusarifilippo
    @fusarifilippo Год назад

    @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! :)

  • @ivanrojascarrasco7521
    @ivanrojascarrasco7521 3 года назад

    hello dear Indrek. can i ask you a question please. i´m designing a force plate(the aim is to analyze jump force between feets and plate surface) but i realized that i two types of load cell. One of them is tighted with screws for both sides and other type just for one side like load cell for bathroom scales. Do you know wich configuration is better to read alternating force. thanks for your help. grettings

    • @IndrekL
      @IndrekL  3 года назад

      Hey! It's hard to tell. It would be better to experiment with them.
      Do I understand correctly that you want to measure both feet separately at the moment of jumping and then compare which one is stronger?
      The jump force is quite momentary. The laod cells measure by averaging measurements over time. You probably can reduce the time of the measurement but I don't know how accurate will it be. You only know if you test different load cells.

  • @Rajatkamble39
    @Rajatkamble39 3 года назад +1

    how do i use this to find impact load

  • @gocar7255
    @gocar7255 2 года назад

    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.

  • @fannyroussey4067
    @fannyroussey4067 3 года назад

    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  3 года назад

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

  • @niklasprobst5241
    @niklasprobst5241 3 года назад

    many thanks

  • @ahmadihsan
    @ahmadihsan 2 года назад

    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

  • @Eduard_Kolesnikov
    @Eduard_Kolesnikov 2 года назад

    очень хорошее обьяснение спасибо мужик

  • @sarfrazmohammad6180
    @sarfrazmohammad6180 3 года назад

    Very very nice