3
Most read
4
Most read
10
Most read
Phone Number: 1-800-550-0280
Contact Email: contact@tacunasystems.com
Website: https://tacunasystems.com/
How to Build Digital Weighing Scale
Introduction
This article will take you through a simple guide on how you can build up a
simple digital weighing scale, maybe for fun, learning or as part of your
school projects.
Also, the terms used are simplified so that a layman can at least try to un-
derstand them and get the device ready in no time. However, you will still
need a little understanding of basic electronics and computer programming.
Furthermore, the components used for this article can easily be obtained
from online through brands such as Tacuna Systems, Omega Engineering,
Vishay PG transducers, Sparkfun, Arduino and many more.
So, follow me as I walk you through this guide.
What Is A Digital Weighing Scale?
You have definitely seen a digital weighing scale somewhere at home or
retail stores used for inventories, where the object to be weighed is placed
on the device and its weight is displayed as numbers with its unit of meas-
urement besides it as shown in the figure below. Also, a popular type of
digital weighing scale is the bathroom weighing scale.
Digital Weighing Scale
A digital scale is, therefore, an electronically operated device that basically
displays the weight/size of an object placed on it. It displays the weight as
numbers and digits by using a liquid crystal display or an array of 7 seg-
ment display.
The next section describes the components needed to set up a simple digi-
tal scale, it also describes the function of each of these components. This
will help to better understand how to couple them together later on.
Oh, and before you carry on we also offer a range of scales for every pur-
pose, check out below:
ď‚· AnyLoad Precision Balance Scales
ď‚· AnyLoad Bench Scales
ď‚· Amcells and AnyLoad Crane Scales
ď‚· Amcells and AnyLoad Floor Scales
ď‚· AnyLoad Load Bars
ď‚· AnyLoad Pallet Jack Scales
The Basic Components Required
And Their Functions
1. A Load Cell Transducer: This is a device that senses an applied
weight to give an observable output quantity that is proportional to
the applied weight. There are different types of load cells and not all
load cell sensors are transducers, but all load cell transducers are
sensors. In case you are confused, a sensor is a device that detects
a physical phenomenon such as a force and then produces a change
in a physical parameter. A transducer, on the other hand, senses this
physical phenomenon and then converts it to an electrical output sig-
nal. Examples of load cells are the pneumatic load cell, hydraulic
load cell, strain gauge load cell, capacitive load cell etc. The most
common type used in digital scales is the strain gauge load cell. The
strain gauge load cell is a transducer device, that senses a weight
placed on its load application point and then gives an electrical signal
output that is proportional to the weight1. This device has an underly-
ing mechanism that enables it to sense and transduce weights, it is
called the strain gauge. The strain gauge is a resistive and elastic
metal foil material that is fixed and attached to the bending parts of
the load cell as shown in the figures below.
1. A strain gauge load cell is therefore made up of the physical and
electrical connection of one or more strain gauges. Electrically, the
strain gauge(s) are set up as a wheatstone bridge in connection with
other strain gauges or with resistors. The diagram below which
shows the electrical connection between four strain gauges of a load
cell helps to explain this better.
The Electrical
Connection of Four Strain Gauges into a Wheatstone Bridge
1. The Electrical Connection of Four Strain Gauges into a Wheatstone
Bridge This, therefore, means that in a load cell, these strain gauges
can be electrically connected into three distinct types of configura-
tions which are:
ď‚· The Full bridge, with all the arms of the Wheatstone bridge, con-
sisting of strain gauges (SG).
ď‚· The Half-bridge, with two alternating arms of the bridge, made up
of SG
ď‚· The Quarter-bridge, in which just one of the arms of the bridge is
made up of SG and the remaining arms consist of resistors and a
dummy gauge is placed opposite the SG. Based on the explana-
tions and the figures above, you should, therefore, be able to un-
derstand that when a weight/object is placed on the load cell, it
makes the strain gauges to change their dimensions and re-
sistance, hence an electrical voltage is produced at its output.This
load cell output is rated in mV/V and you can get more specification
details about the device through its datasheet.
2. The Signal Conditioner: This is a circuit device whose function is to
amplify the load cell output voltage and filter both its input and output
signals. Amplification is needed since the output of the load cell is al-
ways very small, measured in mV as stated under the explanation of
a load cell. The process of application is done by the amplifier. A sim-
ple amplifier is the Op-Amp which by default has a theoretical infinite
open-loop gain, which practically means the gain is very high but not
infinite. This gain can then be regulated by using feedback networks
to any of its inputs. The feedback networks can consist of resistors,
capacitors, and inductors of certain values which help to set the max-
imum gain value of the amplifier. Load cell signal processing requires
a special type of amplifier called the Instrumentation amplifier, which
is the most efficient type to use. It offers better amplification charac-
teristics which a normal Op-Amp does not possess. The Filter circuit
can also be embedded with the amplifier together on a single chip.
This circuit serves to filter off noise signals and EMI that might com-
promise the value of the load cell’s amplified signal. It decouples AC
signals from the DC output signals.
Read about: Tacuna Systems load cell signal conditioner
3. The Microcontroller: This is the central processing unit of the whole
digital scale. The output of the signal conditioner is sent to the analog
input of the microcontroller, which then performs analog to digital
conversion on this signal. It should be noted that some signal condi-
tioner also has an inbuilt analog to digital converter circuit embedded
together with the amplifier circuit and the filter circuits on a single
chip. This will then go to reduce the workload on the microcontroller,
as the output of the signal conditioner is sent to the digital input of the
microcontroller. The microcontroller will then read the clocked digital
pulses from the conditioner so as to retrieve the data to be processed
in determining the weight of the object placed on the load cell. Fur-
thermore, after processing either of the analog or digital signals from
the signal conditioner, the microcontroller computes the weight and
then displays it through an LCD connected to it.
4. The Liquid Crystal Display: This is wired to the microcontroller to
display the weight.
Coupling These Components
The physical coupling of this project is done using each of the following
components:
ď‚· A 5kg load cell
ď‚· An HX711 amplifier
ď‚· An Arduino Uno Microcontroller Unit (MCU)
While developing this article, I was unable to lay my hands on an LCD for
displaying the weights measured. However, I will use the Arduino IDE Se-
rial Monitor to display the readings.
I have divided the process of building up this simple device into two parts;
the hardware setup and the code.
The Hardware Setup
The 5kg load cell used for the purpose of these article has four wires (some
load cells have 5 wires). The wires are labeled as follow, according to the
load cell’s datasheet.
ď‚· Red wire is the positive power supply
ď‚· White wire iis the Ground of the power supply
ď‚· Black wire is the positive output
ď‚· Green wire is the negative output
In case of any extra wire, which might be any color such as blue or yellow,
it represents the ground wire for EMI which should be connected to the
power supply ground.
I will like to re-emphasize again that the wiring diagram depends on the
datasheet of the load cell which you purchase, ensure to always request a
datasheet from your supplier when purchasing a component.
Now, these wires are fixed to the appropriate pins of the HX711 amplifier
device as shown in the sets of pictures below. The HX711 is a special am-
plifier that has 2 channel inputs A and B, each with different amplifier gains
that can be adjusted by a computer program. The channel A has a gain of
128 and 64, while the channel B has a fixed gain of 32.
Also, you should note that this HX711 device matches the description of
the type of signal conditioning device that has an amplifier, filter, and ADC
embedded together on a single chip. This, therefore, means that its data
output goes to the digital input pin of our microcontroller instead of its ana-
log pin.
Therefore, connecting the HX711 and the load cell is as follow:
ď‚· Red wire/Positive supply -> E+
ď‚· White/Negative Supply -> E-
ď‚· Green/Negative Ouput -> A-
ď‚· Black/Positive Output -> A+
Now, the HX711 is connected to the Arduino MCU as follow:
ď‚· VCC -> 5V supply on Ardunio
ď‚· GND ->GND
ď‚· CLK -> D2
ď‚· DOUT -> D3
How to Build Digital Weighing Scales
The Code
Now, that the hardware has been set up, the program code is then up-
loaded into the MCU from your PC through the Arduino IDE. The process
and the code is subdivided into two which are the calibration code and the
weighing code.
The calibration code is the program used to calibrate the load cell trans-
ducer. Calibration simply means a way of configuring our load cell output to
always give a precise value of weight and at the particular S.I unit such as
Kilograms, Grams, Tons, Pounds etc.
The HX711 library code contains a good guide on how to calibrate the load
cell and it was the guided procedure that was followed in this article.The
calibration code is shown below
The results of the calibration process are shown below in the Serial Monitor
of the Arduino IDE
The weighing code is then uploaded to the MCU after the calibration pro-
cess is completed and you have obtained the value of the offset reading
and the scale factor. This code and the results are shown below. The re-
sults are shown for a 500g weight and a 1kg weight respectively.
Phone Number: 1-800-550-0280
Contact Email: contact@tacunasystems.com
Website: https://tacunasystems.com/

