Skip to content

Generic robot controller for Arduino101 board / Adafruit v2 motor shield.

Notifications You must be signed in to change notification settings

Seamonsters-2605/Ardroid

Repository files navigation

ARDROID

A robot controller app for the Arduino101 board with an Adafruit v2 motor shield. Download on Google Play

Here's a demo robot on Thingiverse (has an old version of the app and Arduino code).

There are two parts to this: an Android app, written with MIT App Inventor 2, serving as a remote control for the robot; and an Arduino sketch that receives signals from the controller over Bluetooth and moves motors accordingly. The app allows customization of the controls for moving motors and for driving. It also has a rudimentary scripting language; see the ArdroidScript directory.

You will need App Inventor 2 to compile the app to an APK. For more information, see theming/README.md.

Arduino Sketch Installation Instructions

  • Download the Arduino IDE

  • Download the ardroid.ino file from this repository. It must be in a folder called ardroid (all lowercase).

  • Go to Tools Menu > Board > Boards Manager... and install "Intel Curie Boards." DON'T install the newest version! Install version 1.0.6.

    • If the board has been used with a newer version of the library, you may have to flash an older version of the firmware. Download this version of the flashpack (not a newer one) and run the flash_dfu script (works best on Linux). Newer versions of the firmware have this issue.
  • Change the board type to "Arduino/Genuino 101"

  • Go to Sketch > Include Library > Manage Libraries... and install "Adafruit Motor Shield V2 Library."

  • If you are on Linux, open a terminal and run:

    cd ~/.arduino15/packages/Intel/tools/arduino101load/1.6.9+1.28/scripts
    sudo ./create_dfu_udev_rule
    sudo usermod -a -G dialout YOUR_USER_NAME
    

    and log out and log back in.

  • Plug in the Arduino, select the correct port in the Tools > Port menu, and upload your sketch by clicking the Upload button (right arrow in the top left corner).

About

Generic robot controller for Arduino101 board / Adafruit v2 motor shield.

Resources

Stars

Watchers

Forks

Packages

No packages published