Pages: [1]   Go Down
Author Topic: Connecting and charging with ipad  (Read 1713 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi there,

I want to connect my arduino uno with my ipad 3 to trigger some light switches while playing a 6-minutes-video (can be done with processing I guess).
But because the ipad needs to run about 10h it´s important for me to make it charge or at least sustain it´s power.

I hope this can be done either by:

connecting the arduino via usb (camera connection kit) to the arduino and plugging the arduino to a 12v power adapter and then charging via usb

this is my preferred way.

or:

using the PodBreakout http://www.podgizmo.com/p/92/podbreakout-ipod-iphone-ipad-breakout-board , but I´m uncertain how to mix charging with a serial connection.

any suggestions / ideas?

thanks in advance!

goetz
Logged

Offline Offline
Sr. Member
****
Karma: 1
Posts: 486
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

for the pod breakout you just need to connect GND and RX/TX to your arduino and then V+, D-, and D+ for charging. loook at the last three images here + their paragraphs: http://dduino.blogspot.com/2012/05/fm-radio-aux-input-mod.html

 
Logged

http://dduino.blogspot.com all my Arduino/electronic projects!!!

{NEW} Getting Started, Learning, Reference + FAQ PDF!!:
[url]http://ar

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thank you for this link.
I´ll order the breakout and see, if it works. Thank you very much!
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just got my ipad, but when I plug in my arduino with the camera connection kit I get a "device is not compatible" message from the ipad.
I also ordered the podbreakout 1.5, can you give me a simple hint how to establish the serial connection to my arduino when using the podbreakout and processing?
Logged

Maine
Offline Offline
Sr. Member
****
Karma: 14
Posts: 417
Caution: Explosives in use.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

IIRC, the camera connection kit is meant to be used in mass storage device mode. I don't think its even possible to make it work with an Arduino. You need to do something like this: http://devdot.wikispaces.com/Iphone+Serial+Port+Tutorial. You chose the wrong brand of device for hacking.
Logged

"Anyone who isn't confused really doesn't understand the situation."

Electronic props for Airsoft, paintball, and laser tag -> www.nightscapetech.com

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 21
Posts: 3113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

More sites:

https://courses.cit.cornell.edu/ee476/FinalProjects/s2007/awr8_asl45/awr8_asl45/index.html

http://scuola.arduino.cc/en/content/arduino-comunication-iphone-using-podbreakout-v15

http://www.instructables.com/id/Arduino-iPod/

Quote
You chose the wrong brand of device for hacking.
Agreed. Although the camera connection kit USB port also supports MIDI over USB, so it may also be possible to get serial over USB from it, I haven't updated my iOS SDK in ages.

The newer iDevices, that have Bluetooth V4, support serial communication over BLE (Bluetooth Low Energy). There are a couple of BLE shields now available. You will need to write your own app though.

http://www.seeedstudio.com/depot/bluetooth-low-energy-shield-p-1255.html?cPath=132_134

http://www.kickstarter.com/projects/rowdyrobot/arduino-ble-shield-connecting-the-ios-and-the-ardu?ref=card

Texas Instruments has published some demo code - http://processors.wiki.ti.com/index.php/Category:IPhone4SBLEDemo
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well, ipad is not my choice and, unfortunatly, it´s not optional smiley-sad

And this guy for example was able to handle it with a virtual keyboard:


this one with the coremidi framework:


this one with very basic equipment:


But I don´t understand how they do it so I´m asking for help...

dxw00d thanks for sharing your links, I´ll check them out!
Logged

Portland, OR
Offline Offline
Sr. Member
****
Karma: 7
Posts: 260
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There's the Redpark TTL Cable which allows serial communication of iPad, iPod, iPhone, etc. with your Arduino very easily (and officially, without jailbreaking):
http://www.makershed.com/Redpark_TTL_Cable_for_iOS_p/msrp03.htm
http://www.redpark.com/c2ttl.html

Or you could use a Bluetooth Low Energy shield:
Either this one:
http://www.seeedstudio.com/depot/bluetooth-low-energy-shield-p-1255.html?cPath=132_134
Or this one:
http://www.kickstarter.com/projects/rowdyrobot/arduino-ble-shield-connecting-the-ios-and-the-ardu
Logged

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 21
Posts: 3113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Yes, those are the same links I posted earlier.

The Redpark cable only breaks out the serial connections. If you want to charge at the same time, you need the PodBreakout. You don't need to jailbreak to use either. You do need XCode and the iOS SDK to develop apps, whichever you choose. The Redpark SDK would likely work with the PodBreakout too.
Logged

Pages: [1]   Go Up
Jump to: