Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Building robots-using-android-and-arduino


Published on

Talk about building robots using Android and Arduino which I gave at DroidCon India. More details and video of the talk at

Published in: Technology
  • You can also try ArduinoCommander android app, which helps to control Arduino board.

    It has 'android sensors' feature and you can drive you robotic car, tank, quadrocopter, etc using android sensors, f.e. accelerometer and just rotating your android device to turn left/right, forward/backward.

    1. App on the market []
    2. Feature description with screenshots []
    3. Demo video []
    Are you sure you want to  Yes  No
    Your message goes here

Building robots-using-android-and-arduino

  1. Building Robotsusing Android and ArduinoSudar MuthuResearch Engineer, Yahoo! Labshttp://sudarmuthu.com
  2. 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
  3. Let’s start with the demo Demo
  4. Anatomy of a RobotSensors Motors Processor
  5. Android can act as a ..Sensor – Accelerometer – Camera – Magnetic Compass – GPS – etc.Processor – Native Java App – Android Scripting Environment (ASE)
  6. Missing part is..
  7. Missing part is.. Motor(and that’s where Arduino can help)
  8. Arduino• Visual Basic for hardware• Includes both Hardware and software Photo credit Arduino team
  9. We have Android (Sensors &processor) and Arduino (Motor)
  10. We have Android (Sensors &processor) and Arduino (Motor) Let’s make them talk
  11. Making them talk• Over Bluetooth• Over WIFI• Over USB – ADK – Normal Way• Over Audio Jacket• Over GSM• Over C2DM• Others (NFC, Intermediate computer etc)
  12. Over BluetoothYou need• Bluetooth Shield• Library – Amarino - http://amarino-toolkit.netAdvantages• 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
  13. 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
  14. 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
  15. Over USB Cable – Socket &LogcatYou need• USB Host Shield• Library – Microbridge -• Works in older versions as well• Two way communication (Socket &Logcat)Disadvantages• Wired connection is needed
  16. Over Audio JacketYou need• Male Audio Pin• Pre-encoded Wave/MP3 filesAdvantages• Very compact• Less power consumptionDisadvantages• Only one way communication is possible• Slightly difficult to get it to work
  17. Over GSMYou need• GSM ArduinoShiled• Two sim cardsAdvantages• Range is unlimited• Very simple to setup• Two way communication is possibleDisadvantages• Operating cost (SMS)• Potential to abuse
  18. Over C2DMYou need• Ethernet or WifiArduino 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
  19. Other OptionsSomenotablealternateoptions• NFC (Near Field Communication)• Using Computer as a intermediate transmitter• USB Host support (in case of tablet or rooted phones)
  20. Don’t throw awayyour old phones ;)
  21. Links• Arduino –• Microbridge –• Amarino –• USB Host Shield – shields/usb-host-shield-2-0-for-arduino/• Using Arduino as ADK – board-as-googles-adk-kit• My articles about Arudino –• Demo source code –• Demo Project page –• Cellbots–
  22. QuestionsThank You Sudar Muthu