Design of Coin Sorter Counter Based On MCU: Articles You May Be Interested in

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

Design of coin sorter counter based on MCU

Cite as: AIP Conference Proceedings 1955, 040061 (2018); https://doi.org/10.1063/1.5033725


Published Online: 18 April 2018

Yahan Yang, and Xu Si

ARTICLES YOU MAY BE INTERESTED IN

Research of intelligent bus coin box


AIP Conference Proceedings 1820, 040017 (2017); https://doi.org/10.1063/1.4977289

AIP Conference Proceedings 1955, 040061 (2018); https://doi.org/10.1063/1.5033725 1955, 040061

© 2018 Author(s).
Design of Coin Sorter Counter Based on Mcu
Yahan Yang 1, a), Xu Si 2, b)
1
Shandong University of Science and Technology, Shandong, China
2
Heze College, Shandong, China

a)
Corresponding author: 524414936@qq.com,
b)
785915176@qq.com

Abstract. With unmanned tickets, vending machines promotion, greatly increased the circulation of coins, especially bus
companies, the financial sector need to classify a large number of coins every day, inventory, a huge workload. The design
of the microcontroller as the control center, combined with the sensor technology and the corresponding mechanical
structure to complete the separation of coins and finishing the packaging work and real-time monitoring and display of the
type and number of coins function, this article details the system hardware and software design, and The test adjustment
shows that the system can achieve the function of separating and sorting coins and monitoring the type and quantity of
coins displayed on the coin.

Key words: classification counting; monitoring display; single chip microcomputer;

INTRODUCTION
At present in the world, the coin occupies the small denomination currency market with the irreplaceable advantages
such as low cost, circulation times, abrasion resistance and easy recycling. With unmanned tickets, vending machines
promotion, greatly increased the circulation of coins, especially bus companies, the financial sector need to classify a
large number of coins every day, inventory, a huge workload. In view of such situation, developed a special coin
sorting device. The operation of the whole device can be controlled by operating a control panel. The bottom of the
coin conveying passage has a coin conveying groove for conveying the coin, and a coin baffle with adjustable
conveying speed in the middle of the coin conveying groove.The classifying chute is connected to the outlet at the
center of the lower end of the separation barrel and is internally provided with a baffle which divides the chute into
three channels. The baffle rotating baffle can control different types of coins to enter different counting classification
chutes. The coin-counting device, which measures the number of coins passing through the coin, and the coin-
wrapping device located at the bottom of the whole device outputs the wrapped money to the entire device through
the side outlet. The system can not only complete all the sorting and sorting of coins, but also can monitor and display
the types and quantities of coins in real time. The device uses a touch screen as an interactive medium, can accurately
and quickly sort a large number of coins, and can also realize the packaging of coins after classification. The utility
model has the advantages of high working efficiency, quick sorting of coins, simple system structure, high reliability
and low cost, Has a very important market value.

OVERALL DESIGN OF SYSTEM

The working process of the coin sorting counter is roughly as follows: The coin is poured into the coin launching
port, the coin slides along the conveying groove, the coin baffle in the middle of the conveying groove adjusts the
conveying process, and the coin enters the separating barrel according to the amount. The separation barrel has two
layers of nests, the outer layer is separated from the inner layer by a certain distance, the lower center is perforated,
the inner layer is completely covered by the outer layer, the inner layer is provided with an adjustable aperture plate

Advances in Materials, Machinery, Electronics II


AIP Conf. Proc. 1955, 040061-1–040061-4; https://doi.org/10.1063/1.5033725
Published by AIP Publishing. 978-0-7354-1654-3/$30.00

040061-1
and the inner layer has coins Through the hole, the internal separation of the inner plate rotation, the coins flying out
from the coin through the hole, falling into the inner wall of the outer bottom of the separation barrel, and then from
the bottom center hole into the counting classification slide. Count Classification Slides The internal bezel turns to
open the corresponding separate coin channel, the sensor counts and displays the amount on the capacitive screen, and
the coin passes through the chute into the packaging mechanism.
The packaging mechanism also comprises a transparent hollow plastic cylindrical barrel (the bottom is closed and
the upper is opened), the packaging mechanism can make the coins drop neatly into the cylindrical barrel, and the
sensor is provided under the barrel to detect that the cylindrical barrel is full and rotatable Turntable, when the sensor
detects that the coin barrel is full, the turret is moved away from the barrel and capped on the barrel. Achieve
mechanized intelligent control, self-packaging, sorting speed.

HARDWARE DESIGN

Mechanical Design
Microcontroller-based coin sorting counter, including the operation of the control panel, coin transfer channel,
separation barrel, counting classification slide and packaging agencies. The operation control panel is a touch
capacitive screen which can control the whole device. The operation control panel is arranged in front of the coin
conveying channel. The coin conveying channel is located at the top of the whole device. The coin conveying channel
has a coin depositing slot and a coin The lower end of the conveying channel is provided with a coin conveying groove
for conveying the coin, the middle of the coin conveying groove is provided with a coin baffle which can regulate the
conveying process, the coin baffle coincides with the longitudinal section of the coin conveying groove when the
device is closed, The coin baffle is to exit the slot of the coin conveying passage when the device is opened; The
separation barrel is a two-layer device internally and externally nested. The inner layer is provided with a coin through
hole, and the outer side of the inner layer is provided with an adjustable aperture plate. The counting classification
slide is connected with the bottom outlet of the separation barrel, The interior is provided with a baffle which divides
the counting and sorting chute into three channels, the baffles allow different kinds of coins entering the chute to enter
different channels, and the counting and sorting chute is provided with a sensor for counting the number of coins
passing through; the packaging mechanism is located at The bottom of the entire device.

