Stability Data Xbee S2b Zigbee Communication on Arduino Based Sumo Robot

Wireless technology is a solution to reach hardto-reach places using cable technology. The use of wireless technology can reach these areas without using copper or cables in the data transmission process. Communication technology using wireless is one solution to connect the control system to support the creation and achievement of the goals of the 4.0 revolution so that control and monitoring become easier. With the convenience provided by wireless technology such as connecting various types of system devices between other systems. One type of wireless technology is WPAN, especially on the ZigBee system from Digi International with the IEEE 802.15.4 protocol standard with low power consumption and working at a frequency of 2.4 GHz. Utilization of the communication system from the ZigBee protocol can control according to the range capabilities of the ZigBee system. ZigBee's ability and use of communication can perform communication control robot sumobot (slave robot) and remote control (robot leader) as an introduction to command data to carry out movements on the slave robot in accordance with the orders from the robot leader After trying XBEE to send data at a certain distance without experiencing data loss, the best distance is obtained, namely 1 100 meters with the firmware coordinator and router settings. Data delays can be minimized with a transfer rate of 3 kbps in the data transfer rate. Keywords— ZigBee, XBEE Communication, Sumobot, Robot Sumo, WPAN


I. INTRODUCTION
In the era of the industrial revolution 4.0, it refers to very rapid technological advances. Wireless technology or what is often called a wireless sensor network is a technology that is used for monitoring or monitoring. This development in the European region which has used various types of technological innovations has greatly helped humans in various fields, be it defense, health, agriculture, fisheries, clothing, food and others [1] [2][3] [4].
As we know, Indonesia is entering the era of the industrial revolution 4.0. The nation's children have started to carry out various types of innovations to help human work itself [5] [6]. In the current technological era, the use of cables as a conductor for current signals is very widely used. If all are connected using a cable, this will inhibit various activities and large costs [7][8] [9]. To overcome this, you can use wireless technology / wireless [10] [11].
Wireless technology is able to connect the device with other connected devices [12] [13] [14] [15]. At this time, wireless communication is very much in demand, such as the WPAN type or for medium or medium networks. The ability of this wireless is reliable in the efficiency of time and installation costs. One of the most widely used WPAN technologies for communication between devices today is the ZigBee model from Digi International [16] [17][18] [19]. This ZigBee is standardized with IEEE 802.15.4 with low power consumption for short distances and works-on a frequency of 2.4 GHz [20][21] [22][23] [24].
Research conducted by researchers is supported by the results of research conducted by previous people regarding the concept of testing communication on XBEE (Zigbee). From previous research, the researchers tested the work of XBEE and its abilities and tested it by experimenting with several important measured values [25] [26]. Analysis of previous research performance can be continued and developed by communicating in a remote-controlled sumo robot system [27][28] [29]. The concept that is built is remote, which will send a signal in the form of a command that is forwarded to the sumo robot. This information signal can be synchronized with execution with the command given [21].
The STMIK STIKOM Indonesia agency in the Control System Laboratory section has a sumobot robot but still uses the bluetooth communication type. Researchers conducted a research experiment by trying to design a remote control to become a robot leader as a transmitter and a sumobot or slave robot as a data receiver [15] [30] [31]. The experiment that was carried out was trying to implement the peer to peer communication module XBEE / wireless on each device.

A.
Comparison with other studies Researchers conducted this research because the results of previous studies could only reach a distance of 24 meters and experienced interference [32]. This study did not explain the number of repetitions performed. This initial limitation of the Robo Sumo was then fixed by using good quality and transfer distance to get a quick response to the controller for data execution. This data delay can be minimized by using XBEE S2B which has a possible maximum transfer distance of 500 meters [23]. The results of this study, the researchers developed by testing the XBEE S2B to transmit data without losing data with good speed quality and minimizing packet loss.
Researchers conducted this research because the results of previous studies could only reach a distance of 24 meters and experienced interference [32]. This study did not explain the number of repetitions performed. This initial limitation of the Robo Sumo was then fixed by using good quality and transfer distance to get a fast response to the controller for data execution. This data delay can be minimized by using XBEE S2B which has a possible maximum transfer distance of 500 meters [23]. The results of this study, the researchers developed by testing the XBEE S2B to transmit data without losing data with good speed quality and minimizing data packet loss.
B. An explanation of the initial sumo robot STMIK STIKOM Indonesia has a sumo robot using Bluetooth communication with connectivity to a smartphonebased on an app controller to run the system on the robot. However, the robot experienced many problems such as frequent data delays or data loss using the HC-6 Bluetooth module. from that, the researcher tried an experiment to develop it so that data sent from the remote get a fast response When getting commands via the remote controller with the ability of the XBEE S2B itself, it is able to support it without burdening the IC controller because XBEE has its own delivery system or firmware so that the respond coordinator and the router can be more efficient so that data loss such as Bluetooth HC-6 can be minimized.

II.
DESIGN METHODS Researchers will explain the system to be built on the sumo robot with several important values to test the functioning of the robot properly.
In this case, the researcher replaced the existing system in the initial sumo robot with XBEE due to several factors as follows: 1. There is often a delay in receiving data 2. Researchers want to develop a better XBEE response on Robo Sumo 3. The use of XBEE in wireless technology in the industrial era 4.0. This development is for further research.

The advantages of XBEE in digital communication,
where it is possible to focus data on a channel so that at a minimum distance the communication can exchange without obstacles within a certain distance, as well as the stability of XBEE.
A comparison of the use of XBEE with Bluetooth in the initial system does not work optimally, such as delays that affect the response of Robo Sumo when compared to XBEE which has good enough firmware to support communication over medium distances. XBEE itself has an antenna extender to amplify the signal.

Remote Controller (Leader)
The remote controller will be in charge of sending data in the form of information with the aim of being an order to synchronize command data and execution according to the slave robot (robot sumo). The components in Table I will be a remote control system to control all activities that will be carried out by the sumo robot. These components will be built in the form of a remote control system. The schematic form and block diagram of the system being built can be seen in Figures 1 and 2.

Sumo Robot (Slave)
The Sumo robot is a robot that receives signals from the robot leader and executes the data. Sumo robot transfer according to the command sent from the remote controller or leader. Table II below is the components of the sumo robot. The components above will be designed as a system that can be controlled by a remote controller. From these components, you will get a system that becomes one unit. The schematic form and block diagram of the sumo robot system can be seen in Figures 3 and 4.

XBEE Configuration
To be able to communicate between the robot leader and the slave robot, it is necessary to exchange information or it can be called communication. The purpose of this communication, namely the remote control as a robot leader will send commands then forward it to XBEE (transceiver) to be sent to XBEE (receiver) and then forwarded back to the slave robot microcontroller to execute data converted into movement and displacement of the robot in accordance with a signal received. The configuration on each module is in accordance with the scheme in Figure 5. From the picture above, it can be seen that the XBEE coordinator is the transceiver or the one in charge of sending data and the XBEE router is the receiver or the receiver of the data signal. This arrangement aims to exchange data so that data transmission or communication can occur between the XBEE coordinator and the router. From this communication, it will be used to send data from the remote microcontroller to the robot microcontroller so that the robot can be controlled according to the execution signal sent.

System Communication Flowchart
The system communication flowchart is a part that explains the communication system from the remote control with the sumo robot how data processing occurs in the system From the flowchart flow, we can find out how the incoming data is executed when a signal is sent from the remote controller to the Sumo robot. Communication with the data flow concept is described in the form of symbols as a representation of how the data is processed by the system. Figure 6 below is the form of a system flowchart that is built.

System Testing Methods
In testing the design that has been built, a capability test will be carried out which aims to test the limitations of the system that has been designed. Inline, it can be drawn from this test that the function from the transceiver to the receiver is in accordance with the desired execution. Here are the important points tested: • Testing XBEE communication in communications rarely 100 meters range. • Testing the sumobot robot to make a full round of hands • Testing the sumobot robot to do a full left turn • Testing the sumobot robot for forwarding movement • Sumobot robot testing to perform the reverse movement • Testing the sumobot robot to make a right turn forward in a circle • Testing the sumobot robot to turn left forward in a circle • Testing the sumobot robot to turn right backward in a circle • Testing the sumobot robot to turn left backward in a circle From these tests, the researcher obtained the results of controlling the robot with a remote control in accordance with the signal sent and received by the slave robot. The robot can move according to the instructions received from the robot leader or remote control.

