SlideShare a Scribd company logo
Phone Number: 1-800-550-0280
Contact Email: contact@tacunasystems.com
Website: https://tacunasystems.com/
How to Build a Digital Weighing Scale
Preface
Build a digital scale for your next DIY electronics project. Whether you’re looking to
increase your background learning around force measurement or in search of a
school science project, this DIY eletronics project can be completed by anyone with
a basic understanding of electronics and computer programming.
The components used to build a digital scale can be found on Tacuna Systems.
What is a Digital Weighing Scale?
Digital weighing scales are common in our everyday lives, from the produce section
grocery stores to our own bathrooms.
Figure 1. ANYLOAD ES310 Postal and Shipping Scale
A digital scale is an electronically operated device that displays the weight/size of an
object placed on it in numbers and units. This display is usually liquid crystal or 7-
segment display.
Tacuna Systems offers a full range of scales below, if you are not inclined to build
your own digital scale.
 AnyLoad Precision Balance Scales
 AnyLoad Bench Scales
 Amcells and AnyLoad Crane Scales
 Amcells and AnyLoad Floor Scales
 AnyLoad Load Bars
 AnyLoad Pallet Jack Scales

Scale Components and Function
Now that we have established what a scale is, this section lists and describes its fun-
damental internal components.
Load Cell Transducer
This device senses an applied weight and produces an observable output electrical
signal proportional to this applied weight. There are different types of load cells and
not all load cell sensors are transducers, but all load cell transducers are sensors. To
clarify, a sensor is a device that detects a physical phenomenon such as a force and
then produces a change in a physical parameter. In the same way, the transducer
senses this physical phenomenon but converts it to an electrical output signal.
Examples of load cells are the pneumatic load cell, hydraulic load cell, strain gauge
load cell, or capacitive load cell (See “An Overview of Load Cells” for more infor-
mation). The most common type used in digital scales is the strain gauge load cell.
The strain gauge load cell is a transducer device that has an underlying mechanism
called a strain gauge. The strain gauge has 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.
Figure 2: Strain Gauge Detail
Figure 3: A Strain Gauge Load Cell
The Signal Conditioner
This is a circuit device that has two functions. It amplifies load cell output voltage and
filters both its input and output signals.
Since the output of the load cell is always very small, measured in mV, this device is
critical to amplify the load cell output to a usable level. Load cell signal processing
requires a special type of amplifier called the instrumentation amplifier. The filter cir-
cuit can be embedded together with the amplifier on a single chip. This circuit filters
noise signals and electromagnetic interference (EMI) that might compromise the load
cell’s amplified signal. It decouples AC signals from the DC output signals. Tacuna
Systems offers a signal conditioning device described at this link.
The Microcontroller
This is the central processing unit of the whole digital scale. The analog output of the
signal conditioner flows to the analog input port of the microcontroller, which in turn
converts this analog signal to digital. Note that some signal conditioners have an an-
alog to digital converter circuit together with the amplifier circuit and the filter circuits
on a single chip.
This reduces the workload on the microcontroller, as the output of the signal condi-
tioner instead goes to the digital input port of the microcontroller. The microcontroller
then reads the clocked digital pulses from the conditioner to obtain the data it pro-
cesses to determine the weight displayed. Finally, the microcontroller computes the
weight and then displays it through its connected LCD screen.
The Liquid Crystal Display
As explained above, this is the screen that connects to the microcontroller to display
the weight.
Coupling These Components
To build your digital scale, we will use the following components coupled together:
 A 5kg load cell
 An HX711 amplifier
 An Arduino Uno Microcontroller Unit (MCU)
 Any suitable output screen (in this case an Arduino IDE Serial Monitor)
The physical process to build the digital scale is outlined in the next two steps.
The Hardware Setup
The 5kg load cell for this project has four wires (some load cells have 5). The wires
are as follows, according to the load cell’s datasheet.
 Red wire is the positive power supply
 White wire is the Ground of the power supply
 Black wire is the positive output
 Green wire is the negative output