Power circuit design

The device through the S-250W-24V 10A switching power supply module, AC220 DC DC24 for the entire
equipment supply, DC24V power supply to the motor 2, DC24V through DC to DC isolated power supply module
down to 12V power supply for the motor 1 and Linear travel motor power supply, DC12V through LM2596 module
down to 5V power supply to the control panel, steering gear, microcontroller power supply, power distribution diagram
shown in Figure1.

Hardware circuit design

Microcontroller-based coin sorting counter is a high degree of automation of complex mechatronic devices. Using
STM32f103c8t6 MCU multi-channel signal acquisition and control, control of the three main functional unit motor
and steering gear movements, the overall design shown in Figure 2.
The use of photoelectric sensors E18-D80NK count the number of coins, counting principle: Photoelectric sensor
counting process is actually the process of obtaining the pulse source. When there is an object through the optical path,
the receiver output is high, otherwise the low level, the receiver level signal is inverted by the voltage comparator into
the CPU when the conveyor will be measured object is sent to the detection point, The object will send the probe
infrared modulation signal reflected to the probe, the probe receiver signal sent to the microcontroller P3.2 port, start
the counter to start counting, each time the infrared blocking will be converted into electrical signals by the
microcontroller chip, in the original Increase the value of 1, and the data obtained after the count to the operation
control panel display.

040061-2
DC MOS t ube H-
AC220V DC24V motor 2
trans former bridge driver

buck
converter

linear travel DC12V


L298N dri ve motor 1
motor 10A

LM2596
module

DC
5V

photoelectric
master screen microcontroller
switch

FIGURE 1 power distribution diagram

motor 1-12V coin baffle

master screen
motor 2-24V separation disk

microcontroll er
stm32f103c8t6

adjustable
straight travel
aperture plate
photoelectric motor XC758
moves
sensors
E18-D80NK

servo MG995 rotat able bezel

FIGURE 2 power distribution diagram

THE SOFTWARE DESIGN AND TEST

Software design

Software design is mainly data acquisition, the device boot, the first initial configuration of the device, the data
acquisition program flow chart shown in Figure 3, using STM32f103c8t6microcontroller as the controller installed in
the three guide slots through the three E18-D80NK The photoelectric sensor scans the three kinds of coins respectively.
When there are coins, the three sensors respectively generate signals and transmit the respective signals to the single
chip microcomputer. The numbers of the coins passing through the respective guide grooves are summed respectively.
Finally, the single chip records the coins passing through the respective guide grooves The number of different coins
and then the number of coins and the total amount displayed on the control panel to facilitate the staff to view. As the
control panel scanning frequency faster, so you can count the number of coins in real time.

040061-3
Start

initialization

E18-D80NK scan

STM32f103c8t6interrupt count

display

End

FIGURE 3 Data acquisition program flow chart

System testing

This test contains three terminal sensor nodes, the test results shown in Table 1. The experimental data show that
the measurement error of the system is very small coin data indication error between 0-1, the data has a higher
consistency to meet the actual use requirements. The error of the sensor itself is a major factor in the error between
the measured value and the actual value. Allows a variety of data acquisition terminal real-time transmission to the
monitoring center for centralized monitoring, real-time display of coin types and quantity, saving manpower and time
costs, improve work efficiency.

SUMMARY
The design to solve the problem of coin classification, and developed a microcontroller-based coin sorting counter.
The device uses a touch screen as an interactive medium, can accurately and quickly sort a large number of coins, and
can also realize the packaging of coins after sorting. The working efficiency is high and the process of sorting coins
is fast. The utility model has the advantages of simple structure and low cost, saves the manpower and material
resources consumption, achieves the best effect of coin sorting, realizes the functions of coin sorting, counting and
collecting, and improves the existing defects of the coin sorting equipment and improves Work efficiency. Through
the prototype experiment proved effective.

REFERENCES
1. Wang Guangchao. A circular metal sheet automatic classification device design [D]. Yangling: Northwest
Agriculture and Forestry University, 2012.
2. Xu Qing, Wang Zhangzhong. Coin. Coin material. Coin circulation [J]. Jiangsu Machinery Manufacturing and
Research, 2000 (5): 30-31.
3. Yan Miying. SCM application system design essence [M]. Beijing: China Railway Publishing House, 2001.
4. Tang Linhu. Mechanical Design Basics [M]. Beijing: Publishing House of Electronics Industry, 2013: 74-184.
5. Tian Yupeng. Sensor Theory [M]. 3rd ed. Beijing: Science Press, 2007.

040061-4

You might also like