Вы находитесь на странице: 1из 4

PROTOTYPE ROTARY PARKING SYSTEM BASED ARDUINO

Muhammad Sodiq1, Hasbullah2


Departement of electrical engineering education
Indonesian Education University
Jl. Dr. Setiabudhi No. 227 Bandung
muhammad.sodiq@student.upi.edu
hasbullahmsee@yahoo.com

Abstract—As car user's increase, parking areas can’t keep 11 Transmission Cam Chain 2 loop
pace with car growth. One solution to reduce this problem is 12 Pallet Iron Plat 50 cm2
to use a rotary parking system. The rotary parking system is 13 Gear Cam Gear 2 pcs
an automated parking system utilizing relatively narrow land
by using a rotation system. In the making, we use Arduino Rainbow
14 Cable 40 pcs
Uno, Driver Motor, and Stepper Motor. Each equipment used Cable
is a stepper motor that has a strong torque and move based on 15 Bolt 2mm 30 pcs
gradual stages so that it can support heavy loads. 16 Bearing 6,8mm 4 pcs

Keywords— Rotary Parking, Arduino Uno, Stepper Motor


A. Arduino Uno Design
I. INTRODUCTION
This microcontroller uses Arduino Uno Module
The land transportation commonly used by the with the following specifications [3]:
people is cars. In Indonesia, the number of cars recorded by
KORLANTAS POLRI from 2010 to December 2017 Table 2. Arduino Uno Specification
continues to increase to 5.9 million units [1].
Increase in the number of cars is not proportional Microcontroller ATmega328P
to the available parking area, causing congestion when Operating Voltage 5V
choosing a vehicle parking lot. From the problem, then Input Voltage 7-12V
created a prototype rotary parking system [2]. (recommended)
The concept of a rotational car park is a Input Voltage (limit) 6-20V
mechanical car park system where the controls are Digital I/O Pins 14
automated and the car is stored on a vertical shelf chain PWM Digital I/O Pins 6
arranged on both sides. The main idea is to pile up six cars Analog Input Pins 6
in the space usually occupied by two cars. DC Current per I/O Pin 20 mA
The control using a microcontroller Arduino Uno
DC Current for 3.3V Pin 50 mA
module that is able to control various types of electronics
Flash Memory 32 KB
related equipment such as servo module, stepper motor, and
SRAM 2 KB
some push button.
EEPROM 1 KB
Clock Speed 16 MHz
II. MATERIAL AND METHOD

This tool is designed with the following


materials:
Table 1. Material

No. Tools Specification Amount


1 Microcontroler Arduino Uno 1 pcs
2 Motor Nema 17 1 pcs Fig. 1 Arduino Uno
3 Resistor 3k5 Ohm 5 pcs
To control the input of the push button and the output
4 Resistor 900 Ohm 1 pcs
of a stepper motor used Arduino Uno module as the input
5 Driver Motor A4988 1 pcs
processor and provide data for the stepper motor to rotate.
6 Push Button PBS - 11B 5 pcs Arduino Uno design is shown in figure 2.
7 Led RGB 2 pin 1 pcs
8 Power Supply Hand Made 1 set
9 Framework Galvanum 2m
10 Timming Belt MXL GT-2 1 loop
Fig. 2. I/O Atmega328P
Fig. 5. Block diagram
B. Driver Motor Stepper Design
E. Framework Design
The stepper motor control module used is A4988
Stepper Motor Driver module. The function of this driver The design of the framework using galvanum
is to control the direction of rotation and speed of the motor materials along 2 m to be cut into a prototype frame rotary
work on step by step according to instructions from parking system according to Figure 6.
Arduino Uno. The image of the A4988 Stepper Motor
Driver module is shown in Figure 3 below [4].

Fig. 3. A4988 Driver Stepper Motor

C. Motor Stepper Design

The stepper motor used is NEMA 17 which has a


voltage input of 12-19 Volts and has a maximum torque of
Fig. 6. Framework Design
4.0 kg cm, as shown in Figure 4 (a). This stepper motor has
4 inputs, the axes 1a = negative, 1b = positive, and 2a =
F. Tools Design
negative, 2b = positive, as shown in Figure 4 (b).
The design drawing tool is shown in Figure 7 [5].

Fig. 4. (a) NEMA 17 (b) Conceptual Stepper Motor

D. Block Diagram

The block diagram of this tool shown in Figure 5 is


as follows:

Fig. 7. (a) arrangement of parking shelves (b) Parking


