Arduino Scale with HX711 and 50kg Bathroom Scale Load Cells | Step by Step Guide.
Vložit
- čas přidán 16. 04. 2020
- Wiring diagrams for 4 x 50kg, 2 x 50kg, and 1 x 50kg.
In this video, I explain the three different ways to connect the 50kg bathroom scale load cells to the HX711 amplifier module and how to read the weight value with an Arduino. You can connect four of the load cells as a loop, two as a pair, or a single one with two external resistors.
Diagrams and pictures:
circuitjournal.com/50kg-load-...
Github page of the "HX711_ADC" library:
github.com/olkal/HX711_ADC
Buy from Amazon :
50kg load cells with HX711 module: amzn.to/3F4pc3z
Genuine Arduino Uno: amzn.to/2ZXfdsr
Resistor set: amzn.to/3bhwzIt
Male to male jumper wires: amzn.to/2TX0GZP
Wires: amzn.to/2zQj93q
(As an Amazon Associate I earn from qualifying purchases)
Buy from Aliexpress:
50kg Load Cells with HX711 Module: s.click.aliexpress.com/e/_AOZBU4
Arduino Uno Compatible Board: s.click.aliexpress.com/e/_AVaoKb
Resistor Set: s.click.aliexpress.com/e/_dTF...
Male to Male Jumper Wires: s.click.aliexpress.com/e/cnhvUw2c
Wires: s.click.aliexpress.com/e/_dWz...
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.
Music from CZcams audio library.
/ @natkeefe - Věda a technologie
I've been looking everywhere for how to use just a single one, and you not only explained it but made some diagrams. Thanks!
Huge thank you for explaining how to use 2 cells and 1 cell. There is a lot of info on 4 cell wiring in the internet, but almost no info on other configs
Man, thanks a lot. Not many people that explain about loadcell such as the 3 wire loadcell. God bless you man
I have spent hours looking for something like this online. I keep on coming back to it! Thanks so much. The presentation is incredibly well put together! Circuit tested and it worked!
hi i did the same thing as he did but when I put the weight I got the wrong result for example
when I put a weight of 1200 g =>>>> i have this result
Now, place your known mass on the loadcell.
Then send the weight of this mass (i.e. 100.0) from serial monitor.
Known mass is: 1200.00
New calibration value has been set to: 3.13, use this as calibration value (calFactor) in your project sketch.
Save this value to EEPROM adress 0? y/n
Value 3.13 saved to EEPROM address: 0
End calibration
***
To re-calibrate, send 'r' from serial monitor.
For manual edit of the calibration value, send 'c' from serial monitor.
***
Load_cell output val: 1209.92
Load_cell output val: 1225.28
Load_cell output val: 1225.28
Load_cell output val: 1225.28
Load_cell output val: 1240.64
Load_cell output val: 1245.44
Load_cell output val: 1256.64
Load_cell output val: 1255.36
.
.
.
Load_cell output val: 2963.20
Load_cell output val: 2950.08
Load_cell output val: 2933.76
Load_cell output val: 2947.84
Load_cell output val: 2943.68
Load_cell output val: 2949.12
Please share the code 👌
Great video. I've been working on a little project to transform an old bathroom scale into "smart scales" but didn't want to have to solder 12 wires into the "combinator" board that I have to then find out I had done it incorrectly. Showing the resistance between each wire and what to expect and more importantly "why", was a great aid. My load cells are in fact exactly the same as yours in terms of colour coding. I can't wait to get started this weekend! Once I've finished the project and I do a little write-up I will definitely recommend your channel!
Thanks!
Excellent brother. This worked perfectly on NodeMCU with my hacked bathroom scale
Very good Tutorial, best on the load cells out there! Thank you!
Glad it was helpful!
Brilliantly explained video! I’ll be keeping tuned in.
Awesome, thank you!
Thank you so much for this video. it really help me for my thesis
Clearly described and just what I needed for a project. Thanks for sharing 👍🏼 My project will sound different though 😉
😇 Thank you so much, the explanation was pretty detailed. I have been all over the internet for this...
Great respect for movies about weights.
Great job this was a great help for my little pet project that I was gonna work on.
Nice video! I just ordered this kit and going to build it, thanks for making the video! I will watch closely! Wish me luck.
have you made that.
I Just wanna thanks to you for share your knowlodge with us and this will help me with my school's projects more than ever cause I don't have real teacher's support and I need show this for him and I don't have any ideia where I've should start.. until now ♥️🇧🇷
Glad I could help!
Finally understandable explanation thank you so much
Very good tutorial pal. Keep it up
Thank you, that was so clean 👏
Very good video and much more detail which helps. Thank You
Finally... I founded. Thank You very much!
Thank you for the video i can use this sensor for my project
Thank you for the detailed video! For some reason my 3d printer was printing the load cell mounts completely solid with no opening at the bottom. To remedy this, I opened the STL files in Creo as a .prt and then saved it again as an .STL and it now prints correctly.
Maybe it depends on the slicer software. I used MatterControl and had no issues.
I found it on Thingiverse and I didn't design this part myself.
Indrek that’s a good point. I was using Cura for this project. Do you have a preferred layer height for good strength?
thank you for this great explanation!
very interesting 🤔 i just worked with a load-cell calibrated in newtons 🥳 thanks a lot
Its easy to understand you thanks for the video
Nice video... It will help me a new project I'm working on.. Thanks!
Thank you very much for this great video and for the explanation.
Glad it was helpful!
Excellent work sir. Thanks for the explaination.
dude, thanks for saving my ass at the last day of my project. huge respect.
Excellent tutorial, thnx!
Very cool and helpful presented for me thanks
Thank you very much, your tutorial is excellent!
Glad it was helpful!
Great video, thanks!
The complete video that illustrates all our Guidelines for the correct installation of Load Cells, Weight Indicators and Weight Transmitters within a Weighing System.
czcams.com/video/cQtKeXBC25Y/video.html
Brilliant, thank you!
Hi, This is very good video, no wit is time to got to the next level of tearing down smart scale which use bluetooth connection to send the data to the mobile app!
Good explanation
Thanks for sharing ❤
Hi, super good video with how to add a screen like you have or a smaller one
Lol this is what I am looking for recently
Cool video!
Great video!
Thanks!
you a real one
Hey, buddy, thank you so much!! You really helped to sort out this case. And you have a worthy assistant growing up :))
Excellent! Thank you! It look a while for me to understand how the 4 load cell arrangement is just a additive resistance (joined color 1 wires) and subtractive resistance (joined color 2 wires) across two sides of the two cells. I had to stare at it for a long time to really get it.
Thanks for sharing
Great video @indrek , I have a question , can I replace the load cells by just 4 strain gauges ?
Thank you bro.
So usefull thanks
THANK YOU
THANK YOU VERY USEFULL
You're welcome!
Thank you for your helpful tutorial.
Question: If you only stand on one side of the four cell circuit, is the result will be accurate?
This amazing! Quick question. How much energy does this setup use if left on for an hour?
Very Nice video
Hello, thank you so much for this tutorial. I am confused on one point-> in your video, when you wire your four weight sensors it appears the sensors are arranged (referencing the red wire) E+ upper left, A- upper right, E- lower right, A+ lower left. The wiring diagram on your video shows the same clockwise arrangement of E+,A-,E-,A+. However, the diagram connects white->white on the top sensors and bottom sensors & black->black on side sensors. When you wire in the video you have flipped, with black on top-bottom and white on side-side. Am I wrong/or missing something...or does this change not affect anything?
Hi there,
Thanks for your instructions which is really helpful. I am trying to use the same load cells with 4 cells designed. I am wondering about how can I power them as I am trying to use them with data logger. Could you please assist me with this?
Many thanks
Thanks for the great content, if I am getting negative from my sensor whar could be wrong
Great video!! 👍. Question, what is the difference between genuine Arduino and Arduino nano compatible board??
Thanks for detail making video. Can I ask how you connected the jumper cable with HX711 ?
If you were to apply a load to the sensors, would you notice a increase/decrease in the resistance that’s significantly different than 1 ohm? I think my cells are defective
Thanks for the video I need to make something to measure 1 mg to 1 g can I use this tools or the measurements wit this device isn’t going to be precise to 1 mg.
Thanks :)
Excellent work, congratulations!! if I wanted to activate a relay output from Arduino on a weight greater than 50Kg how could I do it?
thanks for the great video, really usefull, i would like to know how to reuse the calibration value so i do not have to calibrate it everytime i run the program
Hey!
After you have run the "HX711_ADC"->"Calibration" once then the calibration parameter has been written to the eeprom address 0.
Then you can open "HX711_ADC"->"Read_1x_load_cell" instead.
Uncomment line 28: EEPROM.get(eepromAdress, calValue);
Then it will read the calibration parameter from eeprom and you don't have to re-calibrate every time.
Hey, I've tried to write the command in line 28 in Read 1x load cell example but then I get " 'EEPROM' does not name a type" error message. How could I possibly resolve it?
@@rakabayuwana4830 Hey! The example code has changed since the video. It's not line 28 anymore.
Find this line:
//EEPROM.get(calVal_eepromAdress, calibrationValue);
and remove the two "//" in front of it.
Hi Indrek, many thanks for your very well prepared lecture. Can you do me a favour and explain to me, why the wiring, which you describe for the 4 loadcells, ensures the proper power supply and measurement. Somehow I cannot see there, why this circular wiring supplies the loadcells with the proper voltage.
Thanks in advance, Detlev
hi thank you for this wonderful video. Please do you have a code that display the load scale every 10 minutes. and thank you
Thanks for this perfectly explained video. I'm wondering, if a constant load on the cells does effect the durability of the device. I plan to use this scale to measure the weight of my lpg-bottle to determine the remaining gas. Do you think that this might gonna be a problem ? Thanks for your answer and videos.
It probably depends on the quality of the load cell. Possibly the cheap ones from China may deform over time. But I haven't tested them longterm like that.
Load cells are susceptible to some creep. The normal application is to zero shortly before weighing, and that gets you full accuracy. If you can occasionally lift the weight off of the scale and re-check zero, you can measure the creep and correct for it.
Thanks for the explanation. Is it possible to connect more than four load cells to the HX711 amplifier? If possible, is it possible to detect in which load cell the pressure ejection is?
Hey! Yes, the HX711 has two channels A and B. So you can connect 8 load cells to one HX711.
In a four cell circuit you can not detect the pressure on a single cell. If you wan to detect pressure on a specific load cell then you have to connect them one by one. In that case you can only connect two cells per HX711
Is there a good way to put some nice rubbery feet on the bottoms of the load cells? I want to build my own scale, but this would slide all around on a tile floor.
Thank you for video, it helped me.
one question, please, what do you think, supposing that between the plate with the four load cells and the arduino will be a cable of 2 meters, would be better that the hx711 to be on the plate or on the arduino?
the analog signal from the bridge is around 1mv and maybe will be not transmitted accurate.
Thank you
Plate of course
Thank you for your tutorial. How to connect the LCD screen with the board and what code should be added to display the index onto the screen? Could you please give more info about this and also the wiring diagram for adding the screen?
Hey! I didn't add screen to this tutorial since it depends which screen you have.
Every screen have it's own connection diagram and libraries.
@@IndrekL hi please can you upload the code with the screen ?
Thank you for this, would it be possible for you to make a video on how to add an Internet and bluetooth monitoring to this project, admittedly I dont have any knowledge of arduino but would like to understand and learn from a complete project that i can dissect slowly, thanks again
Teria como fazer uma esteira com pesagem dinamica de frascos.
Parabens pelos videos
Your accent is really cool, and I have no trouble understanding. Where are you from?
Awesome video!!
One question. What changes (if any) would have to be done in the code in order to use a single 200kg load cell insted of 4*50kg?
Hey! Code is the same but connections are simpler. I have another video about the 4--wire load cells:
czcams.com/video/sxzoAGf1kOo/video.html
In this video I am using a 20kg load cell, but the 200kg one is functionally identical.
@@IndrekL Thank you so much for the quick replay. Will make sure tu check it out. :)
Very nice :) how about 4 wires 4 load cell ? how to connect ?
Would I be able to use this with an s-type load cell for a more dynamic system? It still is Wheatstone. I have a system where the load oscillates between 500 lbs in tension and 500 lbs in compression multiple times per second. Based on the time it took for the measurement of your weight to get back to 0, I'm not sure this type of load cell/load cell amplifier would work.
Wauw. looks great! can i use 6 pieces of weight scale? i need 300kg. can i use B- und B+ for it?
thnaks , great video but i don't find HX711 amplifier in isis proteus ? can some one help me plz ?
I have just purchased an S-type load cell which has 5 output wires, will I be able to use this set up to take a reading? If so what is the fifth wire for?
I hope you can help, thank you
Anton
I would like to use I2C concept because i want to connect each load cell seprately to single arduino so do i need to keep each amplifier for each load cell or is it sufficient connecting each load cell separately to single amplifier, please suggest?
Did you discover significant drift over time? I'm finding up to 1kg error on a 3kg calibration weight after 15min.
great vid
Hey! I haven't measured it myself over long time, but I saw someones else's excel sheet over longer period and it did fluctuate. There was even a visible 24h cycle probable depending on temperature. Those 50kg load cells are meant for bathroom scales so they probably aren't very suitable for long term measurement.
hi love the video, super well explained, but if i could please get some help?, im getting a drift with my measurements, like when i dont change the weight i still see the measurement either go up o down constantly, what could i be doing wrong?, i've already cheeked my connections, and everything seems to be in order could i have some faulty sensors?
It is normal with those cheap sensors. Those are suitable for short term measurements - you set the zero point and then measure. They will also drift over time due to temperature changes during the day.
I have been struggling. Is there a piece to help the HX711 amplifier module to the loadcell wires?
Great video!!! Is IT possible to setup IT with GSM module so i can receive SMS on demand with actual weight of beehive?
Great video. I have one question, what is the problem if the load cell can't detect any Calibration it is still a 0 value? First, I already did but now it didn't get the calibration factor. The load cell, module, and wiring are good. I don't know what is that the problem
Very clear video tutorial. I bought all the parts and build exactly according to the steps. I am using the 4 sensor version. Resistance between E+ and E- is 2000 Ohms and resistance between A+ and A- is also 2000 Ohms. Running the calibration sketch, I get "nan" after tare and the known weight (483 grams) in my case). Any idea would be much appreciated.
Thanks for sharing
Usually nan means that there is a problem with wiring. If everything is connected correctly then try to solder the wires if you haven't done it yet.
@@IndrekL I have all wires soldered down. I copied every move you made. Using same hx711 and same leonardo. Still getting "nan". Help meeeee pleaseee
@@IndrekL Also checked the resistance between the opposing wires = 1.98 kOhm
GOAT!!!!!!!!!!!
Can you change the rate of the load cell amp from 10 to 80 hertz? I have the sparkfun HX711, and there is supposed to be a way to change the rate, but I don't know how. Thanks.
Hey! The "HX711_ADC" library has "setSamplesInUse" method. Maybe this sets the sampling frequency. I haven't tried it myself.
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????
Hi Indrek, very interesting tutorial. I was wondering would a half-bridge (2x 50kg) be sensitive enough to detect very small weight fluctuations (grams)? I was looking at other tutorials, but when they deal with small weights, they seem to use the rectangular load cell with the holes in the middle. Have you had any experience with load cells that involve small weight changes?
Hey! With four of those 50kg cells, I had accuracy about +-10 grams. With two it might be a little better.
if you need more accuracy than that then you probably should use those block-shaped load cells that are rated for a smaller range to get more accuracy.
@@IndrekL Thanks for your prompt response. I will give it a try using two of the 50kg load cells, and also the rectangular ones. I will let you know how it goes. Best of luck.
@@johanarcosmendez4680 Hey Johan, did you built the system with 2 50kg cells ? If yes, how was the accuracy ? Was it able to measure weight in grams ?
Hello. Really nice tutorial.
What can I do to be able to real time track the weight via sms?
If you have wifi available then you can send data over wifi. If not then you have to connect a gsm module to your Arduino to send the data over the mobile network.
Thanks and a like for the tutorial. I'm working on a logitech G25 steering wheel,
and I would like to connect (many have done so but there are no schemes) the load cell in question to the brake pedal.
Is it possible to receive support? It originally worked with "apelectric" cell and "DIView" software but it burned out. Now would I really like to use these by creating a new brake and calibrating them? Thanks in advance
Hey! If you have some specific questions then I can try to answer.
Hello, a query do you have the design of the housing that you did to the cell please, I need that to be able to print it in 3D, thanks for the video.
Great tutorial and just what I am looking for as I want to build some scales for monitoring the weight of my beehives. After calibrating and switching off the arduino, will the load applied be displayed when switching on the arduino later or will the scale re-tare? I am asking because I only want to read the scale once a week and therefore won't need to power the arduino constantly (or at least that's the plan for now). Thanks!
Hey! If you save the value your zero to the EEPROM then you don't have to re-tare.
@@IndrekL thanks for your reply! that's what I was thinking. Is there an example of that in one of the hx711 example sketches?
@@HothamsApiary The HX711_ADC has an example called "Presistent_zero_offset". This should be the one you need.
Basically, you need to save the value of LoadCell.getTareOffset() into EEPROM after the first tare. And then set the same value from EEPROM with LoadCell.setTareOffset(tare_offset_value_from_eeprom) when starting Arduino again.
@@IndrekL thanks for your help. I will give you a shout out and post a link to your video in my video I will be making about this beehives scale build.
I want to make this weighing scale for commercial purposes... can you help me with pcb layout and other arrangements.
I have sourced toughen glass and 3wire load cells..
hi good video bro, excuse me i have a question i need the load cell but for 200kg with the old bathroom scale how can i calibrate for that?
Nice Learning video... sir, can you make a video using same materials but to use one vibrator motor and use one off switch. I mean vibrator motor is off when it’s reach desire weight level. It’s like a feed hopper when vibrator start product is refill in the bang in this time load cell or weight Blance machine measuring the weight after fill the right point the vibrator motor should be stop.
Also using ON and Off switch... can it possible to make controlling programs to use Arduino Uno.
Is there any possibility of use 3 Load cells instead of four, maintaining the same precision???
Hi Indrek, thanks for your video!! I'm having problems though using the Calibration example with 4 connected load cells, the measurement is not even close to what I'm weighing.... I've checked all the wiring and tried with different known weights in the calibration process.
Thanks in advance for any advice!!
Got it, my problem was intermitency in cables continuity. I rewired and it worked just fine.
@@alejandromonsalvek.2014 did u solder it on board or just connected it directly?
@@bahrilnugroho1474 i soldered cell cables to pins and then connected these through a board
@@alejandromonsalvek.2014 okey i'll try it , thankyou alejandro