Any extra wire, which might be any color such as blue or yellow, is the ground wire
for EMI. It should be connected to the power supply ground.
Note the wiring diagram depends on the datasheet of the purchased load cell. There-
fore the colors listed above could match differently (such as green being positive,
etc.). Be sure to always request a datasheet from your supplier with your purchase.
Load Cell to Amplifier Connection
The wires listed above attach to the appropriate pins of the HX711 amplifier device
as shown in the sets of pictures below. The HX711 is a special amplifier that has 2
channel inputs A and B, each with different amplifier gains adjustable by a computer
program. The channel A has a gain of 128 and 64, while the channel B has a fixed
gain of 32.
Note this HX711 device matches the description of the type of signal conditioning de-
vice that has an amplifier, filter, and ADC embedded together on a single chip. This
means its data output goes to the digital input pin of our microcontroller instead of its
analog pin.
Therefore, connecting the HX711 and the load cell is as followed:
 Red wire/Positive supply -> E+
 White/Negative Supply -> E-
 Green/Negative Ouput -> A-
 Black/Positive Output -> A+
Figure 4: Load Cell to Amplifier Connections
Amplifier to Microcontroller Connection
After connecting the amplifier, the HX711 connects to the Arduino MCU as follows:
 VCC -> 5V supply on Ardunio
 GND ->GND
 CLK -> D2
 DOUT -> D3
Figure 5: Amplifier to MCU Connections
The Code
Once the hardware connections are complete, the program code uploads to the
MCU from a PC through the Arduino IDE. The process and the code have two subdi-
visions: the calibration code and the weighing code.
Calibration Code
The calibration code is the program used to calibrate the load cell transducer. Cali-
bration configures the 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. The
calibration code is shown in Figure 6a-b.
Figure 6a. HX711 Calibration Code
Figure 6b. HX711 Calibration Code
The results of the calibration process are shown below in the Serial Monitor of the
Arduino IDE.
Figure 7: Calibration Process Output
Note in Figure 7 the “FINAL Scale Factor” and the “FINAL Offset Value”. These val-
ues are critical to obtain before uploading the weighing code.
Weighing Code
Once calibration is complete, the weighing code uploads to the MCU. This code ap-
pears in Figure 8. Figure 9a-b shows the readouts for a 500g weight (top) and a 1kg
weight (bottom).
Figure 8: Weighing Code
Figure 9a. Digital Weighing Scale Output
Figure 9b. Digital Weighing Scale Output
Phone Number: 1-800-550-0280
Contact Email: contact@tacunasystems.com
Website: https://tacunasystems.com/

More Related Content

What's hot

Computer Communications
Computer CommunicationsComputer Communications
Computer Communications
Anbazhagan Ajaganandane
 
Introduction to pic microcontroller
Introduction to pic microcontrollerIntroduction to pic microcontroller
Introduction to pic microcontroller
Siva Kumar
 
Basic of MODBUS Communication/Protocol
Basic of MODBUS Communication/ProtocolBasic of MODBUS Communication/Protocol
Basic of MODBUS Communication/Protocol
Shivam Singh
 
1 . introduction to communication system
1 . introduction to communication system1 . introduction to communication system
1 . introduction to communication system
abhijitjnec
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduino
Ahmed Sakr
 
IoT Development - Opportunities and Challenges
IoT Development - Opportunities and ChallengesIoT Development - Opportunities and Challenges
IoT Development - Opportunities and Challenges
Asim Rais Siddiqui
 
Speed control of vehicle
Speed control of vehicleSpeed control of vehicle
Speed control of vehicle
AmanVerma443
 
IEEE Presentation
IEEE PresentationIEEE Presentation
IEEE Presentation
Mohamed Tawfik
 
8051,chapter1,architecture and peripherals
8051,chapter1,architecture and peripherals8051,chapter1,architecture and peripherals
8051,chapter1,architecture and peripherals
amrutachintawar239
 
Data enrichment
Data enrichmentData enrichment
Data enrichment
FabMinds
 
Digital communication viva questions
Digital communication viva questionsDigital communication viva questions
Digital communication viva questions
ishan0019
 
Information Theory Coding 1
Information Theory Coding 1Information Theory Coding 1
Information Theory Coding 1
Mahafuz Aveek
 
IoT Physical Devices and End Points.pdf
IoT Physical Devices and End Points.pdfIoT Physical Devices and End Points.pdf
IoT Physical Devices and End Points.pdf
GVNSK Sravya
 
Analog and digital signal system : digital logic
Analog and digital signal system : digital logicAnalog and digital signal system : digital logic
Analog and digital signal system : digital logic
Satya P. Joshi
 