More Related Content

PPT
Automatic control of street light using LDR
PDF
5x7 matrix led display
DOCX
Project report on Vehicle accident and Alcohol sensing alert with Engine Lock...
DOCX
Digital Weight Scale
PDF
Wireless power-theft-monitering-ppt
PDF
Clippers AND Clampers
PPTX
prepaid energymeter
PDF
PROJECT ON AUTOMATIC TRANSFER SWITCH (ELECTRICAL).pdf
Automatic control of street light using LDR
5x7 matrix led display
Project report on Vehicle accident and Alcohol sensing alert with Engine Lock...
Digital Weight Scale
Wireless power-theft-monitering-ppt
Clippers AND Clampers
prepaid energymeter
PROJECT ON AUTOMATIC TRANSFER SWITCH (ELECTRICAL).pdf

What's hot (20)

PPTX
Simple Automatic Water Level Controller by using ic 555 timer.
DOCX
Electrical and electronics engineering projects list
PPTX
Power Theft Detection Using IOT
PPTX
Firealarm System
PPTX
Demodulation of dsb sc costas receiver
PPTX
Fire fighting robot
PPTX
Power factor improvement
PPTX
Electronics project presentation
PPT
PASSWORD BASED ON/OFF CKT BREAKER
PPTX
Automatic Streetlight
PDF
Project report on bidirectional visitor counter & home automation
PDF
Automatic railway gate control
DOCX
Density based traffic light control
PPTX
Automatic railway gate control using arduino uno
PPT
Automatic meter reading
PPT
Schmitt trigger circuit
PDF
Intelligent jammer
PPT
Vlsi design mosfet
PDF
PROJECT REPORT ON WIRELESS POWER TRANSMISSION
PPTX
Underwater Wireless Communication
Simple Automatic Water Level Controller by using ic 555 timer.
Electrical and electronics engineering projects list
Power Theft Detection Using IOT
Firealarm System
Demodulation of dsb sc costas receiver
Fire fighting robot
Power factor improvement
Electronics project presentation
PASSWORD BASED ON/OFF CKT BREAKER
Automatic Streetlight
Project report on bidirectional visitor counter & home automation
Automatic railway gate control
Density based traffic light control
Automatic railway gate control using arduino uno
Automatic meter reading
Schmitt trigger circuit
Intelligent jammer
Vlsi design mosfet
PROJECT REPORT ON WIRELESS POWER TRANSMISSION
Underwater Wireless Communication
Ad