numbering
The design of rotary parking charging system is III. RESULTS AND DISCUSSION
designed with the following specifications [6]:
A. Arduino IDE Program
 Model parking rotation system is made of 6
pieces of parking shelves that can accommodate Programming is done using the Arduino IDE
6 cars. application, here is the program image for the prototype
 The movement of the rotary parking system rotary parking system shown in Figure 10.
model uses a stepper motor and uses a timming
belt to connect to the rotary parking chain.
 The rotary parking numbering model can be seen
in Figure 7 (b).

G. Flowchart

Fig. 10. Arduino IDE


The movement of the rotational parking system
model is determined by the position of the 1, 2, 3, 4, and 5
parking rack toward the position of the basic parking rack
on the prototype rotary parking system. The determination
of the setpoint is measured by how many steps by step
movements of the stepper motors to the base parking rack.
Fig. 8. Flowchart
H. Design Of Control Circuits B. Panel Box

The control circuit of this tool in Figure 9. Testing each push button as shown in Figure 11
below:

Fig. 11. Panel Box


Fig. 9. Control Circuits
 Button 1 P3 14 1.02
Move left as many as 240 steps P4 9,1 1.05
 Button 2 P5 4,5 1.06
Move left as many as 479 steps
 Button 3 IV. CONCLUSIONS
Move right as many as 720 steps
The conclusions that can be taken in making this
 Button 4
research are as follows:
Move right as many as 479 steps
 Use of Arduino Uno as an On-Off controller can be
 Button 5
used as a total step-step regulator of stepper motor
Move right as much as 240 steps rotation and parking rack in rotary parking system
prototype with step division between 240, 479, 720,
C. Work principle 479, 240.
 Time-test results show that the average error rate in
The workings of the tool are as follows: the push button experiment 1 is 1.06%, the push
button 2 is 1.05%, the push button 3 is 1.02%, the
 Using 5 volt voltage source for Arduino Uno and push button 4 is 1, 05%, and on the push button 5
14 volt module for stepper motor driver. of 1.06%. The results of this test indicate that the
 The input of the system comes from some push time taken to generate the response as planned and
button which will command the program from can be applied to the prototype rotary parking
Arduino to stepper motor driver. system to achieve the intended position.
 Each push button has a number corresponding to
the laying of the parking rack in this rotary REFERENCES
parking system
 Push button number 1 is pressed then Arduino [1] Jumlah Data Kendaraan Berdasarkan Tahun
ordered stepper motor to move per step and will Pembuatan.
stop on the basic parking shelf as ordered from http://www.rckorlantaspolri.id/lapthnbuat.php
Arduino (accessed 28 November 2017).
 Stages if you want to park the car, the first
consumer just push the push button according to [2] Nasir Nursalbiah. 2011. Rotary Car Park (Pallet
the empty parking rack, and automatically the Design) Computer Aided Design Analysis
empty parking shelves will go down to the basic Study.Faculty of Mechanical Engineering.
shelf and the car can be placed directly on the Universiti Teknologi MARA Malaysia
parking shelf. And so next if you want to park
the vehicle again. [3] Arduino Uno Datasheet. www.arduino.cc
 The first stage of taking the car is that the (accessed 9 December 2017).
consumer only visually looks at the number of
the parking lot of his car, and then simply pushes [4] A4988 Stepper Motor Driver datasheet
the push button according to the number of car
parking shelves to be picked up. [5] Advance Parking Solution. Korea
www.dysmart.com (accessed 10 December 2017).
D. Trial Data
 Error Testing [6] Ilmawan P., Aditya. 2013. Sistem Pengaturan
The test is done by comparing the real time of Posisi Sudut Putar Motor DC Pada Model Rotary
the test tool with time calculation based on the delay Parking Menggunakan Kontroler PID Berbasis
that is controlled by Arduino Uno to find the value of Arduino Mega 2560. Malang. Fakultas Teknik
system error. In theory, the error can be calculated by Universitas Brawijaya.
the formula:
𝑠𝑡𝑒𝑝 𝑥 𝑡𝑖𝑚𝑒 𝑑𝑒𝑙𝑎𝑦
𝐸𝑟𝑟𝑜𝑟 = [ ] 𝑥100%
𝑟𝑒𝑎𝑙 𝑡𝑖𝑚𝑒
 Time Testing
Testing time based on the position of parking
shelves to the basic parking shelf, among others:

Table 3. Time Rotary Parking Systems


No. Parking Time
Error (%)
Rack (second)
P1 4,5 1.06
P2 9,1 1.05

Вам также может понравиться