Home > Projects > Phone Projects > Using the Android Platform to control Robots

Using the Android Platform to control Robots

Summary of Using the Android Platform to control Robots


This article analyzes the LPCCA library, which enables Android devices to remotely control LEGO Mindstorms NXT robots. It addresses hardware limitations by introducing a two-layer approach using microcontrollers like Arduino and various connection methods (USB, Bluetooth) to bridge Android with robotic actuators and sensors.

Parts used in LPCCA Library Project:

  • Android devices
  • LEGO Mindstorms RCX
  • LEGO Mindstorms NXT
  • Arduino board
  • Arduino Mega Board
  • Microbridge software project
  • USB Host Shield
  • IOIO Board
  • Google ADK
  • Cellbots
  • Amarino
  • leJOS 0.9/Android
  • LPCCARemoteService
  • WebMoteRobot application

The popularity of android devices is attributed to their powerful capabilities which include internet connectivity, open architecture, and several other kinds of built-in sensors. Students and other software developers are increasingly using the android platform since it utilizes Java programming language which can easily be applied in universities and other learning institutions LPCCA. Not only is Android API open and easy to use, it also allows developers to access various hardware components and different low-level functions. Most robotic functions can be controlled by the Android platform due to presence of several communication interfaces such as Bluetooth, WiFi, USB, GSM/UMTS, and integrated sensors like the gyroscope, accelerometer, compass and GPS.

Although the devices are produced for the mass market, the Android platform does not have the capacity of physically extending so that it can be able to control additional sensors and actuators. Developers argue that this is an important necessity if Android devices are to be used for robotic control. Experts believe that most of the challenges can be solved by making data structures, algorithms, and software behavior more concrete. For instance, robots can be built easily with LEGO Mindstorms RCX and with the latter NXT. However, the NXT capabilities are not sufficient for running complex programs that are based on Java. A two-layer approach is used to address this problem, while experts intend to replace the lower layer in the future robotic versions with a microcontroller platform, such as the popular Arduino board.

Experts designed LPCCA library that deviates from a direct connection between NXT and Android, to Android and microcontrollers. Several types of board designs have been introduced, such as the Arduino Mega Board, which has a larger CPU and additional ports compared to the standard Arduino. A number of approaches have already been introduced. First, Microbridge is a software project that builds upon a USB Host Shield and an Arduino microcontroller board (Gobel, et al., n.d). Second, the IOIO Board is a hardware circuit board that is used as a direct extension for the Android platform. Other approaches that have already been experimented on include Google ADK, Cellbots, Amarino, and leJOS 0.9/Android.

The popularity of LEGO Mindstorms NXT system has risen rapidly in learning institutions because it is less costly in comparison to other robot platforms for professionals. It is also flexible due to several mechanical elements that allow development of various robots, while its graphical programming software is easy to understand.

Lego Mindstorms NXT

Figure 1: Lego Mindstorms NXT (source: http://www.jataka.hu/rics/lego/)

Experts developed a library so as to create sufficient connection between NXT and Android. Connection considerations that were utilized include direct via USB, indirect via microcontroller, and Bluetooth. The current implementation of the library has a Remote Service known as LPCCARemoteService. This is an Android interface that controls connections between Android applications and NXT. An example is the WebMoteRobot than can be used to set up connection when a person has an Android device.

WebMoteRobot

Figure 2: WebMoteRobot (Source: http://www.innoc.at/fileadmin/user_upload/_temp_/RiE/Proceedings/65.pdf )

Basically, this document has analyzed the fully functional LPCCA library that enables experts to develop Android applications with ability of controlling remotely the NXT robots. Whereas most of this information can be accessed in actuatorzone.com, Android enthusiasts will thus benefit from the library where programs can be used to verify complex control sequences for the NXT. Students will also be supplied with an easy access to LEGO robot sensors and actuators that are not only simple and flexible, but also less costly.

Quick Solutions to Questions related to LPCCA Library Project:

  • Why is the Android platform popular for robotics development?
    It offers powerful capabilities including internet connectivity, open architecture, built-in sensors, and Java programming support.
  • What limitation does the standard Android platform have regarding robotics?
    The platform lacks the capacity to physically extend to control additional sensors and actuators required for robotic control.
  • How does the article suggest solving the extension challenge for Android robots?
    Experts propose a two-layer approach that uses microcontroller platforms like Arduino to replace or supplement the lower layer.
  • Which specific boards are mentioned as alternatives to the standard Arduino?
    The text mentions the Arduino Mega Board which has a larger CPU and additional ports compared to the standard version.
  • What connection methods does the LPCCA library utilize between Android and NXT?
    The library supports direct connection via USB, indirect connection via microcontroller, and Bluetooth.
  • What is the function of LPCCARemoteService?
    It is an Android interface that controls connections between Android applications and NXT robots.
  • Why is the LEGO Mindstorms NXT system favored in learning institutions?
    It is less costly than professional robot platforms, flexible due to mechanical elements, and features easy-to-understand graphical programming software.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top