Design of Fuel Anti-theft Based on Micro-controllers using Short Message Service

Theft of premium oil in Tank Trucks is very frequent done by irresponsible people. In general, the tank security system uses only the seal on the door of the faucet, therefore the seal can still be duplicated. To overcome this problem, its security system needs to be transferred to an electronic system with premium automatic delivery system control using HC-SR04 ultrasonic sensors and push-button. The system will send the fuel level information (premium) with SMS and display on the LCD when the charging or distribution is complete. There are 3 (three) premium levels that will be applied to the system. The first delivery condition of the tank is a 5 liter tank, the second condition from the tank to the gas station 1 3 liters and the third condition from the tank to the gas station 2 that is 2 liters. This system starts by activating the push button that functions as a motor drive switch and ultrasonic HC-SR04 sensor to detect premium level heights when premium sensitivity reaches heights will turn off the wiper motor driver. Premium volume will be informed to the user (the owner of the tank in the form of SMS using the SIM 900. The advantage of this tool is to detect premium theft in the premium tank by sending SMS ownership from the tank. This system can detect the theft of premium tanks via SMS, apply ultrasonic sensors (HC -SR04) to detect premium level heights the type of mass of the 0.76 kg premix affects the height at the volume of the tank. When the high volume of the 5 liter tank between the sensor and the premium is 7.63 cm, when the 2 liter volume high between the sensor and the premium is 13 , 63 cm, while at the time of empty tank (0 liters) the height of sensor with premium is 17,63 cm.


Introduction
Premium is a clear yellowish color distillate oil. Premium in Indonesia marketed by Pertamina with a relatively cheap price because it obtains a subsidy from APBN Premium is the premium for the most popular motor vehicles in Indonesia. Premium in Indonesia marketed by Pertamina has a relatively cheap price because it obtains a subsidy from the state budget. But recently the rampant premium scarcity is a problem that has an impact on society, especially for people who drive. The absence of the premium will cause the vehicle to not operate. This prompted many cases of premium theft in Indonesia. This theft mode is done by the driver or other party when the distribution on the truck tank often occurs theft with the term "urine arbitrary" or reduce the premium charge before getting to the gas station by irresponsible elements. Truck tank is a truck designed to transport a liquid or gas load. Until now for the security of premium shipping through Pertamina tank still handle it manually. So with the limited number of employees, all trucks can not be monitored optimally. On the system there is a push button to activate the wiper motor driver. The driver functions to control or disconnect and connect the current to the output to be used i.e. Motor Wiper. Wiper motor that will push it out and will stop when it is finished filling either to the truck tank or gas station 1 and gas station 2 with controlled by ultrasonic sensor that is HC-SR04. When the charging has finished LCD display will appear and sending SMS to the user about the remaining premium on the tank will be done in tandem [1][2][3][4][5].

Literature Review
Ultrasonic sensors are sensors that transmit sound waves and then monitor their reflections so that they can be used to determine the distance between sensors and objects that reflect back sound waves can be seen in Figure 1 below. One of the sensors that people often use in experimenting is HC-SR04. Handling distances range from 2 cm to 400 cm, with a precision level of 0.3 cm. Detection angles that can be handled no more 15 °. The required current is not more than 2 mA and the required voltage is +5 V. The number of pins is 4, the details of each pin can be seen in Table 1 below.  Gnd (connected to ground) SR04 The distance between the sensor and the object that reflects the sound waves is calculated using the following formula: Distance = Speed * T / 2. Arduino Uno is a microcontroller board based on ATmega328. Arduino Uno has 14 digital input / output pins (of which 6 can be used as PWM output), 6 analog inputs, 16 MHz ceramic resonator, USB connection, power jack, ICSP header and reset button can be seen in Figure 2 below. built on what is needed to support the microcontroller, resources can use USB power (if connected to computer with USB cable) and also with adapter or battery. following Arduino Uno Atmega 328 can be seen in Fig.2  The data bus consists of 4 or 8 lines (depending on the mode of operation selected by the user). In 8 bit data mode, the path used is DB0-DB7, while for 4 bit data mode, the path used is DB4-DB7. Wiper motors are DC electric motors combined with natural magnets (ferrite magnets). As a stator and armature as its rotor. The following parts of the wiper motor can be seen in Fig.4.

Fig.4. Parts of wiper motor
How it works Wiper motion is driven by a current flowed by the battery to the fuse and to the switch and onto the wiper motor so that the wiper motor can move properly. In Wiper, there are three movements that we often see that is slow (Low Speed), fast (High Speed) and slowly timed (Intermittent). Here is the movement of wiper motor seen in fig.5.

Fig.5. Movement of Wiper Motor
A relay is a device that operates on the basis of electromagnetics to drive a number of compacted contactors or an electronic switch which can be controlled from other electronic circuits by utilizing electric power as its energy source. The contactor will be closed (on) or open (die) due to the induced magnetic induction effect of the coil (inductor) when electrified.
Relay consists of 3 main parts, namely: 1. Common, is a part that is connected with Normally Close (under normal circumstances). 2. Coils (coils), are the main components of relays used to create magnetic fields. 3. Contact, which consists of Normally Close and Normally Open.

Experiment and Analysis
This test is done to find out the readability of sensors HC-SR04 and GSM shield, as shown in fig 6. Tests performed at the measurement point (TP) can be seen in fig.7. Where measurements are made on the trigger pin and echo (sensor data) of the ultrasonic sensor.  Here's a measurement table between the premium distance with the sensor:

Conclusion
Based on the above table it can be known, when the SMS will be received and at what distance the SMS will be received. The overall system test aims to know the course of the system, and to know the error that will occur on the system running so that the error can be anticipated and improved. In the table is known that the measured distance of the sensor will continue to increase along with the reduced premium detected.