In this study, a Bluetooth-based Android application interface is developed to perform a manual and automatic control of a four-wheel-driven mobile robot designed for education, research, health, military, and many other fields. The proposed application with MIT App Inventor consists of three components: the main screen, the manual control screen, and the automatic control screen. The main screen is where the actions of the control preference selection such as manual control and automatic control and the Bluetooth connection between the mobile robot and Android phone occur. When the robot is operated manually for calibration or manual positioning purposes, the manual control screen is employed to adjust the desired robot movement and speed by hand. In the case of the need for automatic motion control, the desired robot position and speed data are inserted into the mobile robot processor through the automatic control screen. At the first stage of the work, the proposed Android application is developed with the design and block editors of the MIT App Inventor. The compiled application is then installed on the Android phone. Next, the communication between the Arduino microcontroller used for the robot control with the Bluetooth protocol and the Android application is established. The accuracy of the data dispatched to the Arduino is tested on the serial connection screen. It is validated that the data from the Android application is transferred to Arduino smoothly. At the end of this study, the manual and automatic controls of the proposed mobile robot are performed experimentally and success of the coordination between the Android application and the mobile robot are demonstrated.
Direct current (DC) motors—which have widespread usage areas such as industrial devices, automobiles, and household appliances—are also widely used in robotic systems that have developed rapidly in recent years and need precise control. Since the DC motors with encoder on its shaft used in robots have low resolution, accurate speed measurement cannot be made and this makes robot control difficult. In this study, a novel period–based measurement approach is presented to more accuracy and precision determine DC motor velocity at high speed with signals obtained from a low-resolver incremental encoder. First, the signals of the dual channel encoder are applied to the exclusive or gate to produce a single output signal with twice the frequency in order to reduce the number of interrupt pins used in the microcontroller and optimize the program cycle time. Based on the sample count calculated with the entered by user reference speed and microcontroller loop time, the mean filter is then applied to the half-wave period of the signal received through the Arduino board interrupt pin. In order to demonstrate the effectiveness of the method, measurement made with three different methods as follows: traditional period–based method, half-wave period method with only one channel, and exclusive or output signal half-wave period method. The results show the high-speed measurements through the presented method outperform other methods at high DC motor speeds. Especially in robots using more than one motor, the processing load of microcontroller has reduced and enabled the use of other peripheral interfaces by reducing the number of microcontroller pins used for the encoder. In addition, utilizing the results obtained with this method, the proportional–integral–derivative (PID) control of the motors in a four-wheel drive mobile robot is carried out for different speeds.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.
customersupport@researchsolutions.com
10624 S. Eastern Ave., Ste. A-614
Henderson, NV 89052, USA
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Copyright © 2024 scite LLC. All rights reserved.
Made with 💙 for researchers
Part of the Research Solutions Family.