Audio system
Audio systemAudio system
Audio system
gowtham sekar
 
Technical slides tia_portal_v15_en
Technical slides tia_portal_v15_enTechnical slides tia_portal_v15_en
Technical slides tia_portal_v15_en
Deepak kumar
 
IRJET- Smart Helmet for Safety and Accident Detection using IOT
IRJET- Smart Helmet for Safety and Accident Detection using IOTIRJET- Smart Helmet for Safety and Accident Detection using IOT
IRJET- Smart Helmet for Safety and Accident Detection using IOT
IRJET Journal
 
Network Latency
Network LatencyNetwork Latency
Network Latency
Datapath.io
 
Shiv smart door ppt
Shiv smart door pptShiv smart door ppt
Shiv smart door ppt
Mahesh Patil
 
Data communication basics
Data communication basicsData communication basics
Data communication basics
Naveen Jakhar, I.T.S
 

What's hot (20)

Computer Communications
Computer CommunicationsComputer Communications
Computer Communications
 
Introduction to pic microcontroller
Introduction to pic microcontrollerIntroduction to pic microcontroller
Introduction to pic microcontroller
 
Basic of MODBUS Communication/Protocol
Basic of MODBUS Communication/ProtocolBasic of MODBUS Communication/Protocol
Basic of MODBUS Communication/Protocol
 
1 . introduction to communication system
1 . introduction to communication system1 . introduction to communication system
1 . introduction to communication system
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduino
 
IoT Development - Opportunities and Challenges
IoT Development - Opportunities and ChallengesIoT Development - Opportunities and Challenges
IoT Development - Opportunities and Challenges
 
Speed control of vehicle
Speed control of vehicleSpeed control of vehicle
Speed control of vehicle
 
IEEE Presentation
IEEE PresentationIEEE Presentation
IEEE Presentation
 
8051,chapter1,architecture and peripherals
8051,chapter1,architecture and peripherals8051,chapter1,architecture and peripherals
8051,chapter1,architecture and peripherals
 
Data enrichment
Data enrichmentData enrichment
Data enrichment
 
Digital communication viva questions
Digital communication viva questionsDigital communication viva questions
Digital communication viva questions
 
Information Theory Coding 1
Information Theory Coding 1Information Theory Coding 1
Information Theory Coding 1
 
IoT Physical Devices and End Points.pdf
IoT Physical Devices and End Points.pdfIoT Physical Devices and End Points.pdf
IoT Physical Devices and End Points.pdf
 
Analog and digital signal system : digital logic
Analog and digital signal system : digital logicAnalog and digital signal system : digital logic
Analog and digital signal system : digital logic
 
Audio system
Audio systemAudio system
Audio system
 
Technical slides tia_portal_v15_en
Technical slides tia_portal_v15_enTechnical slides tia_portal_v15_en
Technical slides tia_portal_v15_en
 
IRJET- Smart Helmet for Safety and Accident Detection using IOT
IRJET- Smart Helmet for Safety and Accident Detection using IOTIRJET- Smart Helmet for Safety and Accident Detection using IOT
IRJET- Smart Helmet for Safety and Accident Detection using IOT
 
Network Latency
Network LatencyNetwork Latency
Network Latency
 
Shiv smart door ppt
Shiv smart door pptShiv smart door ppt
Shiv smart door ppt
 
Data communication basics
Data communication basicsData communication basics
Data communication basics
 

Similar to How to Build a Digital Weighing Scale

How to Build Digital Weighing Scales
How to Build Digital Weighing ScalesHow to Build Digital Weighing Scales
How to Build Digital Weighing Scales
Tacuna Systems
 
Inbuilt Digital Weighing System Inside Travel Bag
Inbuilt Digital Weighing System Inside Travel BagInbuilt Digital Weighing System Inside Travel Bag
Inbuilt Digital Weighing System Inside Travel Bag
MOHAMMAD TANVEER
 
IRJET- Signal Conditioning Card for Load Cell
IRJET- Signal Conditioning Card for Load CellIRJET- Signal Conditioning Card for Load Cell
IRJET- Signal Conditioning Card for Load Cell
IRJET Journal
 
Construction of digital voltmeter by Bapi Kumar Das
Construction of digital voltmeter by Bapi Kumar DasConstruction of digital voltmeter by Bapi Kumar Das
Construction of digital voltmeter by Bapi Kumar Das
B.k. Das
 
