3

I am trying to read serial data from an Arduino project, and I was wondering how to get the data over USB with an iPad. (iPad with a camera adapter). I do realize I would have to jailbreak the iPad, which is not a problem.

Any ideas?

dsolimano
  • 8,870
  • 3
  • 48
  • 63
Gabe
  • 539
  • 7
  • 19

1 Answers1

3

Please take a look at USB-Programming on iPhone.

And, at least, you can compile libusb for iOS. I haven't succeeded to use it on non-jailbreak-ed iPad with camera adapter, but it might work on jailbreak-ed iPad.

Link IOKit headers into iOS SDK from Mac OS X.

$ sudo ln -s /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/IOKit.framework/Headers /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/System/Library/Frameworks/IOKit.framework

Configure libusb using configure-iphoneos.sh, and make.

$ ./configure-iphoneos.sh
$ make

Another option, Audio Jack modem for Iphone and Android. It is able to communicate with Arduino via Audio Jack without jailbreak.

Community
  • 1
  • 1
Kazuki Sakamoto
  • 13,929
  • 2
  • 34
  • 96
  • "[How to bulid iPad with Arduino + Processing.js](http://d.hatena.ne.jp/kougaku-navi/20110423/1303589571)" It makes Arduino is as USB keyboard. – Kazuki Sakamoto May 11 '11 at 02:08