8

Click here to load reader

Android-controlled robot,Original PCB to work as a bridge between Android-phone and Robots

Embed Size (px)

DESCRIPTION

This is a short presentation about me and Kobe branch,Android Japan Group. For detailed information about the things in this document,please visit our website. https://sites.google.com/site/androidjpkobe/

Citation preview

Page 1: Android-controlled robot,Original PCB to work as a bridge between Android-phone and Robots

Andy,Bluetooth,PICでADK(Android Accessory)

PICとADBで接続Microbridge/PIC

PIC ADK MiniboardAndy Shield

日本Androidの会・神戸支部石井 康寛

Twitter : @yishiiブログ : 日曜エレクトロニクス

http://projectc3.seesaa.net/

Page 2: Android-controlled robot,Original PCB to work as a bridge between Android-phone and Robots

AndyタンクとAndy*● Andy=Arduinoを積載したキャタピラ車

+Android端末で操作●

Page 3: Android-controlled robot,Original PCB to work as a bridge between Android-phone and Robots

神戸支部プリント基板その1Andy Shield

1ボードにモータドライバ、Bluetooth チップ用ランド、RCサーボモータ用端子を装備したAndroid シールド

Page 4: Android-controlled robot,Original PCB to work as a bridge between Android-phone and Robots

PICでADKする

● Google I/OでADKがリリースされた約半月後、Microchip社よりPIC用のADKスタックがリリースされた。

● PIC24FJ64GB002用に一部改変するだけで、ADKとして動作

Page 5: Android-controlled robot,Original PCB to work as a bridge between Android-phone and Robots

PICでAndroid Accessoryを作る

● PICにはUSB On-the-Go搭載の省ピンマイコンがあり、USB工作しやすい ⇛ ADK工作にお手軽!

AVRUSB

HOSTController7

Arduino USB Hostshield

Androidphone

USBPIC Android

phoneAndroidphone

USB

Page 6: Android-controlled robot,Original PCB to work as a bridge between Android-phone and Robots

神戸支部プリント基板その2PIC ADK Miniboard

PIC24FJ64GB002 全ピン引き出しブレッドボードに対応した一列ピンヘッダ電源回路搭載RCサーボ用コネクタ 3ch搭載DCモータドライバ 2ch搭載電源分離対応ISP Cn搭載5cm*5cm 小型サイズ

Page 7: Android-controlled robot,Original PCB to work as a bridge between Android-phone and Robots

Microbridge/PICの作成

● オランダ Niels氏のAndroid + USB Host Shield用ADB実装● 神戸支部でPIC用にポーティングし、動作中● オープンソースにて公開予定

http://www.youtube.com/watch?v=tQRM6J2oSP0&feature=relmfu

USB HOST Device

USB HOST StackUSB HOST Stack

Microbridge(ADB)

Application

Page 8: Android-controlled robot,Original PCB to work as a bridge between Android-phone and Robots

今後の予定

● 神戸支部MLにて希望者に配布したい● Rev.2として、5V昇圧回路(USBで端末を充電し

なように)⇛ロボットの電池でAndroid端末を充電してしまう課題があったため

● モルフィー企画 USB-IOのような、汎用I/Oコマンドの準備と、Java側でI/Oを叩けるAPIの定義(PICのファームはいじらなくてもADK/ADB工作できる)