project - Copy
project - Copyproject - Copy
project - Copy
piedaholic
 
Internship Report (VTOL) (2)
Internship Report (VTOL) (2)Internship Report (VTOL) (2)
Internship Report (VTOL) (2)
Rishabh Prakash
 
Information sheet/Kertas Penerangan
Information sheet/Kertas PeneranganInformation sheet/Kertas Penerangan
Information sheet/Kertas Penerangan
athirahchehusin
 
Data acquisition system
Data acquisition systemData acquisition system
Data acquisition system
girishgandhi4
 
Digitalvoltmeterppt 120914
Digitalvoltmeterppt 120914Digitalvoltmeterppt 120914
Digitalvoltmeterppt 120914
sparkle786
 
BIE-601_Unit-1
BIE-601_Unit-1BIE-601_Unit-1
BIE-601_Unit-1
Mohammad Umar Rehman
 
Digital Signal Conditioning
Digital Signal ConditioningDigital Signal Conditioning
Digital Signal Conditioning
Ghansyam Rathod
 
IDT Wireless Power IDTP9020, IDTP9030 IC and Evaluation Kit Overview
IDT Wireless Power IDTP9020, IDTP9030 IC and Evaluation Kit OverviewIDT Wireless Power IDTP9020, IDTP9030 IC and Evaluation Kit Overview
IDT Wireless Power IDTP9020, IDTP9030 IC and Evaluation Kit Overview
Integrated Device Technology
 
Digital Implementation of Paralleling DC_DC conv
Digital Implementation of Paralleling DC_DC convDigital Implementation of Paralleling DC_DC conv
Digital Implementation of Paralleling DC_DC conv
dhananjay.p yadav
 
510 277-283
510 277-283510 277-283
510 277-283
idescitation
 
IRJET- Arduino Nano based All in One Meter
IRJET- Arduino Nano based All in One MeterIRJET- Arduino Nano based All in One Meter
IRJET- Arduino Nano based All in One Meter
IRJET Journal
 
IMPLEMENTING A DIGITAL MULTIMETER
IMPLEMENTING A DIGITAL MULTIMETERIMPLEMENTING A DIGITAL MULTIMETER
IMPLEMENTING A DIGITAL MULTIMETER
Vijay Elavunkal
 
Ace datasheet
Ace datasheetAce datasheet
Ace datasheet
Rémi GUILBERT
 
Digital Control Systems
Digital  Control   Systems Digital  Control   Systems
Digital Control Systems
Ashok Kumar Barla
 
Unit IV DA & AD Convertors and Phase Locked Loop
Unit IV  DA & AD Convertors and Phase Locked LoopUnit IV  DA & AD Convertors and Phase Locked Loop
Unit IV DA & AD Convertors and Phase Locked Loop
Dr.Raja R
 
Lv side distributed power factor correction system
Lv side distributed power factor correction systemLv side distributed power factor correction system
Lv side distributed power factor correction system
eSAT Publishing House
 

Similar to How to Build a Digital Weighing Scale (20)

How to Build Digital Weighing Scales
How to Build Digital Weighing ScalesHow to Build Digital Weighing Scales
How to Build Digital Weighing Scales
 
Inbuilt Digital Weighing System Inside Travel Bag
Inbuilt Digital Weighing System Inside Travel BagInbuilt Digital Weighing System Inside Travel Bag
Inbuilt Digital Weighing System Inside Travel Bag
 
IRJET- Signal Conditioning Card for Load Cell
IRJET- Signal Conditioning Card for Load CellIRJET- Signal Conditioning Card for Load Cell
IRJET- Signal Conditioning Card for Load Cell
 
Construction of digital voltmeter by Bapi Kumar Das
Construction of digital voltmeter by Bapi Kumar DasConstruction of digital voltmeter by Bapi Kumar Das
Construction of digital voltmeter by Bapi Kumar Das
 
project - Copy
project - Copyproject - Copy
project - Copy
 
Internship Report (VTOL) (2)
Internship Report (VTOL) (2)Internship Report (VTOL) (2)
Internship Report (VTOL) (2)
 
Information sheet/Kertas Penerangan
Information sheet/Kertas PeneranganInformation sheet/Kertas Penerangan
Information sheet/Kertas Penerangan
 
