LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PLEASE HELP IN WRITING A CODE FOR LOAD CELL IN LABVIEW 2018 USING ARDUINO AND HX711

Sir we are working on our college project. Our project is an API for washing machine.As every washing machine works on a selected load.The only part we are struck with is we are unable to write the code for reading a value from the 20 kg load cell.We are unable figure the correct code.Please help us sir we have been trying but unable to progress.We got to know that it senses the pressure in milli volts but we are unable to convert it to weight in kilo grams.Please sir we need your help!!!!

0 Kudos
Message 1 of 13
(2,891 Views)

PLEASE HELP ME WITH WRITING A PROGRAM IN LABVIEW FOR MEASURING WEIGHT FROM A LOAD CELL USING ARDUINO WITH HX711 IN LABVIEW 2018

 

0 Kudos
Message 2 of 13
(2,904 Views)

WELL, STOP SHOUTING.

 

We are not going to write your code for you -- there are plenty of sites on the Web with pre-written code.

 

This is a site for using/learning LabVIEW.  We cannot help if we do not know/understand your LabVIEW question.  Post your LabVIEW code (and anything else you think might be relevant) -- please to not post pictures of code, neither LabVIEW nor Arduino.

 

Bob Schor

0 Kudos
Message 3 of 13
(2,890 Views)

What is an HX711?  Is that the load cell?

 

Do you have the spec sheet for the load cell that tells you how many mV/V output at the 20 kg load point?

 

Are you reading this using an NI DAQ card in LabVIEW?  Or using the Arduino?

 

It's important to know at to whether you are asking a LabVIEW question or an Arduino question.

 

PS:  Don't create multiple threads for the same question.

0 Kudos
Message 4 of 13
(2,883 Views)

Hi Charshith,

 

and please don't ask the same by sending PMs!

 

We got to know that it senses the pressure in milli volts but we are unable to convert it to weight in kilo grams.Please sir we need your help!!!!

Read the manual for that load sensor. It should contain the solution to this problem…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 13
(2,873 Views)

Based on Avia Semiconductor’s patented
technology, HX711 is a precision 24-bit analogto-digital converter (ADC) designed for weigh
scales and industrial control applications to
interface directly with a bridge sensor.
The input multiplexer selects either Channel A
or B differential input to the low-noise
programmable gain amplifier (PGA). Channel A
can be programmed with a gain of 128 or 64,
corresponding to a full-scale differential input
voltage of ±20mV or ±40mV respectively, when
a 5V supply is connected to AVDD analog power
supply pin. Channel B has a fixed gain of 32. Onchip power supply regulator eliminates the need
for an external supply regulator to provide analog
power for the ADC and the sensor. Clock input is
flexible. It can be from an external clock source, a
crystal, or the on-chip oscillator that does not
require any external component. On-chip poweron-reset circuitry simplifies digital interface
initialization.

0 Kudos
Message 6 of 13
(2,845 Views)

Hi Charshith,

 

sir but once help me out we have only 3 days left.but next time i wont ask such things in PM!

Didn't I already told you twice not to ask LabVIEW questions by PM?

I'm not responsible for your task planning: when there are only 3 days left you (and your co-students) need to work harder!

 

On your problem:

What have you tried so far?

How does your VI look like?

Why don't you just simply attach a link to the HX711 instead of copying the text from the manual? (The Hx711 is not important as it is connected to your Arduino and you don't need to handle it from LabVIEW code…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 13
(2,840 Views)

we are using arduino uno sir

  • Capacity : 20kg / 44 lbs
  • Recommend Excitation Voltage : 5V DC
  • Max Excitation Voltage : 10V DC
  • Rated Output : 1 ±0.15mV/V
  • Overall Precision : 0.03%F.S
  • Input Resistance : 1115 ± 20 Ohm
  • Output Resistance : 1000 ± 20 Ohm
  • Insulation Resistance : 2000 Ohm
  • Working Temperature : -20°C ~ +60°C
  • Compensated Temperature Range : -10°C ~ +65°C
  • Safety Overload : 120%
  • Total Size : 80 x 13 x 12mm (L*W*T)
  • Thead Hole : M4 Screw
  • Cable Length : 150mm/ 6''
  • Material : Aluminium Alloy
  • Weight : 32g
0 Kudos
Message 8 of 13
(2,837 Views)

Hi Charshith,

 

we are using arduino uno

You already said so.

 

Capacity : 20kg / 44 lbs …

I guess these are the specs of your load sensor.

What should we do with those information?

 

How does your circuit look like?

What have you tried so far?

Where are you stuck?

What is your specific LabVIEW problem?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 9 of 13
(2,834 Views)

this is our project vi sir.we are planning to make it operate on a valid load.so trying to aquire load data sir 

0 Kudos
Message 10 of 13
(2,832 Views)