Beginner’s Android/Arduino example shows the power of App Inventor

app-inventor-android-bluetooth-example

This is a simple project. It uses an Android device to switch an LED driven by the Arduino. Connectivity is provided by the Bluetooth module inserted in the breadboard. But one look at the UI on the Android device and you might think this is anything but simple. The truth is that [Kerimil] didn’t spend forever learning Java and programming the app. Instead he’s showing off the power of  App Inventor to get your Android controls up and running fast.

Check out the third button down; when was the last time you added voice commands to your project? It’s worth clicking through to see just how simple that portion was. App Inventor — a Google cast-out that is now maintained by MIT — is a graphical tool that unlocks the power of an Android handset to those with the most basic of programming understanding. For instance, the voice controls shown off after the break are provided by a single bracket which uses conditional statements to ‘listen’ for the words on, off, and blink. You’ll find the voice recognition diagram after the break as well.

You could try to go completely graphical with this project. There’s the option of programming the Arduino side of the project in a similar way.

app-inventor-voice-controls

Comments

  1. Even working in just Java, adding voice support is very,very easy. Barely a few lines, the OS and Googles server does all the work.

    Still, I was very greatfull when working on my little Android AR XMPP project I could add voice control within a hour.

  2. Could you share the AppInventor project?

    • randomdude says:

      yeah no problem – it won’t be the exact copy as I improved it to react not only to ‘BLINK’ command but also ‘FLASH’ and ‘CYCLE’… done that just because google voice search usually returns ‘pink’ or even ‘d#ck’ instead of BLINK
      but apart from that it’s the same

      The link to the source is posted in the thread on arduino forum

      note that you can create a similar app yourself in just a few minutes – MIT’s app inventor is really easy to use and intuitive

  3. medix says:

    Yeah, I’d be interested as well.

  4. medix says:

    Ah, nevermind. Skipped the text at first. ;)

  5. Cameron says:

    I’m trying to find a tutorial on talking to an arduino through USB Serial (ftdi) using app inventor… is it possible?

    OTG cable is cheaper than bluetooth modules… =\

  6. randomdude says:

    @Cameron
    Well to be honest I’d also like to see such functionality added so thx for doing so… but I don’t really understand your logic… you say that arduino boards come with FTDI/serial USB bridge – ok that’s a fact… but don’t tell me you’re going to buy a new arduino board for every project you build. An attiny chip + bluetooth module is pretty much as expensive as an arduino board. Ideal solution would be to use v-usb library – that would be AWESOME

  7. MC says:

    Started doing something like this with an Ethernet Shield and something from Instructables called Teleduino which communicates with a PHP server. Made a quick Android App in AppInventor and presto! Worldwide ethernet comms with the Arduino in an hour. With AppInventor even a total noob like me can do voice recognition. Awesome!

  8. sai krishna says:

    hello can u implement the same process to the robot

  9. Excuse says:

    how about wifi?

  10. Johan Schmit says:

    If I had knewn that I could easily program it myself I wouldn’t have hired those guys from http://www.app-inventor.de/ … well they did great work… and saved me time and money… but I think I’m going to try to learn it myself! Any good links to start with?

  11. wans says:

    anyone know how to control the ethernet arduino using internet access not with the bluetooth like this project.. cuz we are doing the project to control the electrical appliances using wifi with smartphone..

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 96,449 other followers