Data acquisition system
Data acquisition systemData acquisition system
Data acquisition system
 
Digitalvoltmeterppt 120914
Digitalvoltmeterppt 120914Digitalvoltmeterppt 120914
Digitalvoltmeterppt 120914
 
BIE-601_Unit-1
BIE-601_Unit-1BIE-601_Unit-1
BIE-601_Unit-1
 
Digital Signal Conditioning
Digital Signal ConditioningDigital Signal Conditioning
Digital Signal Conditioning
 
IDT Wireless Power IDTP9020, IDTP9030 IC and Evaluation Kit Overview
IDT Wireless Power IDTP9020, IDTP9030 IC and Evaluation Kit OverviewIDT Wireless Power IDTP9020, IDTP9030 IC and Evaluation Kit Overview
IDT Wireless Power IDTP9020, IDTP9030 IC and Evaluation Kit Overview
 
Digital Implementation of Paralleling DC_DC conv
Digital Implementation of Paralleling DC_DC convDigital Implementation of Paralleling DC_DC conv
Digital Implementation of Paralleling DC_DC conv
 
510 277-283
510 277-283510 277-283
510 277-283
 
IRJET- Arduino Nano based All in One Meter
IRJET- Arduino Nano based All in One MeterIRJET- Arduino Nano based All in One Meter
IRJET- Arduino Nano based All in One Meter
 
IMPLEMENTING A DIGITAL MULTIMETER
IMPLEMENTING A DIGITAL MULTIMETERIMPLEMENTING A DIGITAL MULTIMETER
IMPLEMENTING A DIGITAL MULTIMETER
 
Ace datasheet
Ace datasheetAce datasheet
Ace datasheet
 
Digital Control Systems
Digital  Control   Systems Digital  Control   Systems
Digital Control Systems
 
Unit IV DA & AD Convertors and Phase Locked Loop
Unit IV  DA & AD Convertors and Phase Locked LoopUnit IV  DA & AD Convertors and Phase Locked Loop
Unit IV DA & AD Convertors and Phase Locked Loop
 
Lv side distributed power factor correction system
Lv side distributed power factor correction systemLv side distributed power factor correction system
Lv side distributed power factor correction system
 

More from Tacuna Systems

Continuum Robots and Tactile Sensors
Continuum Robots and Tactile SensorsContinuum Robots and Tactile Sensors
Continuum Robots and Tactile Sensors
Tacuna Systems
 
Load Cells and Force Sensors in Robotics
Load Cells and Force Sensors in RoboticsLoad Cells and Force Sensors in Robotics
Load Cells and Force Sensors in Robotics
Tacuna Systems
 
Advantages and Applications of Wireless Load Cells
Advantages and Applications of Wireless Load CellsAdvantages and Applications of Wireless Load Cells
Advantages and Applications of Wireless Load Cells
Tacuna Systems
 
Reducing Noise in Very Sensitive Load Cell Applications
Reducing Noise in Very Sensitive Load Cell ApplicationsReducing Noise in Very Sensitive Load Cell Applications
Reducing Noise in Very Sensitive Load Cell Applications
Tacuna Systems
 
Load Cell Mounting and Installation Best Practices
Load Cell Mounting and Installation Best PracticesLoad Cell Mounting and Installation Best Practices
Load Cell Mounting and Installation Best Practices
Tacuna Systems
 
A Guide on Handling, storage and Preservation Do's and Don'ts in Force Measur...
A Guide on Handling, storage and Preservation Do's and Don'ts in Force Measur...A Guide on Handling, storage and Preservation Do's and Don'ts in Force Measur...
A Guide on Handling, storage and Preservation Do's and Don'ts in Force Measur...
Tacuna Systems
 
An Overview of Load Cells
An Overview of Load CellsAn Overview of Load Cells
An Overview of Load Cells
Tacuna Systems
 
Installing and Mounting Piezoelectric Force Transducers
Installing and Mounting Piezoelectric Force TransducersInstalling and Mounting Piezoelectric Force Transducers
Installing and Mounting Piezoelectric Force Transducers
Tacuna Systems
 
Comparing Strain gauges to Piezoelectric Sensors
Comparing Strain gauges to Piezoelectric SensorsComparing Strain gauges to Piezoelectric Sensors
Comparing Strain gauges to Piezoelectric Sensors
Tacuna Systems
 
