0% found this document useful (0 votes)
132 views

Communication Appinventor Arduino

This document outlines a project to control an Arduino LED from an Android tablet application using App Inventor and a USB connection. It describes connecting the Arduino and tablet via USB, using App Inventor to develop the Android application, and communicating at 115200 bauds between the two. Arduino code is provided to turn LED 13 on or off based on messages received and send a response message.

Uploaded by

wawanUAI
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
132 views

Communication Appinventor Arduino

This document outlines a project to control an Arduino LED from an Android tablet application using App Inventor and a USB connection. It describes connecting the Arduino and tablet via USB, using App Inventor to develop the Android application, and communicating at 115200 bauds between the two. Arduino code is provided to turn LED 13 on or off based on messages received and send a response message.

Uploaded by

wawanUAI
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

[COMMUNICATION : APP INVENTOR <-USB->UART]

Goal "ARDUINO + Android Tablet"


Goal
_______________________________________
Control arduino LED 13 with an android
application+ display an incoming message from
arduino card

ARDUINO + Android Tablet

Operationals requirements
Requirement

Connection :OTG
USB

Requirement

Developement tool
APP INVENTOR

communication at 115200 bauds RX TX with OTG


USB connection + developement tool : APP
INVENTOR

Bdd : context system

Download app on Play


store : USB Bridge for App
Inventor 2

Use tool APP


INVENTOR 2

https://play.google.com/store/app
s/details?id=bp.usbbridge.appinv

Use Arduino IDE or


Ardublock

Use Case Diagram: Software

Use tool APP


INVENTOR 2

Download app on Play


store : USB Bridge for App
Inventor 2

Use Arduino IDE or


Ardublock

Possibility used :
1: Develop an Android application with App Inventor 2
2: Develop an Arduino application (115200 Bauds)
3: Download and Use USb_Bridge_AppInventor to allow communication

Android Tablet APP INVENTOR 2


1) Initialisation

2) Communication

3) Write Command

4) Read Command

ARDUINO Card
// Sample Arduino sketch for use with usb-serial-for-android OTG and APP INVENTOR 2
// 09/02/2015
// LED ON (13) if received "ON"
// LED OFF (13) If received "OFF"
// Send a message if received "Read"

Program Arduino with ARDUBLOCK : ardublock-beta-20140828.jar


http://sourceforge.net/projects/ardublock/files/

You might also like