GDG-CJ; Andorid and Arduino: Amarino

482 views
395 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
482
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
15
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

GDG-CJ; Andorid and Arduino: Amarino

  1. 1. Controlling the real world from Android Alexandru IOVANOVICI 19-01-2013 Beta is provided by
  2. 2. Quick outline What is Arduino ? What is Amarino ? How to talk to an Arduino device from Android ? A few words about Google IOIO; Demo moment …with Beta by Robofun Q&A
  3. 3. Where not otherwise stated all the images and diagrams are taken from Bonifaz Kaufmanns thesis on Amarino
  4. 4. What is Arduino ?
  5. 5. A few projects with... Arduino
  6. 6. Arduino +s Multiplatfrom IDE; Quite cheap; Simple UI on the IDE; easy to learn … but can be integrated also in VS or Eclipse for a “real” IDE; USB programming interface … real COM is dead; board layout, bootloader and IDE are Open Source; Large and active community; Started as educational project → easy to learn for the novices;
  7. 7. What is Amarino ?
  8. 8. Platform considerations for Amarino
  9. 9. Design decisions of Amarino Amarino shall be able to run as a background task → unobtrusive Interfaces for third-party applications shall be provided → extensible Comprehensive monitoring shall be available → transparent Parallel communication to multiple devices shall be possible → powerful Bluetooth related code shall be decoupled → portable
  10. 10. Architecture of Amarino
  11. 11. How it looks like ?
  12. 12. Amarino – Event Manager
  13. 13. Amarino – Event Bundle via plugins
  14. 14. Ambient Light Demo App.
  15. 15. CallMyShirt Demo App.
  16. 16. Workout Demo App.
  17. 17. Amarino – API1 private static final String DEVICE_ADDRESS = "00:06:66:03:73:7B";23 @Override4 protected void onStart() {5 super.onStart();67 Amarino.connect(this, DEVICE_ADDRESS);8 }910 @Override11 protected void onStop() {12 super.onStop();14 // if you connect in onStart() you must not forget to disconnect inonStop()15 Amarino.disconnect(this, DEVICE_ADDRESS);16 }1 final char flag = a;2 final String message = "Amarino rocks!";34 Amarino.sendDataToArduino(this, DEVICE_ADDRESS, flag, message);
  18. 18. Amarino – Documentation Online tutorials Code Examples Javadoc www.amarino-toolkit.net Source Code Discussion forum
  19. 19.  Android 1.5 and later;  USB host and Bluetooth;  Java API – no embedded;  No HW||SW mods on Android;  Open Accesory (>=2.3.4)→ Accesory Developement Kit (ADK)  48 I/O pins, 9PWM, 3 TWI,© sparkfun.com 5V@1.5A power supply;  Open Source … everything
  20. 20. Demo moment

×