All About Electrical Connections of Force Transducers
All About Electrical Connections of Force TransducersAll About Electrical Connections of Force Transducers
All About Electrical Connections of Force Transducers
Tacuna Systems
 
Force Sensor Data Acquisition
Force Sensor Data AcquisitionForce Sensor Data Acquisition
Force Sensor Data Acquisition
Tacuna Systems
 
Measuring Forces in the Force Shunt
Measuring Forces in the Force ShuntMeasuring Forces in the Force Shunt
Measuring Forces in the Force Shunt
Tacuna Systems
 
A Complete Force Measurement Glossary
A Complete Force Measurement GlossaryA Complete Force Measurement Glossary
A Complete Force Measurement Glossary
Tacuna Systems
 
Force and Weight Measurement Resources
Force and Weight Measurement ResourcesForce and Weight Measurement Resources
Force and Weight Measurement Resources
Tacuna Systems
 
Calibrating the Measuring Chain
Calibrating the Measuring ChainCalibrating the Measuring Chain
Calibrating the Measuring Chain
Tacuna Systems
 
What is a Load Cells Minimum Weight?
What is a Load Cells Minimum Weight?What is a Load Cells Minimum Weight?
What is a Load Cells Minimum Weight?
Tacuna Systems
 
All About Load Cell Weight
All About Load Cell WeightAll About Load Cell Weight
All About Load Cell Weight
Tacuna Systems
 
An In-Depth look at Load Cell Materials
An In-Depth look at Load Cell MaterialsAn In-Depth look at Load Cell Materials
An In-Depth look at Load Cell Materials
Tacuna Systems
 
The Essential Guide to Load Cells
The Essential Guide to Load CellsThe Essential Guide to Load Cells
The Essential Guide to Load Cells
Tacuna Systems
 
Load Cell Frequently Asked Questions
Load Cell Frequently Asked QuestionsLoad Cell Frequently Asked Questions
Load Cell Frequently Asked Questions
Tacuna Systems
 

More from Tacuna Systems (20)

Continuum Robots and Tactile Sensors
Continuum Robots and Tactile SensorsContinuum Robots and Tactile Sensors
Continuum Robots and Tactile Sensors
 
Load Cells and Force Sensors in Robotics
Load Cells and Force Sensors in RoboticsLoad Cells and Force Sensors in Robotics
Load Cells and Force Sensors in Robotics
 
Advantages and Applications of Wireless Load Cells
Advantages and Applications of Wireless Load CellsAdvantages and Applications of Wireless Load Cells
Advantages and Applications of Wireless Load Cells
 
Reducing Noise in Very Sensitive Load Cell Applications
Reducing Noise in Very Sensitive Load Cell ApplicationsReducing Noise in Very Sensitive Load Cell Applications
Reducing Noise in Very Sensitive Load Cell Applications
 
Load Cell Mounting and Installation Best Practices
Load Cell Mounting and Installation Best PracticesLoad Cell Mounting and Installation Best Practices
Load Cell Mounting and Installation Best Practices
 
A Guide on Handling, storage and Preservation Do's and Don'ts in Force Measur...
A Guide on Handling, storage and Preservation Do's and Don'ts in Force Measur...A Guide on Handling, storage and Preservation Do's and Don'ts in Force Measur...
A Guide on Handling, storage and Preservation Do's and Don'ts in Force Measur...
 
An Overview of Load Cells
An Overview of Load CellsAn Overview of Load Cells
An Overview of Load Cells
 
Installing and Mounting Piezoelectric Force Transducers
Installing and Mounting Piezoelectric Force TransducersInstalling and Mounting Piezoelectric Force Transducers
Installing and Mounting Piezoelectric Force Transducers
 
Comparing Strain gauges to Piezoelectric Sensors
Comparing Strain gauges to Piezoelectric SensorsComparing Strain gauges to Piezoelectric Sensors
Comparing Strain gauges to Piezoelectric Sensors
 
All About Electrical Connections of Force Transducers
All About Electrical Connections of Force TransducersAll About Electrical Connections of Force Transducers
All About Electrical Connections of Force Transducers
 
Force Sensor Data Acquisition
Force Sensor Data AcquisitionForce Sensor Data Acquisition
Force Sensor Data Acquisition
 