Similar to How to Build Digital Weighing Scales (20)

PDF
How to Build a Digital Weighing Scale
PDF
Inbuilt Digital Weighing System Inside Travel Bag
PDF
Construction of digital voltmeter by Bapi Kumar Das
PDF
Free Ebooks Download
PPTX
POSITION ANALYSIS OF DIGITAL SYSTEM
PPTX
project - Copy
PDF
Electronics workbench tutorial for simulation of circuits
PPT
IDT Wireless Power IDTP9020, IDTP9030 IC and Evaluation Kit Overview
PPTX
A Portable Wearable Tele-ECG Monitoring System.pptx
PDF
Force Sensor Data Acquisition
PDF
IRJET- Arduino Nano based All in One Meter
DOC
Real time parameter estimation for power quality control and intelligent prot...
PDF
Ekeeda - Instrumentation Engineering
PPTX
mechatronics presentation ppt enter.pptx
PDF
Internship Report (VTOL) (2)
PPT
Week1&2 comm., for engineering technicians
DOC
GSM_BASED_VOTING_SYSTEM
PPTX
Major project presentation
PDF
Unit IV DA & AD Convertors and Phase Locked Loop
PDF
Digital Implementation of Paralleling DC_DC conv
How to Build a Digital Weighing Scale
Inbuilt Digital Weighing System Inside Travel Bag
Construction of digital voltmeter by Bapi Kumar Das
Free Ebooks Download
POSITION ANALYSIS OF DIGITAL SYSTEM
project - Copy
Electronics workbench tutorial for simulation of circuits
IDT Wireless Power IDTP9020, IDTP9030 IC and Evaluation Kit Overview
A Portable Wearable Tele-ECG Monitoring System.pptx
Force Sensor Data Acquisition
IRJET- Arduino Nano based All in One Meter
Real time parameter estimation for power quality control and intelligent prot...
Ekeeda - Instrumentation Engineering
mechatronics presentation ppt enter.pptx
Internship Report (VTOL) (2)
Week1&2 comm., for engineering technicians
GSM_BASED_VOTING_SYSTEM
Major project presentation
Unit IV DA & AD Convertors and Phase Locked Loop
Digital Implementation of Paralleling DC_DC conv
Ad

