Simple Arduino Robot Controlled by Android


This article describes how to build a very simple Arduino robot that is made from paper and can be controlled via Bluetooth with an Android device. This guide is especially useful to beginners, and it is going to briefly explain the electronics and programming of the robot.

Simple Arduino Robot Controlled by Android

The Arduino Robot Components

Here is a  list of parts used:

  1. Robot chassis
  2. DRV8833 dual motor driver
  3. Arduino Uno or compatible
  4. Bluetooth modem
  5. Android phone or tablet

Also you are going to need these basic things to build and program your robot

  1. Computer with the Arduino IDE
  2. Soldering iron
  3. Some solder and wires

Simple Arduino Robot Controlled by Android

The Assembly of the Robot

 

After you have assembled your robot, soldered your motor driver and modem, the next step is to wire up all the parts. See below image for the electronis wiring.

Simple Arduino Robot Controlled by Android

  1. Arduino PIN      GND   —    DRV8833      GND
  2. Arduino PIN         10    —    DRV8833      ain2
  3. Arduino PIN         11    —    DRV8833      ain1
  4. Arduino PIN           5    —    DRV8833     bin1
  5. Arduino PIN           6    —    DRV8833     bin2
  6. Arduino PIN      GND    —    DRV8833    GND
  7. Arduino PIN        VIN    —    DRV8833     VIN
  8. Arduino PIN     (TX)1    —    Silvermate    RX
  9. Arduino PIN     (RX)0   —    Silvermate    TX
  10. Arduino PIN          5V    —    Silvernate VCC
  11. Arduino PIN       GND   —    Silvernate GND
  12. Silvermate           CTS   —    Silvermate  RTS

 

Arduino Programming

Download the attached sketch and flash it to your Arduino.

Robots sketch download link

If you are new to Arduino you can always reference their home page and or the Playground for ideas and insight into everything Arduino.

Playground

After flashing our Arduino with the sketch, we can use USB to send motor commands from the Arduino. We can use the Arduino IDE serial monitor to do this.

Make sure that your baud rate set on your serial monitor window is the same as the baud rate in our sketch (115200). For example, we can do commands like this.

  • f  – Forward
  • b –  Back
  • l – Left
  • r – Right

Simple Arduino Robot Controlled by Android

 

Android App to Control your Simple Arduino Robot

Here is a basic Android app that sends string commands through Bluetooth to our Arduino. To use this Android App, simply transfer the .apk to the SD card on your phone or tablet and use an app like ES file explorer to gain access into the SD card and install the .apk.

ES FIle Tutorial

Max_Control App

You can also write your own Android App to achieve this if you know how, to take advantage of the accelerometer, or touchscreen using sliders for motor speed and direction.

 

That’s All!

This hopefully has helped you get a basic understanding of how to incorporate Arduino with Bluetooth and Android. Enjoy your new wireless robot and now you can start planning your next modification to your robot with sensors, servo arms, cameras or higher level programming control with a PC over Bluetooth.

Here is the printable Design of the robot, shown in the video, which you can print on card stock at home. Take notice of the page size as it is 10′ x 16′, if this is too big for your printer use a photo editor to break up the images to a printable format.

Simple Arduino Robot Controlled by Android

Share Button

Leave a Reply