III. IMPLEMENTATION OF RESULTS
Testing the best ability of XBEE at a distance of 100 meters. This is better than the research conducted by Hartawan where the XBEE ability in open space is estimated to reach 600 meters.
Researchers try to find the best scale to test the system so that the data received is not too late for robot communication. After being analyzed with the sumo robot signal communication it was decided to test up to 100 meters at the line of sight or without obstruction. The main objective is to get the best communication distance for the coordinator and router to be able to communicate with the maximum capability of the module.
The XBEE ability test was conducted at Jln. Tukad Citarum, Puri Klod Lake, South Denpasar, Bali. The test was carried out 2 times, namely testing using XTCU software on XBEE and testing with a microcontroller. Figure 7 is the XBEE test location.

Testing Using XTCU
In testing the xtcu software was used. The test was carried out using 2 methods, namely the range test and throughput testing. Tables 3 and 4 are the results of the XBEE range test data and the results of the XBEE coordinator and router test data.

Fig. 8. XBEE Range Test Data Graph
When sending data with signal quality as in Table III below, the results are that the packet is sent properly on the line of sight when transferring data with a distance of 100 meters. The transmitter failed to send 1 packet and the receiver failed to receive 1 packet with each packet load of 84 bytes.  The above test is performed to transfer 1000 bytes of data with a transfer time of 5 seconds. The results of the throughput test above can prove that the distance is getting wider the speed or the speed of data transfer decreases, but at a distance of 100 meters with a line of sight, it is still good to use it for data transfer.

XBEE testing using Arduino Uno
Testing using the Arduino Uno R3 aims to test data packet transfers. Testing is done by sending a data packet, "hello world" and checking for missing part of the character with a test distance of 100 meters. Each data packet delivery has a  Arduino test results as a coordinator and router within 100 meters are still good at transferring data. No packet length is lost. It can be said that in a distance of 20 meters to 100 meters implemented on the Arduino it can be said to be good because the data packet "hello world" sent has no missing characters.

Remote Controller Configuration Data
Researchers designed a simple remote control using an analog joystick input with an Arduino nano microcontroller and a transmitter in the form of an XBEE coordinator module. The remote serves as the robot leader (instruction center) for the slave robot (instruction execution).
To control the movement, it is necessary to determine the range division for the joystick direction instruction as the command center for the sumo robot. The division of the direction is divided into the ADC value of the joystick module according to the consumption of the direction taken. Figure 10 is a form of joystick direction configuration designed by researchers. Determining the mapping direction will make it easier for the instructions to be sent by the XBEE coordinator to the XBEE receiver as control instructions for the sumobot robot. ADC division is very important so there is no collision of the same value or value. ADC x-axis 0 -255 and y-axis from 0 -255. Each symbol is based on the x and y-axis values which are divided into 8 parts as a measure of the value sent. This description can be seen in Figure 11. This data is useful for explaining the communication data received by Robo Sumo sent by the controller.

Remote and Robot System Assembly
Assembling remote systems and robots aims to tidy up the various placement of components so as not to interfere with the execution process when the robot is alive, in other words when there is communication between the remote and the robot. Many things must be taken into account in placing the position of the system. Good placement of several components can provide good performance and reduce short or short.

Robot Communication Testing
Researchers conducted robot testing aimed at whether the robot was able to run properly and in accordance with commands from the remote control. From this test, the researchers obtained the data in Table VI.  Figure 13 shows the experiments conducted by researchers in system testers. The following is a description of the symbols in the image above: From the experimental results above, it shows that the slave robot and leader robot are in sync. The command sent by the robot leader is in accordance with the value execution carried out by the slave robot and a good signal range for the XBEE module as a communication medium for robots such as the sumobot robot. This is because this XBEE module has low power consumption or low voltage so it can save power consumption for the system.

IV. CONCLUSION
From the results of research and experiments conducted by researchers to obtain stability data from XBEE, it can be seen that the Sumobot robot receives fast data with good stability. After trying XBEE to send data at a certain distance without experiencing data loss, the best distance is obtained, namely 1 -100 meters with the firmware coordinator and router settings. Implementation of the system can work well in covering communications that occur in remote systems and sumo robots. Data delays can be minimized with a transfer rate of 3 kbps in the data transfer rate. Matching communication criteria with what the system needs must be adjusted so that it can meet the objectives of the system being built.
In this study, the researcher only wanted to achieve the goal of communicating the robot leader and slave to become one system. If the next researcher wants to develop, the researcher gives a little advice in its development. Such as the addition of supporting features to help and monitor the transmission system as well as a more elegant indicator in its development and development of a system on a single board that supports the shape and pattern of the robot itself. And one more thing, the development with XBEE communication can be developed again in various controlled devices to fulfill the integrity of control systems such as RC boats, cars, networks, control, and so on.