Wednesday, February 10, 2016

Digital scales used load cell sensor and HX711 module


This article will discuss a simple measurement system which is one of the tasks subjects Instrumentation namely digital scales. This object's mass measurement system using the sensor load cell, module and Labview HX711 as a viewer. Here is the hardware of the system:


The sensor used is 2 kg load cell and as a reinforcement of the sensor output load cell used HX711 module which is a module voltage amplifier and ADC (Analog to Digital Converter). As a data processor, it is used to display information Arduino and measurement values used LabView. Here is a system block diagram:



Each block explanation are as follows:
  1. Load cell which is able to change the weight sensor pressure transducers (force) into an electrical signal. There are three ways to change the value of the load cell pressure (force) received into a measurement value, namely hydraulic load cell, pneumatic load cell and strain gauge load cell. In this digital weighing system used a strain gauge load cell. The output of this sensor in the form of voltage in mV legible order to change the resistance value represents weight of the object.
  2. HX711 Module is a module that allows us to read load cell in the measurement of weight. This module serves to amplify the output signal from the sensor and converts analog data into digital data. By connecting it to the microcontroller, we can read the change in resistance of the load cell. After the calibration process we will gain weight measurement with high accuracy.
  3. The Arduino as a data processor will read the data output of the module HX711. Because the output of the module is already in the form of gram HX711, this causes fairly mild arduino workload. Results of earlier readings subsequently rounded to the nearest 0.5 and sent to Labview.
  4. Labview will recieve data from arduino and will display the data on PC monitor.

The HX711 is a small module offers a lot of convenience. The module has three grades reinforcement, i.e. gain of 32, 64 and 128. However, these digital scales used for a gain of 128 are by connecting the output of the sensor on channel A module. This module uses the interface "two wire" that clock and data to communicate. To facilitate reading data from HX711, it is also provided a library that can be used. The other advantages of this module HX711 is a simple structure, easy to use, the results are stable and reliable, has high sensitivity, and is capable of measuring changes quickly. To obtain more complete information about HX711 modules please see here.


For the interface, you can choose to use the assembled LCD bundled with hardware digital scales. But in this system, I use LabView to display the measurement results of the system. Here is the interface of digital scales using labview:


And this is the VI diagram:

Finally.. to see the system as a whole, please see the following video:



You can get the arduino code and labview diagram in this link


Referensi:
Putra, Agfianto Eko. 2015. Basic Sensor and Transducers. Materi Kuliah Instrumentasi. Yogyakarta.
https://learn.sparkfun.com/tutorials/getting-started-with-load-cells
https://cdn.sparkfun.com/datasheets/Sensors/ForceFlex/hx711_english.pdf 
https://www.sparkfun.com/products/13230?_ga=1.24748345.2083688779.1444095746
https://learn.sparkfun.com/tutorials/load-cell-amplifier-hx711-breakout-hookup-guide

