Getting started with amarino
Upcoming SlideShare
Loading in...5
×
 

Getting started with amarino

on

  • 22,733 views

An introduction to Amarino

An introduction to Amarino

Android meets Arduino

Statistics

Views

Total Views
22,733
Views on SlideShare
2,932
Embed Views
19,801

Actions

Likes
3
Downloads
137
Comments
1

41 Embeds 19,801

http://coopermaa2nd.blogspot.tw 17227
http://coopermaa2nd.blogspot.hk 1430
http://coopermaa2nd.blogspot.com 635
http://feeds.feedburner.com 260
http://coopermaa2nd.blogspot.de 39
http://coopermaa2nd.blogspot.jp 25
http://translate.googleusercontent.com 18
http://coopermaa2nd.blogspot.sg 15
http://coopermaa2nd.blogspot.ca 12
http://coopermaa2nd.blogspot.co.nz 12
http://coopermaa2nd.blogspot.com.au 11
http://coopermaa2nd.blogspot.com.es 11
http://coopermaa2nd.blogspot.co.uk 10
http://coopermaa2nd.blogspot.com.tr 10
http://coopermaa2nd.blogspot.fr 10
http://coopermaa2nd.blogspot.in 9
http://coopermaa2nd.blogspot.nl 8
http://coopermaa2nd.blogspot.it 8
http://coopermaa2nd.blogspot.com.br 8
http://webcache.googleusercontent.com 7
http://coopermaa2nd.blogspot.mx 5
http://coopermaa2nd.blogspot.kr 3
http://coopermaa2nd.blogspot.hu 3
http://coopermaa2nd.blogspot.fi 3
http://theoldreader.com 3
http://www.ztunnel.com 2
http://coopermaa2nd.blogspot.com.ar 2
http://coopermaa2nd.blogspot.ie 2
http://coopermaa2nd.blogspot.se 1
http://coopermaa2nd.blogspot.ae 1
http://coopermaa2nd.blogspot.cz 1
http://sg2005.webmail.hinet.net 1
http://coopermaa2nd.blogspot.ru 1
https://www.google.com.tw 1
http://coopermaa2nd.blogspot.ch 1
http://coopermaa2nd.blogspot.co.at 1
http://coopermaa2nd.blogspot.dk 1
http://aonijospot11.appspot.com 1
https://www.proxicate.net 1
http://131.253.14.66 1
http://coopermaa2nd.blogspot.gr 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • 多謝分享
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Getting started with amarino Getting started with amarino Presentation Transcript

  • 1 Getting started with Amarino Logo drawn by honki Speaker: Cooper Maa Date: 2012/07/18 http://coopermaa2nd.blogspot.com
  • 2 Speaker  Cooper Maa  PIC/AVR Firmware Programmer  Email: coopermaa77@gmail.com  Blog: http://coopermaa2nd.blogspot.com
  • 3 What is Amarino?
  • 4 Amarino is an Open Source Toolkit to let Android talk with Arduino over bluetooth
  • 5 Objective: Blinking the Arduino’s LED On board led
  • 6 What do you need?
  • 7 The Hardware Android Arduino Bluetooth module
  • 8 連接電腦與 Arduino
  • 9 安裝 Arduino IDE  從官方網站下載 : http://arduino.cc/en/Main/Software  下載後解壓縮即可  執行 arduino.exe 
  • 10 安裝 MeetAndroid Library  下載 MeetAndroid : http://amarino.googlecode.com/files/MeetAndroid_4.zip  下載後,解至 Arduino IDE 安裝目錄的 libraries 資料夾下 例如 : C:arduino-1.0.1libraries Sketch > Import Library 會看到 MeetAndroid
  • 11 Upload Test Program  點選 File > Examples > MeetAndroid > Test
  • 12 連接 Arduino 與藍芽模組  先把藍芽模組 baud rate 設定為 57600 bps  連接辦法 :  RXD 接至 TX of Arduino  TXD 接至 RX of Arduino  VCC to 5V of Arduino  GND to GND of Arduino
  • 13 Install Amarino App for Android 1. Install Amarino app http://amarino.googlecode.com/files/Amarino_2_v0_55.apk 2. Install Amarino Plug-in Bundle http://amarino.googlecode.com/files/AmarinoPluginBundle.apk
  • 14 Add Device 點【 Add BT Device 】搜尋藍芽設備
  • 15 Add Test Event
  • 16 Add Test Event - Continue 完成後,按下手機 B ack 鍵
  • 17 Connect
  • 18 Arduino is connected The led indicator will turn to green
  • 19 On board LED will start to blink The LED will blink when data is received from Android
  • 20 總結  需要的硬體  Android device x 1  Arduino board x 1  Bluetooth module x 1  測試步驟  安裝 Arduino IDE 與 MeetAndroid Library  Upload Test Program to Arduino  連接藍芽模組  安裝 Amarino App for Android  執行 Amarino 利用 Test Event 測試連線
  • 21 MultiColorLamp Example Picture comes from : http://www.circuit-blog.com/multi-color-lamp-using-amarino-android-and-arduino/
  • 22 材料  一顆 RGB Led 或  紅、綠、藍 LED 各一顆 以及  三個 220 歐姆電阻
  • 23 連接 LEDs  紅、綠、藍三顆 LED 分別接到 pin 9, 10, 11
  • 24 Open MultiColorLamp example  點選 File > Examples > MeetAndroid > MultiColorLamp Tutorial
  • 25 Do some modifications  把 o, p, q 三個事件旗號改成 r, g, b 原本是 o, p, q 配合 App 進行修改
  • 26 上傳 MultiColorLamp 範例 注意!上傳程式時,記得不要接著藍芽模組! 等上傳完畢後再接上!
  • 27 Install MultiColorLamp App for Android Download and install MultiColorLamp App http://from-arduino-to-android-to-arduino.googlecode.com/files/MultiC
  • 28 抄錄藍芽 MAC Address  利用 Amarino 掃瞄藍芽並抄下 MAC
  • 29 執行 MultiColorLamp App 輸入 MAC Address 完畢後按【 Set Device ID 】
  • 30 執行結果 因為沒有藍色 LED 所以用黃色 LED 代替
  • 31 SensorGraph Example
  • 32 材料  一顆可變電阻 或  光敏電阻
  • 33 連接可變電阻  把可變電阻接到 Analog pin 5
  • 34 Open SensorGraph example  點選 File > Examples > MeetAndroid > SensorGraph Tutorial
  • 35 上傳 SensorGraph 範例 注意!上傳程式時,記得不要接著藍芽模組! 等上傳完畢後再接上!
  • 36 Install SensorGraph App for Android Download and install SensorGraph App http://from-arduino-to-android-to-arduino.googlecode.com/files/Senso
  • 37 抄錄藍芽 MAC Address  利用 Amarino 掃瞄藍芽並抄下 MAC
  • 38 執行 SensorGraph App 輸入 MAC Address 完畢後按【 Set Device ID 】
  • 39 執行結果
  • 40 References  Android: http://developer.android.com  Arduino: http://arduino.cc/  Amarino: http://www.amarino-toolkit.net/  http://coopermaa2nd.blogspot.tw/search/label/Andro
  • 41