Newspaper Vending Machine
M Irmansyah
1
, E Madona
2
Electro, Politeknik Negeri Padang
Campus Politeknik Negeri Padang Limau Manis, Padang, West Sumatra, Indonesia
1,2
{mirmansyah38@gmail.com
1
, emadona38@gmail.com
2
}
Abstract. A newspaper vending machine is an automatic machine for selling
newspapers and customers operate it by themselves. The advantages of vending
machine method are meet the concept selling anywhere, closer to customer and
cost down in sales. This vending machine uses some coins or money to initiate
selling process. The aim of this research is to applied microcontroller to control
newspaper vending machine, Programmable Logic Device (PLD) to count coins,
light sensor to detect the coin, sensor TCS3200 is used to detect color of money,
dc motor to eject newspaper from vending machine and LCD show instruction to
purchase the newspaper. The type of microcontroller in this vending machine is
ARDUINO ATMEGA328, PLD IC is GAL 22V10. The coin using Rp 1000 and
money using Rp 5.000. The newspaper inside the machine is daily newspaper area
with the price is Rp 5.000. It means the buyer can buy the newspaper using 5 pieces
of coin Rp 1000 or money Rp 5.000. Photodiode and infrared sensors can be used
to detect coin. Motor to eject newspaper activated if the amount of coin inserted
the machine is 5 coin of Rp 1000. Technology Programmable Logic Device (PLD) can
apply as decoder binary to decimal with seven segment displays to count coin for 5 coins.
The value of RGB for money Rp 5.000 is read from 4 sides. RGB value of color
for the image “tokoh” has range 20<R>14, 20<G>20, 20<B>16. RGB value of
color for the image “garuda” has range 10<R>8, 8<G>10, 7<B>12. RGB value of
color for the image “tenun” has range 11<R>14, 10<G>14, 14<B>10. RGB value
of color for the image “Rp 5000” has range 10<R>8, 11<G>8, 8<B>7. DC motor
to push will active if RGB value Rp 5000 is detected and suitable with RGB
designed. The guide of using newspaper vending machine to customer is shown to
customers trough LCD and will show "VENDING MACHINE 1 KORAN 5000
ATAU 5 BUAH KOIN 1000".
Keywords: Newspaper, Vending machine, Programmable Logic Device,
Microcontroller, Coin, Money,LCD
1 Introduction
Newspaper is a soft publishing and easy discharge, which printed on low-cost paper called
newsprint, contains the latest news on various topics. A vending machine is a machine that can
provide items such as snacks, soft drinks example soda, alcohol, cigarette, newspapers, lottery
ticket, consumer products, and even gold and jewels to customer automatically. Like the original
seller, this machine will eject the stuff that we want after we pay for it by inserting some coins
or money. The advantages of vending machine method are meet the concept selling anywhere,
closer to customer, cost down in sales. For example, vending machine does not need to be
WMA-2 2018, January 24-25, Padang, Indonesia
Copyright © 2020 EAI
DOI 10.4108/eai.24-1-2018.2292389