Measuring Forces in the Force Shunt
Measuring Forces in the Force ShuntMeasuring Forces in the Force Shunt
Measuring Forces in the Force Shunt
 
A Complete Force Measurement Glossary
A Complete Force Measurement GlossaryA Complete Force Measurement Glossary
A Complete Force Measurement Glossary
 
Force and Weight Measurement Resources
Force and Weight Measurement ResourcesForce and Weight Measurement Resources
Force and Weight Measurement Resources
 
Calibrating the Measuring Chain
Calibrating the Measuring ChainCalibrating the Measuring Chain
Calibrating the Measuring Chain
 
What is a Load Cells Minimum Weight?
What is a Load Cells Minimum Weight?What is a Load Cells Minimum Weight?
What is a Load Cells Minimum Weight?
 
All About Load Cell Weight
All About Load Cell WeightAll About Load Cell Weight
All About Load Cell Weight
 
An In-Depth look at Load Cell Materials
An In-Depth look at Load Cell MaterialsAn In-Depth look at Load Cell Materials
An In-Depth look at Load Cell Materials
 
The Essential Guide to Load Cells
The Essential Guide to Load CellsThe Essential Guide to Load Cells
The Essential Guide to Load Cells
 
Load Cell Frequently Asked Questions
Load Cell Frequently Asked QuestionsLoad Cell Frequently Asked Questions
Load Cell Frequently Asked Questions
 

Recently uploaded

Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
gerogepatton
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
Las Vegas Warehouse
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
JamalHussainArman
 
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENTNATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
Addu25809
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
NazakatAliKhoso2
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
abbyasa1014
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
Mahmoud Morsy
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
gray level transformation unit 3(image processing))
gray level transformation unit 3(image processing))gray level transformation unit 3(image processing))
gray level transformation unit 3(image processing))
shivani5543
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
171ticu
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 

Recently uploaded (20)

Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
 
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENTNATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
NATURAL DEEP EUTECTIC SOLVENTS AS ANTI-FREEZING AGENT
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
gray level transformation unit 3(image processing))
gray level transformation unit 3(image processing))gray level transformation unit 3(image processing))
gray level transformation unit 3(image processing))
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 

