Making Arduino talk with
Android using Amarino
Sudar Muthu (@sudarmuthu)
http://sudarmuthu.com
Research Engineer
Yahoo Labs
27-Nov-2010
Bangalore Open Hardware Meetup
Agenda
 What is Arduino?
 What is Android?
 What is Amarino?
 Connecting all 3 A’s
 Demo
 Questions
What is Arduino
 Open source Electronic prototyping
platform
 Includes both hardware and software
 http://www.arduino.cc/
Photo credit Arduino
What is Android
 Software stack for mobile phones
 Includes Operating system and apps
 Phones usually has compass,
accelerometer, GPS, Bluetooth etc
 http://developer.android.com
What is Amarino
 An Android app and Arudino library to
interface both
 Uses Bluetooth for interface
 Open source
 http://www.amarino-toolkit.net/
Connecting all 3 A’s
 Install Amarino app in Android
 Install library in Arduino
 Establish bluetooth connection
between Android and Arduino
 Your are done 
Arduino to Android
 Connect Bluetooth Rx to Tx of Arudino
 Connect Bluetooth Tx to Rx of Arudino
 Connect a LDR to Analog pin 5 of
Arudino using a resistor
 Connect the power and ground from
the Bluetooth shield with the Arudino
board
Demo – Sketch
Demo – Source Code
 Arduino code –
http://code.google.com/p/amarino/source
/browse/trunk/arduino_library/MeetAndro
id/examples/SensorGraphTutorial/Senso
rGraphTutorial.pde
 Android code -
http://code.google.com/p/amarino/source
/browse/#svn/trunk/amarino_examples/S
ensorGraph
Demo – Android
Questions?
Thank you

Making arduino-talk-with-android-using-amarino

  • 1.
    Making Arduino talkwith Android using Amarino Sudar Muthu (@sudarmuthu) http://sudarmuthu.com Research Engineer Yahoo Labs 27-Nov-2010 Bangalore Open Hardware Meetup
  • 2.
    Agenda  What isArduino?  What is Android?  What is Amarino?  Connecting all 3 A’s  Demo  Questions
  • 3.
    What is Arduino Open source Electronic prototyping platform  Includes both hardware and software  http://www.arduino.cc/ Photo credit Arduino
  • 4.
    What is Android Software stack for mobile phones  Includes Operating system and apps  Phones usually has compass, accelerometer, GPS, Bluetooth etc  http://developer.android.com
  • 5.
    What is Amarino An Android app and Arudino library to interface both  Uses Bluetooth for interface  Open source  http://www.amarino-toolkit.net/
  • 6.
    Connecting all 3A’s  Install Amarino app in Android  Install library in Arduino  Establish bluetooth connection between Android and Arduino  Your are done 
  • 7.
    Arduino to Android Connect Bluetooth Rx to Tx of Arudino  Connect Bluetooth Tx to Rx of Arudino  Connect a LDR to Analog pin 5 of Arudino using a resistor  Connect the power and ground from the Bluetooth shield with the Arudino board
  • 8.
  • 9.
    Demo – SourceCode  Arduino code – http://code.google.com/p/amarino/source /browse/trunk/arduino_library/MeetAndro id/examples/SensorGraphTutorial/Senso rGraphTutorial.pde  Android code - http://code.google.com/p/amarino/source /browse/#svn/trunk/amarino_examples/S ensorGraph
  • 10.
  • 11.