PDA

View Full Version : Beginner’s Android/Arduino example shows the power of App Inventor



wraggster
February 16th, 2013, 01:47
http://hackadaycom.files.wordpress.com/2013/02/app-inventor-android-bluetooth-example.png?w=580&h=343
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 (http://arduino.cc/forum/index.php/topic,148853.msg1118346.html#msg1118346).
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 (http://appinventor.mit.edu/) — 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 ofprogramming the Arduino side of the project in a similar way (http://hackaday.com/2011/11/30/graphical-programming-with-the-arduino-ide/).

http://hackaday.com/2013/02/15/beginners-androidarduino-example-shows-the-power-of-app-inventor/