81 comments:

  1. Great work! Is there any way that you can post your Arduino code and LabVIEW VI? I am trying to use the Labview for Arduino toolkit and also a HX711 load cell amp to run a stepper motor and take load cell readings. I have the stepper running perfectly, but I am not sure how to program the load cell in Arduino and Labview. Any help you could provide would be greatly appreciated!

    ReplyDelete
    Replies
    1. Hi Josh.. I can share my labview diagram to your email.

      Delete
    2. Hi! Can you share it with me too please it will help a lot! My email is mounia.ab@hotmail.com
      Thank you!

      Delete
    3. Hi! I really need your help. Can you email me too :) @fatheenaliaa95@gmail.com

      Delete
    4. puedes enviarlo al mio xfa es de seria de gran aportacion. mi correo es ahizer18@gmail.com

      Delete
    5. Kindly share at vikrant.guleria@hotmail.com

      Delete
  2. My email is joshcrews@msn.com. Thanks so much!

    ReplyDelete
  3. hi.my mail :dxtri1994@gmail.com.thanks so much

    ReplyDelete
  4. hi.my mail :dxtri1994@gmail.com.thanks so much

    ReplyDelete
  5. hello, Nice demonstration. an you please send me the labview VI?

    thanks

    ReplyDelete
  6. my email address is solaoyel@yahoo.com

    ReplyDelete
  7. Wonderful work. Kindly share your code to my id: vikas.bs.2010@gmail.com

    Thank you

    ReplyDelete
  8. hello, very good job.
    I'm trying to accomplish the same thing with other sensors simultaneously from labview and have not succeeded. if you could share your code I would appreciate it.

    th3mauriiix@gmail.com

    ReplyDelete
  9. Hello.
    Nice application. Please can you send me the block diagram of this VI at patrascoiu@mail.com.
    Thanks so much

    ReplyDelete
  10. Hello, nice work.
    Please can you send me the Arduino code and LabVIEW VI, my email is wildcoast94@gmail.com

    ReplyDelete
  11. Hi, Can you send me block diagram and arduino code please, My email is kamonsumongkon@gmail.com Thank you so mush

    ReplyDelete
  12. Hi, Can you send me block diagram and arduino code please, My email is kamonsumongkon@gmail.com Thank you so mush

    ReplyDelete
  13. Hi! Great work. Could you kindly share with me your block diagram and arduino code please. :)

    My email is stephanielsa94@gmail.com.

    Thank you!

    ReplyDelete
  14. good job! can you share me your block diagram, i have a proyect to do!

    ReplyDelete
    Replies
    1. my email is alanmartinezleal@hotmail.com
      i need the block diagram. please

      Delete
  15. Share with me your arduino code please...
    kaio.cesarsantos@gmail.com

    ReplyDelete
    Replies
    1. Hi.. you can get it on this site: https://github.com/bogde/HX711

      thanks :)

      Delete
  16. Hi dyah! Can you send me the labview program i am doing a similar experience and it will help a lot! My email adress is mounia.ab@hotmail.com
    thanks a lot

    ReplyDelete
  17. buen aporte ingeniero es un buen programa yo quiero realizar esto compre el modulo y consegui la celda de carga, me puede enviar el VI LABVIEW Y SU CODIGO PORFAVOR para como funciona ya que soy nuevo en este ramo de aprendizaje mi correo es cordv_rafael@hotmail.com gracias

    ReplyDelete
  18. Would you mind sharing your code..my email is akhmalhadiazhar@gmail.com
    i'm working on a project using the load cell+HX711+LabView..thank you

    ReplyDelete
  19. Compression load cell has two types like CMP of monolith Construction, CMP-SP. Each has made with high nickel alloy steel. Some of the applications compression load cell used in object weighing, production lines, test systems and Torque supports.

    ReplyDelete
  20. please send me your labview VI code thanks. My e-mail is hormazabaljm@gmail.com

    ReplyDelete
  21. Great work! i am doing a similar experience and have some problem with labview. I hope you will help me a lot by send me a picture of your labview block diagram, please. My email is anhlee1506@gmail.com
    thank you so much

    ReplyDelete
  22. Hi dyah! Can you send me the labview program and software. i am doing a similar experience and it will help a lot! My email adress is kpandre9@gmail.com
    thanks a lot

    Reply

    ReplyDelete
  23. please send me your labview VI code thanks. My e-mail is jap241279@yahoo.es

    ReplyDelete
  24. please send me your labview VI code thanks. My e-mail is jap241279@yahoo.es

    ReplyDelete
  25. This is really very interesting. Using load cells are really helpful to balancing the loads and forces. 100% that are restrict the overload and save from the broken stage. S Type load cell and digital load cell are producing
    accurate output to measure the load cell. Thank you.

    ReplyDelete
  26. Hi! Can you share it with me too? please! My email is
    jvasquez.idea@gmail.com
    Thank you!

    ReplyDelete
  27. I'm working on a similar project and do not quite understand the connection with the HX711 with LABVIEW. Could I share the program VI. My email is alejo1887@gmail.com. I'll be obliged greatly

    ReplyDelete
  28. GOOD WORK ... I AM MAKING A SIMILAR PROJECT BUT I DO NOT UNDERSTAND THE PART OF THE HX711 PLEASE YOU WOULD HELP ME WITH THE VI LABVIEW PLEASE MY MAIL migueljuegos1@hotmail.com... Thank you

    ReplyDelete
    Replies
    1. Hi, I uploaded the vi diagram in this post. please check it.

      Delete
  29. Biarkan kode Arduino, silahkan hubungi Labview. krisada_mecha@hotmail.com

    ReplyDelete
  30. Hi! Can you share it with me too? please! My email is andrejkuprin@gmail.com

    ReplyDelete
  31. can you share code ? thanks my email is chattachaii@gmail.com

    ReplyDelete
  32. Hi can you share the Arduino code and the Labview programm? My email is johannes.biberach123@gmail.com
    Help me please

    ReplyDelete
  33. Hi dyah! Can you send me the labview program i am doing a similar experience and it will help a lot! My email adress is harvy555@yandex.ru
    thanks a lot

    ReplyDelete
  34. Could you kindly share with me your arduino code and labview blok diagram please. :)
    send my email akangbadunk631@gmail.com

    ReplyDelete
    Replies
    1. I upload it on:
      https://drive.google.com/open?id=0B1-roNyTrpYzWC1rSU9tSlhOdEE

      hope this help.

      Delete
  35. Hi ! How are you? Could you sned me your arduino code and labview program please?.
    email: bladi1394@gmail.com

    ReplyDelete
    Replies
    1. sorry for late response.
      you can download it on here:
      https://drive.google.com/open?id=0B1-roNyTrpYzWC1rSU9tSlhOdEE

      thanks.

      Delete
  36. Hi, Great Work!! I'm stuck in the part of interfacing HX711 with labVIEW. Having difficulty in understanding SPI port stuff. Please can you send me this VI? Email: abhishekbehera04@gmail.com

    ReplyDelete
    Replies
    1. please download it from this link:
      https://drive.google.com/open?id=0B1-roNyTrpYzWC1rSU9tSlhOdEE

      hope this help. :)

      Delete
  37. This comment has been removed by the author.

    ReplyDelete
  38. Saya ingin mengubahnya menjadi kekuatan. Aku harus melakukannya. krisada_mecha@hotmail.com

    ReplyDelete
  39. Hi! hope you are doing well. I am thankful for your support of this project but I need some help. I have already calibrated my load sensor on arduino but what is the exactly arduino code to use with the labview coding? I tried with the arduino code you submitted to google drive but when using it with the labview code it does not work. thanks in advance

    ReplyDelete
  40. This comment has been removed by the author.

    ReplyDelete
  41. can i interface hx711 load cell module with myrio only without arduino

    ReplyDelete
  42. can you share code ? thanks my email is rg.naveen@gmail.com

    ReplyDelete
  43. can you please tell the circuit diagram. i want to know at which pin of arduino is connecter to Hx711 's DT & SCK pins

    ReplyDelete
  44. can you please tell the circuit diagram. i want to know at which pin of arduino is connecter to Hx711 's DT & SCK pins

    ReplyDelete
  45. Good job!!

    please send me your labview VI code thanks. My e-mail is jengenharia75@gmail.com

    Regards,

    ReplyDelete
  46. Can you share how you wired the circuit?

    Thanks in advance for your answer. mvdbmvdh@gmail.com

    Regards,

    ReplyDelete
  47. Hi! Great work. Could you kindly share with me your block diagram and arduino code please. :D

    My email is kiara.jofre.info@gmail.com

    Thanks!

    ReplyDelete
  48. Good job!. Could you share with me your vi and arduino code? Pls.

    My email is iagojoseferreira@hotmail.com

    Nice blog!

    ReplyDelete
  49. This comment has been removed by the author.

    ReplyDelete
  50. This comment has been removed by the author.

    ReplyDelete
  51. Hi, good afternoon, you can share the labview code with me, I have a digital bullet, but reading in labview does not work, but I'm working on the 2013 version of Labview, what can I do?

    I appreciate your help

    my email is osomcacr@gmail.com

    ReplyDelete
  52. Hello, I deployed the error -1073807339, could you help me?

    ReplyDelete
  53. Hi Dyah Artyas!

    Can you please e mail me your drawings & Diagrams along with Arduino Codes, etc. Labview diagrams? Thank you very much

    aknaval@gmail.com or medicispharma@yahoo.com

    ReplyDelete
  54. This comment has been removed by the author.

    ReplyDelete
  55. You made such an interesting piece to read, giving every subject enlightenment for us to gain knowledge. Thanks for sharing the such information with us to read this... https://imada.com

    ReplyDelete
  56. hi Could you please send me your labview VI code
    thanks.

    My email is maitha.alhosani20@gmail.com

    ReplyDelete
    Replies
    1. and the arduino coded if possible also
      My email is maitha.alhosani20@gmail.com

      Delete
  57. Good job dyah artyas!!

    if you dont mind,could you send me your labview VI code and labview diagram.thanks.

    My e-mail is : faisalhalim007@gmail.com

    ReplyDelete
  58. Hello..
    Nice video and project.
    Can you share the labview software to my email.

    email: epu_ixora@yahoo.com

    ReplyDelete
  59. Hello
    Please can you share your labview file (front and block panel). It would help me alot for my project.
    Thank you!
    Email= karimfps@gmail.com

    ReplyDelete
  60. Hello..
    Nice video and project.
    Can you share the labview software to my email.

    email: ilkka.valimaa@helsinki.fi

    ReplyDelete
  61. Hello
    I am unable to connect labview to arduino.
    Your video cannot be watched. Can you send me a new video? By sending it by email?
    email : borirak35@gmail.com
    thank you

    ReplyDelete
  62. Buen día, podría proporcionarme su VI LABVIEW Y SU CÓDIGO POR FAVOR, me seria de gran utilidad, gracias

    ReplyDelete