Development of Embedded Control For A Repetitive Pick and Placed Robotic Arm
Development of Embedded Control For A Repetitive Pick and Placed Robotic Arm
net/publication/372180468
CITATIONS READS
0 87
3 authors, including:
All content following this page was uploaded by Lambe Mutalub Adesina on 16 July 2023.
Electrical and Computer Engineering Department, Kwara State University, Malete, Kwara State
[email protected]/[email protected]/[email protected]
Abstract: Analog weighing scales suffer from a lack of precision while reading the output and they can easily be manipulated by any
technically biased individual. In this paper, the development of an automated and price estimating weighing device is considered. It aims
at developing a means to a framework to evaluate estimated weight in analog to digital forms, such as to obtain higher precision in
estimation and calibration. The circuit consists of a Load Cell as the sensor, an amplifier to boost the low signal from the sensor, an
Atmega328 microcontroller, a 16x2 Liquid crystal display, and a few additional glue components. The 20 kg load cell converts the
pressure from the load to an equivalent electrical signal which will be sent to the Hx711 IC module. Hx711 amplifies and processes the
corresponding output to the Atmega328 microcontroller. The system uses the 4x3 keyboard to input the unit cost per kg to the electronic
scale. The microcontroller automatically adjusts the signals with the load cell amplifier module's guide, thus sending the estimated cost
to the Liquid crystal display module. The circuit was designed, constructed, and tested to show that a computerized electronic weighing
system can be locally and cheaply made. Comparison with the state-of-the-art scale shows that the constructed digital scale was
accurately calibrated without errors.
1. INTRODUCTION
Precise weight estimation has been the desire of humans of all ages. Hence different methodologies, devices, and
gadgets were invented for uses in both domestic and industrial purposes. The previously invented weighing techniques
were manual, less accurate, and not reliable enough. Likewise, they were characterized by calibration problems. They are
large when compared to the newly invented ones, also they are not fast enough as it takes a while before giving out the
measured weight [1]–[3]. For some, the actuators were designed from electromechanical components requiring currents of
slightly higher magnitude. The resolution is lower, whereby it becomes difficult to differentiate weights with slight
differences. The display is based on a rotating pointer, that often oscillates before settling down. Therefore, the analog
scale consumes more power and its efficiency is low [2], [4].
Irregularities in the prices of products for sale, product prices for shipment, and recipes in the restaurant kitchen are
becoming more alarming. The use of digital weighing scales in a restaurant, shipping agencies, and price tags will be
essential as they maintain consistent portion size, provide accuracy in measurement, and helps to bill customers accurately.
It also helps to manage inventory effectively, thus ensuring a greater profit margin. Thus, designing and constructing a
cheaper and more efficient digital weighing scale will be of great advantage[5], [6]. Such will be more accurate and
efficient. It is convenient to use for the producer, seller, and the buyer.
The idea relies on sensing transducers that convert the measured analog quantities to an equivalent electrical voltage or
current. They also give their outputs on a digital display (seven-segment display) and screens [4], [7]. A few weighing
scale structures have been introduced in a lot of distributions, and they all show their distinctive special features in the
methodologies [5], [6], [8]. In [9], the use of a load cell transducer was introduced, it works along with an analogue to
digital converter to produce a readout on a digital display. The paper gives a guide on the selection of a load cell. The
methodology seems simple and gives fewer errors.
In [10], a digital weighing machine was also designed around the load cell. An effort was made in making it a
controllable weighing transducer by improving the signal filtering, hence measurement accuracy and weighing speed were
enhanced. Digital filtering techniques were used to remove measurement noises from the system. The paper proposed
another filtering algorithm and circuit design for a weighing system.
https://doi.org/10.53982/ajerd 59
https://doi.org/10.53982/ajerd.2023.0601.08-j Ogunbiyi et al.
Ajerd, Volume 6, Issue 1
Paper [11] presents the development of a spring-weighing device with a capacity of 400N. The performance evaluation
was done with simple standard weights of different loads. The result shows one revolution and 50 degrees deflection on
full-scale at a maximum load of 400N(40kg). The initial sensitivity was a 1-degree deflection caused by a load of 100g.
The system was of high resolution and easier to operate. Unfortunately, the mechanical spring weighing system is less
effective than the use of an electrical transducer.
The focus of this work is to design and construct a digital weighing machine system. The circuit is designed to accept
the preprogrammed price per Kg of an item, after taking a measurement, the device displays the equivalent total price
concerning the product weight.
2. METHODOLOGY
The design of a suitable circuit for an automated weighing scale follows the block diagram of Figure 1. It consists of a
load cell with its amplifier connected to the microcontroller. To input the unit cost of an item, a keypad is attached to the
microcontroller. In addition to the power supply, the system has a display screen to show the measured weight in Kg and
the equivalent cost.
https://doi.org/10.53982/ajerd 60
https://doi.org/10.53982/ajerd.2023.0601.08-j Ogunbiyi et al.
Ajerd, Volume 6, Issue 1
(a)
(b)
Figure 3: (a) HX711 load cell amplifier (b) Internal structure of HX711 ©SparkFun Electronics
https://doi.org/10.53982/ajerd 61
https://doi.org/10.53982/ajerd.2023.0601.08-j Ogunbiyi et al.
Ajerd, Volume 6, Issue 1
exceptional feature about them is that they are covered by a cement backing so that you can stick them to something. The
paper backing must be stripped off.
The 4×4 keyboard has 16 keys that are arranged in a 4x4 matrix form. As shown in Figure 5, the switch pad has 8 pins
female header, a contact resistance of 500Ω, and an insulation resistance of 100MΩ. It is very flexible to use with a
rebound time of 1 ms. The push button has a long lifespan of up to 100 million times, hence it can last for a long time
while in a circuit. A special membrane switch is underneath each key and all these membrane switches are linked to one
another with a conductive trace that forms a 4×4 grid matrix beneath the pad.
https://doi.org/10.53982/ajerd 62
https://doi.org/10.53982/ajerd.2023.0601.08-j Ogunbiyi et al.
Ajerd, Volume 6, Issue 1
https://doi.org/10.53982/ajerd 63
https://doi.org/10.53982/ajerd.2023.0601.08-j Ogunbiyi et al.
Ajerd, Volume 6, Issue 1
(a) (b)
Figure 9: (a) Load cell mount (b) Calibrating the scale
(a) (b)
Figure 10: (a) Internal calibration putting the price per kg (b) Required calibration weight
Figure 11 presents the section of the circuit showing the total price after entering the price per kg. The complete digital
weighing scale is presented in Figure 12 with the screen and the keypad alone. To improve the weighing capacity, a
microcontroller-based weighing system was developed. The system was tested using a calibrated weight to verify precision
and reliability, it was discovered that the system gives an exact high-precision throughput. Following the result of Table 1,
the system displays an effective and efficient reading with the accuracy of up to three decimal points for applied weight.
https://doi.org/10.53982/ajerd 64
https://doi.org/10.53982/ajerd.2023.0601.08-j Ogunbiyi et al.
Ajerd, Volume 6, Issue 1
4. CONCLUSION
For automated measurement, an electronic weighing scale device was developed, and the functionality of the parts was
presented. This system was configured to digitally display weight measurements. The device produced comprised a load
cell that read about 0 to 20 kg of mechanical energy (weight). The measurement from the load cell sensor was amplified by
the HX711 amplifier module. The measured data was converted to digital form and transferred to the ATmega328
microcontroller. Apart from coordinating the operations of the circuit, the microcontroller also processes the data. The
https://doi.org/10.53982/ajerd 65
https://doi.org/10.53982/ajerd.2023.0601.08-j Ogunbiyi et al.
Ajerd, Volume 6, Issue 1
microcontroller transmits the processed information to the LCD module. This development can be further innovated by
making the scale to store the price per kg for each product to be scaled such that, when the items are scaled, it will no
longer display a prompt message asking the user to enter the price per kg. After scaling any item, the scale automatically
computes the equivalent total price concerning the data stored.
REFERENCES
[1] Weisser, H., Gesamtbetriebsrat-Bizerba, V., Keinath, R. & Philipp-Matthäus-Hahn-Museum, L. (2008). History of
Weighing - Part: The Evolution of Weights, Scales and Weighing.
http://www.hennef.de/uploads/media/History_of_Scales_Part_4_EN_Bizerba_News_2-11.pdf.
[2] Büttner, J., & Renn, J. (2016). The Early History of Weighing Technology from the Perspective of a Theory of
Innovation. Journal for Ancient Studies, 6, 757–776.
[3] Euler, W. (2010). History of Scales - Part 1: Scales and Weighing in the Course of Time.
[4] City, H. C. M. & Nam, V. (2007). Handbook on Mechanical Weighing Scales (Issue September).
[5] Mudgal, A., Kumari, A., Mittal, A., Agarwal, A., & Choudhary, V. (2020). Design and Development of a Smart
Weighing Scale for Sugar Mill. International Journal of Computer Applications, 176(23), 31–33.
[6] Rikame, S. N. & Kulkarni, P. W. (2012). Solar Based Digital Electronic Weighing Machine. International Journal of
Science and Research (IJSR), 3(6), 2589–2593.
[7] Das, S., Karmakar, A., Das, P. & Koley, B. (2019). Manufacture of Electronic Weighing Machine Using Load Cell.
IOSR Journal of Electrical and Electronics Engineering, 14(4), 32–37.
[8] Dathwade, B. P., Raghu, J. M., Kiran, P. & Manjunath, N. (2016). Design and Fabrication of Weighing Machine Made
Up of Epoxy Matrix Composite Material Embedded with Load Cell. IJIRST –International Journal for Innovative
Research in Science & Technology, 3(02), 17–23.
[9] Gaikwad, K. D. & Dahikar, P. B. (2013). Design And Development of Novel Weighing Scale System. International
Journal of Engineering Research & Technology (IJERT), 2(5), 1668–1671.
[10] Dahikar, P. B, & Patle, K. S. (2013). Design of an Embedded Platform for Digital Weighing System to Enhance
Measuring Capabilities. International Journal of Innovative Research in Computer and Communication Engineering,
1(8), 1881–1887.
[11] Awopetu, O. O., Erinle, T. J. & Fasan, O. J. (2015). Development of 400 Newton Spring Weighing Machine.
Journal of Multidisciplinary Engineering Science and Technology(JMEST), 2(Issue 2), 47–53. www.jmest.org.
[12] Kamble, V. A., Shinde, V. D. & Kittur, J. K. (2020). Overview of Load Cells. Journal of Mechanical and Mechanics
Engineering, 6(3), 22–29.
[13] Sarah, A. (2017). Getting Started with Load Cells. In SparkFun Electronic.
https://learn.sparkfun.com/tutorials/getting-started-with-load-cells/all
[14] AVR Studio®. (2016). ATmega328P 8-bit AVR Microcontroller with 32K Bytes In-System Programmable Flash
DATASHEET. In ATmel. https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-7810-Automotive-
Microcontrollers-ATmega328P_Datasheet.pdf.
https://doi.org/10.53982/ajerd 66