More from Tacuna Systems (20)

PDF
Continuum Robots and Tactile Sensors
PDF
Load Cells and Force Sensors in Robotics
PDF
Advantages and Applications of Wireless Load Cells
PDF
Reducing Noise in Very Sensitive Load Cell Applications
PDF
Load Cell Mounting and Installation Best Practices
PDF
A Guide on Handling, storage and Preservation Do's and Don'ts in Force Measur...
PDF
An Overview of Load Cells
PDF
Installing and Mounting Piezoelectric Force Transducers
PDF
Comparing Strain gauges to Piezoelectric Sensors
PDF
All About Electrical Connections of Force Transducers
PDF
Measuring Forces in the Force Shunt
PDF
A Complete Force Measurement Glossary
PDF
Force and Weight Measurement Resources
PDF
Calibrating the Measuring Chain
PDF
What is a Load Cells Minimum Weight?
PDF
All About Load Cell Weight
PDF
An In-Depth look at Load Cell Materials
PDF
The Essential Guide to Load Cells
PDF
Load Cell Frequently Asked Questions
PDF
Hydrodynamic Characteristics of Freshwater Snails
Continuum Robots and Tactile Sensors
Load Cells and Force Sensors in Robotics
Advantages and Applications of Wireless Load Cells
Reducing Noise in Very Sensitive Load Cell Applications
Load Cell Mounting and Installation Best Practices
A Guide on Handling, storage and Preservation Do's and Don'ts in Force Measur...
An Overview of Load Cells
Installing and Mounting Piezoelectric Force Transducers
Comparing Strain gauges to Piezoelectric Sensors
All About Electrical Connections of Force Transducers
Measuring Forces in the Force Shunt
A Complete Force Measurement Glossary
Force and Weight Measurement Resources
Calibrating the Measuring Chain
What is a Load Cells Minimum Weight?
All About Load Cell Weight
An In-Depth look at Load Cell Materials
The Essential Guide to Load Cells
Load Cell Frequently Asked Questions
Hydrodynamic Characteristics of Freshwater Snails

Recently uploaded (20)

PPTX
"Array and Linked List in Data Structures with Types, Operations, Implementat...
PDF
UEFA_Carbon_Footprint_Calculator_Methology_2.0.pdf
PDF
August -2025_Top10 Read_Articles_ijait.pdf
 
PPTX
ai_satellite_crop_management_20250815030350.pptx
PDF
MLpara ingenieira CIVIL, meca Y AMBIENTAL
PPTX
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
PPTX
Petroleum Refining & Petrochemicals.pptx
PDF
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
PDF
distributed database system" (DDBS) is often used to refer to both the distri...
PPTX
Measurement Uncertainty and Measurement System analysis
PDF
Introduction to Power System StabilityPS
PDF
Applications of Equal_Area_Criterion.pdf
PDF
First part_B-Image Processing - 1 of 2).pdf
PDF
August 2025 - Top 10 Read Articles in Network Security & Its Applications
PPTX
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
PPTX
Module 8- Technological and Communication Skills.pptx
PPTX
PRASUNET_20240614003_231416_0000[1].pptx
PPTX
Information Storage and Retrieval Techniques Unit III
PDF
Exploratory_Data_Analysis_Fundamentals.pdf
PDF
LOW POWER CLASS AB SI POWER AMPLIFIER FOR WIRELESS MEDICAL SENSOR NETWORK
"Array and Linked List in Data Structures with Types, Operations, Implementat...
UEFA_Carbon_Footprint_Calculator_Methology_2.0.pdf
August -2025_Top10 Read_Articles_ijait.pdf
 
ai_satellite_crop_management_20250815030350.pptx
MLpara ingenieira CIVIL, meca Y AMBIENTAL
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
Petroleum Refining & Petrochemicals.pptx
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
distributed database system" (DDBS) is often used to refer to both the distri...
Measurement Uncertainty and Measurement System analysis
Introduction to Power System StabilityPS
Applications of Equal_Area_Criterion.pdf
First part_B-Image Processing - 1 of 2).pdf
August 2025 - Top 10 Read Articles in Network Security & Its Applications
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
Module 8- Technological and Communication Skills.pptx
PRASUNET_20240614003_231416_0000[1].pptx
Information Storage and Retrieval Techniques Unit III
Exploratory_Data_Analysis_Fundamentals.pdf
LOW POWER CLASS AB SI POWER AMPLIFIER FOR WIRELESS MEDICAL SENSOR NETWORK

