Very simple Android application for communicating with Arduino Uno (with Atmega16U2 or Atmega8U2 programmed as a USB-to-serial converter).
No need for extra Host Shield or Bluetooth. All you need is a Micro USB OTG to USB Adapter.
Send data from your Arduino with Serial.println(), Serial.print() or Serial.write() in 9600 baud rate. Receive data with Serial.read().
Toggle between hex and ascii by clicking on received/sent data.
Let your own Android application receive data from Arduino by listening to the "primavera.arduino.intent.action.DATA_RECEIVED" intent. This intent will contain the "primavera.arduino.intent.extra.DATA" byte array with the received data. Call getByteArrayExtra("primavera.arduino.intent.extra.DATA") to retrieve the data. Send data to Arduino from your application by broadcasting an intent with action "primavera.arduino.intent.action.SEND_DATA". Add the data to be sent as byte array extra "primavera.arduino.intent.extra.DATA".
Please note that this app will not work with Arduino boards with the FTDI USB-to-serial driver chip.
Source code at: https://github.com/jeppsson/Arduino-Communicator
For any questions or comment, do not hesitate to mail me at mat.jeppsson@gmail.com
Tags: arduino android usb, arduino uno bluetooth android, arduino uno, android arduino usb communication, script bluetooth arduino android.
No need for extra Host Shield or Bluetooth. All you need is a Micro USB OTG to USB Adapter.
Send data from your Arduino with Serial.println(), Serial.print() or Serial.write() in 9600 baud rate. Receive data with Serial.read().
Toggle between hex and ascii by clicking on received/sent data.
Let your own Android application receive data from Arduino by listening to the "primavera.arduino.intent.action.DATA_RECEIVED" intent. This intent will contain the "primavera.arduino.intent.extra.DATA" byte array with the received data. Call getByteArrayExtra("primavera.arduino.intent.extra.DATA") to retrieve the data. Send data to Arduino from your application by broadcasting an intent with action "primavera.arduino.intent.action.SEND_DATA". Add the data to be sent as byte array extra "primavera.arduino.intent.extra.DATA".
Please note that this app will not work with Arduino boards with the FTDI USB-to-serial driver chip.
Source code at: https://github.com/jeppsson/Arduino-Communicator
For any questions or comment, do not hesitate to mail me at mat.jeppsson@gmail.com
Tags: arduino android usb, arduino uno bluetooth android, arduino uno, android arduino usb communication, script bluetooth arduino android.
Recently changed in this version:
Added support for:
Arduino Mega 2560 ADK
Last activity on Arduino Uno Communicator
-
srj60183 Downloaded 2d ago -
ajantha bhat Downloaded May 6, 2013 -
riodel Downloaded Apr 30, 2013 -
radek99211 Downloaded Apr 28, 2013 -
zemanel18 Downloaded Apr 21, 2013
-
micro_sandi Downloaded Mar 28, 2013
-
Roger_Albuquerque Downloaded Mar 28, 2013 -
henkieb Downloaded Mar 24, 2013 -
uri3612 Downloaded Mar 23, 2013



Comments and ratings for Arduino Uno Communicator
(74 stars)
by Theo on 30/07/2012
That's a good app no doubt but please add text mode too as hex output is not always very meaningful.
(74 stars)
by jeff on 13/06/2012
I downloaded it hoping it would talk to my netduino over usb. The OS (android ICS) sees the device. Any chance of adding a driver for this usb?