• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Building robots using android and arduino google devfest

Building robots using android and arduino google devfest





Slides from my talk about Arduino and Android which I gave at Google DevfestX



Total Views
Views on SlideShare
Embed Views



9 Embeds 80

http://www2.fundacioninlea.org 58
http://www.onlydoo.com 9
http://sudarmuthu.com 3
http://limbangangarut.com 2
http://us-w1.rockmelt.com 2
https://si0.twimg.com 2
http://loneoakrobotics.wikispaces.com 2
http://vrindavijayan.blogspot.de 1
http://anonymouse.org 1


Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

CC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

    Building robots using android and arduino google devfest Building robots using android and arduino google devfest Presentation Transcript

    • Building Robotsusing Android and ArduinoSudar MuthuResearch Engineer, Yahoo! Labshttp://sudarmuthu.comhttp://github.com/sudarhttp://twitter.com/sudarmuthu
    • Agenda• Let’s start with a demo• Anatomy of a robot• Android• Arduino• Making them talk – Over Bluetooth – Over WIFI – Over USB wire – Over Audio Jacket – Over GSM• Summary• Questions
    • Let’s start with the demo Demo http://sudarmuthu.com/arduino/asimi
    • Anatomy of a RobotSensors Motors Processor
    • Android can act as a ..Sensor – Accelerometer – Camera – Magnetic Compass – GPS – etc.Processor – Native Java App – Android Scripting Environment (ASE)
    • Missing part is..
    • Missing part is.. Motor(and that’s where Arduino can help)
    • Arduino• Visual Basic for hardware• Includes both Hardware and software Photo credit Arduino team
    • We have Android (Sensors &processor) and Arduino (Motor)
    • We have Android (Sensors &processor) and Arduino (Motor) Let’s make them talk
    • Making them talk• Over Bluetooth – Serial Socket• Over WIFI• Over USB – ADK – Normal Way• Over Audio Jacket• Over GSM• Over C2DM• Over NFC• Others (Intermediate computer etc)
    • Over BluetoothYou need• Bluetooth Shield (or just a Bluetooth Dongle)• Library – Amarino - http://amarino-toolkit.net• Or create a Bluetooth SocketAdvantages• Wired connection is not needed• Can work from Android 1.5• Two way communicationDisadvantages• Power consumption is high• Slightly slower when compared with others• Range is limited
    • Over WIFIYou need• Wifi Shield• Wifi ConnectionAdvantages• Wired connection is not needed• Two way communication• Can work from Android 1.5Disadvantages• Both should be present in the same network• Power consumption is slightly high
    • Over USB Cable - ADKYou need• ADK Board or USB Host Shield• ADK SDKAdvantages• Native support from Android• Two way communicationDisadvantages• Will work only in 2.3.4 +• Wired Connection is needed
    • Over USB Cable – Socket & LogcatYou need• USB Host Shield• Library – Microbridge - http://code.google.com/p/microbridge/Advantages• Works in older versions as well• Two way communication (Socket & Logcat)Disadvantages• Wired connection is needed• The bandwidth is slower
    • Over Audio JacketYou need• Male Audio Pin• Pre-encoded Wave/MP3 files• http://sudarmuthu.com/blog/transferring-data-from-android- using-audioAdvantages• Very compact• Less power consumptionDisadvantages• Slightly difficult to get it to work• Baud rate is slow
    • Over GSMYou need• GSM Arduino Shiled• Two sim cardsAdvantages• Range is unlimited• Very simple to setup• Two way communication is possibleDisadvantages• Operating cost (SMS)• Potential to abuse
    • Over C2DMYou need• Ethernet or Wifi Arduino Shield• C2DM accountAdvantages• Good for notifications• Very easy to setup in Android sideDisadvantages• Only one way communication is possible• Works only from v2.2+• Need Wifi connectivity
    • Over NFCYou need• NFC Shield• Phone which has NFCAdvantages• Very easy to setup• No connection needs to be setupDisadvantages• Works only from v2.2+• Very short range
    • Other OptionsSome notable alternate options• Using Computer as a intermediate transmitter• USB Host support (in case of tablet or rooted phones)• Serial VGA (You can project from an Android phone)
    • Don’t throw awayyour old phones ;)
    • Links• Arduino – http://arduino.cc• Microbridge – http://code.google.com/p/microbridge/• Amarino – http://amarino-toolkit.net• USB Host Shield – http://circuitsathome.com/products-page/arduino- shields/usb-host-shield-2-0-for-arduino/• Using Arduino as ADK – http://sudarmuthu.com/blog/using-standard-arduino- board-as-googles-adk-kit• My articles about Arudino – http://sudarmuthu.com/blog/category/ardino• Demo source code – http://github.com/sudar/Asimi• Demo Project page – http://sudarmuthu.com/arduino/asimi• Cellbots – http://cellbots.com
    • QuestionsThank You Sudar Muthu http://sudarmuthu.com http://gitbub.com/sudarhttp://twitter.com/sudarmuthu