How to Build Digital Weighing Scales

  • 1. Phone Number: 1-800-550-0280 Contact Email: contact@tacunasystems.com Website: https://tacunasystems.com/ How to Build Digital Weighing Scale Introduction This article will take you through a simple guide on how you can build up a simple digital weighing scale, maybe for fun, learning or as part of your school projects. Also, the terms used are simplified so that a layman can at least try to un- derstand them and get the device ready in no time. However, you will still need a little understanding of basic electronics and computer programming. Furthermore, the components used for this article can easily be obtained from online through brands such as Tacuna Systems, Omega Engineering, Vishay PG transducers, Sparkfun, Arduino and many more. So, follow me as I walk you through this guide. What Is A Digital Weighing Scale? You have definitely seen a digital weighing scale somewhere at home or retail stores used for inventories, where the object to be weighed is placed on the device and its weight is displayed as numbers with its unit of meas- urement besides it as shown in the figure below. Also, a popular type of digital weighing scale is the bathroom weighing scale.
  • 2. Digital Weighing Scale A digital scale is, therefore, an electronically operated device that basically displays the weight/size of an object placed on it. It displays the weight as numbers and digits by using a liquid crystal display or an array of 7 seg- ment display. The next section describes the components needed to set up a simple digi- tal scale, it also describes the function of each of these components. This will help to better understand how to couple them together later on. Oh, and before you carry on we also offer a range of scales for every pur- pose, check out below: ď‚· AnyLoad Precision Balance Scales ď‚· AnyLoad Bench Scales ď‚· Amcells and AnyLoad Crane Scales ď‚· Amcells and AnyLoad Floor Scales ď‚· AnyLoad Load Bars ď‚· AnyLoad Pallet Jack Scales
  • 3. The Basic Components Required And Their Functions 1. A Load Cell Transducer: This is a device that senses an applied weight to give an observable output quantity that is proportional to the applied weight. There are different types of load cells and not all load cell sensors are transducers, but all load cell transducers are sensors. In case you are confused, a sensor is a device that detects a physical phenomenon such as a force and then produces a change in a physical parameter. A transducer, on the other hand, senses this physical phenomenon and then converts it to an electrical output sig- nal. Examples of load cells are the pneumatic load cell, hydraulic load cell, strain gauge load cell, capacitive load cell etc. The most common type used in digital scales is the strain gauge load cell. The strain gauge load cell is a transducer device, that senses a weight placed on its load application point and then gives an electrical signal output that is proportional to the weight1. This device has an underly- ing mechanism that enables it to sense and transduce weights, it is called the strain gauge. The strain gauge is a resistive and elastic metal foil material that is fixed and attached to the bending parts of the load cell as shown in the figures below.
  • 4. 1. A strain gauge load cell is therefore made up of the physical and electrical connection of one or more strain gauges. Electrically, the strain gauge(s) are set up as a wheatstone bridge in connection with other strain gauges or with resistors. The diagram below which shows the electrical connection between four strain gauges of a load cell helps to explain this better. The Electrical Connection of Four Strain Gauges into a Wheatstone Bridge 1. The Electrical Connection of Four Strain Gauges into a Wheatstone Bridge This, therefore, means that in a load cell, these strain gauges can be electrically connected into three distinct types of configura- tions which are: ď‚· The Full bridge, with all the arms of the Wheatstone bridge, con- sisting of strain gauges (SG).
  • 5. ď‚· The Half-bridge, with two alternating arms of the bridge, made up of SG ď‚· The Quarter-bridge, in which just one of the arms of the bridge is made up of SG and the remaining arms consist of resistors and a dummy gauge is placed opposite the SG. Based on the explana- tions and the figures above, you should, therefore, be able to un- derstand that when a weight/object is placed on the load cell, it makes the strain gauges to change their dimensions and re- sistance, hence an electrical voltage is produced at its output.This load cell output is rated in mV/V and you can get more specification details about the device through its datasheet. 2. The Signal Conditioner: This is a circuit device whose function is to amplify the load cell output voltage and filter both its input and output signals. Amplification is needed since the output of the load cell is al- ways very small, measured in mV as stated under the explanation of a load cell. The process of application is done by the amplifier. A sim- ple amplifier is the Op-Amp which by default has a theoretical infinite open-loop gain, which practically means the gain is very high but not infinite. This gain can then be regulated by using feedback networks to any of its inputs. The feedback networks can consist of resistors, capacitors, and inductors of certain values which help to set the max- imum gain value of the amplifier. Load cell signal processing requires a special type of amplifier called the Instrumentation amplifier, which is the most efficient type to use. It offers better amplification charac- teristics which a normal Op-Amp does not possess. The Filter circuit can also be embedded with the amplifier together on a single chip. This circuit serves to filter off noise signals and EMI that might com- promise the value of the load cell’s amplified signal. It decouples AC signals from the DC output signals. Read about: Tacuna Systems load cell signal conditioner 3. The Microcontroller: This is the central processing unit of the whole digital scale. The output of the signal conditioner is sent to the analog input of the microcontroller, which then performs analog to digital conversion on this signal. It should be noted that some signal condi- tioner also has an inbuilt analog to digital converter circuit embedded together with the amplifier circuit and the filter circuits on a single chip. This will then go to reduce the workload on the microcontroller, as the output of the signal conditioner is sent to the digital input of the
  • 6. microcontroller. The microcontroller will then read the clocked digital pulses from the conditioner so as to retrieve the data to be processed in determining the weight of the object placed on the load cell. Fur- thermore, after processing either of the analog or digital signals from the signal conditioner, the microcontroller computes the weight and then displays it through an LCD connected to it. 4. The Liquid Crystal Display: This is wired to the microcontroller to display the weight. Coupling These Components The physical coupling of this project is done using each of the following components: ď‚· A 5kg load cell ď‚· An HX711 amplifier ď‚· An Arduino Uno Microcontroller Unit (MCU) While developing this article, I was unable to lay my hands on an LCD for displaying the weights measured. However, I will use the Arduino IDE Se- rial Monitor to display the readings. I have divided the process of building up this simple device into two parts; the hardware setup and the code. The Hardware Setup The 5kg load cell used for the purpose of these article has four wires (some load cells have 5 wires). The wires are labeled as follow, according to the load cell’s datasheet. ď‚· Red wire is the positive power supply ď‚· White wire iis the Ground of the power supply ď‚· Black wire is the positive output ď‚· Green wire is the negative output In case of any extra wire, which might be any color such as blue or yellow, it represents the ground wire for EMI which should be connected to the power supply ground.
  • 7. I will like to re-emphasize again that the wiring diagram depends on the datasheet of the load cell which you purchase, ensure to always request a datasheet from your supplier when purchasing a component. Now, these wires are fixed to the appropriate pins of the HX711 amplifier device as shown in the sets of pictures below. The HX711 is a special am- plifier that has 2 channel inputs A and B, each with different amplifier gains that can be adjusted by a computer program. The channel A has a gain of 128 and 64, while the channel B has a fixed gain of 32. Also, you should note that this HX711 device matches the description of the type of signal conditioning device that has an amplifier, filter, and ADC embedded together on a single chip. This, therefore, means that its data output goes to the digital input pin of our microcontroller instead of its ana- log pin. Therefore, connecting the HX711 and the load cell is as follow: ď‚· Red wire/Positive supply -> E+ ď‚· White/Negative Supply -> E- ď‚· Green/Negative Ouput -> A- ď‚· Black/Positive Output -> A+ Now, the HX711 is connected to the Arduino MCU as follow: ď‚· VCC -> 5V supply on Ardunio ď‚· GND ->GND ď‚· CLK -> D2 ď‚· DOUT -> D3
  • 9. The Code Now, that the hardware has been set up, the program code is then up- loaded into the MCU from your PC through the Arduino IDE. The process and the code is subdivided into two which are the calibration code and the weighing code.
  • 10. The calibration code is the program used to calibrate the load cell trans- ducer. Calibration simply means a way of configuring our load cell output to always give a precise value of weight and at the particular S.I unit such as Kilograms, Grams, Tons, Pounds etc. The HX711 library code contains a good guide on how to calibrate the load cell and it was the guided procedure that was followed in this article.The calibration code is shown below
  • 11. The results of the calibration process are shown below in the Serial Monitor of the Arduino IDE The weighing code is then uploaded to the MCU after the calibration pro- cess is completed and you have obtained the value of the offset reading
  • 12. and the scale factor. This code and the results are shown below. The re- sults are shown for a 500g weight and a 1kg weight respectively.
  • 13. Phone Number: 1-800-550-0280 Contact Email: contact@tacunasystems.com Website: https://tacunasystems.com/