How to Build a Digital Weighing Scale

  • 1. Phone Number: 1-800-550-0280 Contact Email: contact@tacunasystems.com Website: https://tacunasystems.com/ How to Build a Digital Weighing Scale Preface Build a digital scale for your next DIY electronics project. Whether you’re looking to increase your background learning around force measurement or in search of a school science project, this DIY eletronics project can be completed by anyone with a basic understanding of electronics and computer programming. The components used to build a digital scale can be found on Tacuna Systems. What is a Digital Weighing Scale? Digital weighing scales are common in our everyday lives, from the produce section grocery stores to our own bathrooms.
  • 2. Figure 1. ANYLOAD ES310 Postal and Shipping Scale A digital scale is an electronically operated device that displays the weight/size of an object placed on it in numbers and units. This display is usually liquid crystal or 7- segment display. Tacuna Systems offers a full range of scales below, if you are not inclined to build your own digital scale.  AnyLoad Precision Balance Scales  AnyLoad Bench Scales  Amcells and AnyLoad Crane Scales  Amcells and AnyLoad Floor Scales  AnyLoad Load Bars  AnyLoad Pallet Jack Scales  Scale Components and Function Now that we have established what a scale is, this section lists and describes its fun- damental internal components. Load Cell Transducer This device senses an applied weight and produces an observable output electrical signal proportional to this applied weight. There are different types of load cells and not all load cell sensors are transducers, but all load cell transducers are sensors. To clarify, a sensor is a device that detects a physical phenomenon such as a force and then produces a change in a physical parameter. In the same way, the transducer senses this physical phenomenon but converts it to an electrical output signal. Examples of load cells are the pneumatic load cell, hydraulic load cell, strain gauge load cell, or capacitive load cell (See “An Overview of Load Cells” for more infor- mation). The most common type used in digital scales is the strain gauge load cell. The strain gauge load cell is a transducer device that has an underlying mechanism
  • 3. called a strain gauge. The strain gauge has 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. Figure 2: Strain Gauge Detail Figure 3: A Strain Gauge Load Cell The Signal Conditioner This is a circuit device that has two functions. It amplifies load cell output voltage and filters both its input and output signals. Since the output of the load cell is always very small, measured in mV, this device is critical to amplify the load cell output to a usable level. Load cell signal processing
  • 4. requires a special type of amplifier called the instrumentation amplifier. The filter cir- cuit can be embedded together with the amplifier on a single chip. This circuit filters noise signals and electromagnetic interference (EMI) that might compromise the load cell’s amplified signal. It decouples AC signals from the DC output signals. Tacuna Systems offers a signal conditioning device described at this link. The Microcontroller This is the central processing unit of the whole digital scale. The analog output of the signal conditioner flows to the analog input port of the microcontroller, which in turn converts this analog signal to digital. Note that some signal conditioners have an an- alog to digital converter circuit together with the amplifier circuit and the filter circuits on a single chip. This reduces the workload on the microcontroller, as the output of the signal condi- tioner instead goes to the digital input port of the microcontroller. The microcontroller then reads the clocked digital pulses from the conditioner to obtain the data it pro- cesses to determine the weight displayed. Finally, the microcontroller computes the weight and then displays it through its connected LCD screen. The Liquid Crystal Display As explained above, this is the screen that connects to the microcontroller to display the weight. Coupling These Components To build your digital scale, we will use the following components coupled together:  A 5kg load cell  An HX711 amplifier  An Arduino Uno Microcontroller Unit (MCU)  Any suitable output screen (in this case an Arduino IDE Serial Monitor) The physical process to build the digital scale is outlined in the next two steps. The Hardware Setup The 5kg load cell for this project has four wires (some load cells have 5). The wires are as follows, according to the load cell’s datasheet.  Red wire is the positive power supply  White wire is the Ground of the power supply  Black wire is the positive output  Green wire is the negative output Any extra wire, which might be any color such as blue or yellow, is the ground wire for EMI. It should be connected to the power supply ground. Note the wiring diagram depends on the datasheet of the purchased load cell. There- fore the colors listed above could match differently (such as green being positive, etc.). Be sure to always request a datasheet from your supplier with your purchase. Load Cell to Amplifier Connection The wires listed above attach to the appropriate pins of the HX711 amplifier device as shown in the sets of pictures below. The HX711 is a special amplifier that has 2
  • 5. channel inputs A and B, each with different amplifier gains adjustable by a computer program. The channel A has a gain of 128 and 64, while the channel B has a fixed gain of 32. Note this HX711 device matches the description of the type of signal conditioning de- vice that has an amplifier, filter, and ADC embedded together on a single chip. This means its data output goes to the digital input pin of our microcontroller instead of its analog pin. Therefore, connecting the HX711 and the load cell is as followed:  Red wire/Positive supply -> E+  White/Negative Supply -> E-  Green/Negative Ouput -> A-  Black/Positive Output -> A+
  • 6. Figure 4: Load Cell to Amplifier Connections Amplifier to Microcontroller Connection After connecting the amplifier, the HX711 connects to the Arduino MCU as follows:  VCC -> 5V supply on Ardunio  GND ->GND  CLK -> D2  DOUT -> D3
  • 7. Figure 5: Amplifier to MCU Connections The Code Once the hardware connections are complete, the program code uploads to the MCU from a PC through the Arduino IDE. The process and the code have two subdi- visions: the calibration code and the weighing code. Calibration Code
  • 8. The calibration code is the program used to calibrate the load cell transducer. Cali- bration configures the 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. The calibration code is shown in Figure 6a-b. Figure 6a. HX711 Calibration Code
  • 9. Figure 6b. HX711 Calibration Code The results of the calibration process are shown below in the Serial Monitor of the Arduino IDE. Figure 7: Calibration Process Output Note in Figure 7 the “FINAL Scale Factor” and the “FINAL Offset Value”. These val- ues are critical to obtain before uploading the weighing code. Weighing Code Once calibration is complete, the weighing code uploads to the MCU. This code ap- pears in Figure 8. Figure 9a-b shows the readouts for a 500g weight (top) and a 1kg weight (bottom).
  • 10. Figure 8: Weighing Code Figure 9a. Digital Weighing Scale Output
  • 11. Figure 9b. Digital Weighing Scale Output Phone Number: 1-800-550-0280 Contact Email: contact@tacunasystems.com Website: https://tacunasystems.com/