Android-Based Robots      Khaled Al-Kady       Robotics25
Todays Message●   Entering the robotics field is easy!●   Knowing how to enter the field
Todays Message●   Entering the robotics field is easy!●   Knowing how to enter the field
Easy!
What is a Robot anyway?        Input               Processing               OutputTaken from environment not from         ...
What prevents software developers      from building Robots?
Problem 1: IOInterfacing with external devicesYou cant debug wires!
Solution for problem 1: IOInterfacing with external devices – still exists,but no longer includes:
Problem 2: ProcessingBasic micro-controllers●   Low level programming●   Physical constraints●   Lack of utilities
Solution for Problem 2: Processing●   Advanced Micro-controllers         –   Arduino●   Computer on chip         –   Raspb...
Demo●   Demo 1        –   Remote controlled plane●   Demo 2        –   The plane controls itself
Demo: ArchitecturePhone + Advanced Micro-controller                                    input                    Micro     ...
Demo: Components          IOIO                Android PhoneRemotely controlled       Android 1.5+micro-controller (USB &Bl...
Demo: Components        Servo          Brushless Motorclass PwmOutput     class PwmOutput+ setPulseWidth()   + setPulseWid...
Demo: Components   Ultrasonic sensor   Built-in Accelerometerclass AnalogInput      SensorEventListener+ getVoltage()     ...
Demo: Code!    IOIOActivity      BaseIOIOLooper          IOIOcreateIOIOLooper()   setup()           openPwmOutput()       ...
Other approaches 1/2Phone + Micro-controller●   Android + Arduino         –   ADB: Android Debug Bridge         –   ADK: A...
Other approaches 2/2Computer on chip1Ghz processor, 1GB RAM, Ubuntu/ICS●   RaspberryPI●   BeagleBone●   PcDuino           ...
Where to find components?Hacks●   DVD writers         –   Bushless motor + Stepper motor + Laser !!●   Old toys & Mechano●...
Get Involved!●   Collaboration and technical support●   Sponsoring amazing graduation projects●   Facebook: Robotics25●   ...
Thank you : )    FB: Robotics25khaled.alkady@yahoo.com
Upcoming SlideShare
Loading in …5
×

Android Based Robots

2,073 views

Published on

This presentation shows different ways for creating android-based robots

1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total views
2,073
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
126
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide

Android Based Robots

  1. 1. Android-Based Robots Khaled Al-Kady Robotics25
  2. 2. Todays Message● Entering the robotics field is easy!● Knowing how to enter the field
  3. 3. Todays Message● Entering the robotics field is easy!● Knowing how to enter the field
  4. 4. Easy!
  5. 5. What is a Robot anyway? Input Processing OutputTaken from environment not from Usually includes making a keyboard! physical action Position (Gyro, Accelerometer) Rotating a motor Distance (Ultrasonic sensor) Making a sound
  6. 6. What prevents software developers from building Robots?
  7. 7. Problem 1: IOInterfacing with external devicesYou cant debug wires!
  8. 8. Solution for problem 1: IOInterfacing with external devices – still exists,but no longer includes:
  9. 9. Problem 2: ProcessingBasic micro-controllers● Low level programming● Physical constraints● Lack of utilities
  10. 10. Solution for Problem 2: Processing● Advanced Micro-controllers – Arduino● Computer on chip – RaspberryPI – BeagleBone – PcDuino● Phone + Advanced Micro-controller – Android + Arduino – Android + IOIO
  11. 11. Demo● Demo 1 – Remote controlled plane● Demo 2 – The plane controls itself
  12. 12. Demo: ArchitecturePhone + Advanced Micro-controller input Micro devicesSmart phone Controller (Android) output (IOIO) devices
  13. 13. Demo: Components IOIO Android PhoneRemotely controlled Android 1.5+micro-controller (USB &Bluetooth)48 Input/Output pins
  14. 14. Demo: Components Servo Brushless Motorclass PwmOutput class PwmOutput+ setPulseWidth() + setPulseWidth()Values: 500-2500 Values: 1000-2000
  15. 15. Demo: Components Ultrasonic sensor Built-in Accelerometerclass AnalogInput SensorEventListener+ getVoltage() + onSensorChanged()Values: 10mV/inch Values: -9.8 to +9.8
  16. 16. Demo: Code! IOIOActivity BaseIOIOLooper IOIOcreateIOIOLooper() setup() openPwmOutput() loop() openAnalogInput() MyScreen MyLooper InputWrappercreateIOIOLooper() setup(){}{ loop(){}} OutputWrapper
  17. 17. Other approaches 1/2Phone + Micro-controller● Android + Arduino – ADB: Android Debug Bridge – ADK: Accessory Development Toolkit – SPP/Bluetooth: Serial Port Profile input Micro devices Smart phone controller output devices
  18. 18. Other approaches 2/2Computer on chip1Ghz processor, 1GB RAM, Ubuntu/ICS● RaspberryPI● BeagleBone● PcDuino input devices Computer on chip output sensors screen devices
  19. 19. Where to find components?Hacks● DVD writers – Bushless motor + Stepper motor + Laser !!● Old toys & Mechano● Car window motor, windscreen wipersRC shops● HobbyKing.com● Electronics shops in city center
  20. 20. Get Involved!● Collaboration and technical support● Sponsoring amazing graduation projects● Facebook: Robotics25● Twitter: @Robotics25
  21. 21. Thank you : ) FB: Robotics25khaled.alkady@yahoo.com

×