Loading...
Pages: [1]   Go Down
Author Topic: Control an Iphone with Arduino  (Read 276 times)
0 Members and 1 Guest are viewing this topic.
Queens, New York
Offline Offline
Edison Member
*
Karma: 31
Posts: 1726
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I know the ipad has that arcade style controller, but I want to know if it is possible to make my own controller? I looked online for a sample code for the arduino and I didn't find anything. I did however find dozens of articles for controlling an Arduino FROM an Iphone, but not the other way around. :{

Did anyone else try this, and does anyone know where I can get a sample code to start with.
Logged

UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W

"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 19
Posts: 3117
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Things like the iCade emulate a bluetooth keyboard. You could do something similar, using a bluetooth module that supported the HID profile.
Logged

Queens, New York
Offline Offline
Edison Member
*
Karma: 31
Posts: 1726
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Oh, I thought it was pluged into the Ipad. Yea, emulating a BT keyboard is no problem.
Thank you.
Logged

UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W

"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown

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

Oh, I thought it was pluged into the Ipad. Yea, emulating a BT keyboard is no problem.
Thank you.

Some of the ones I have seen have a connector on them, but it is either just for passthrough (so you can still charge the iPad with the controller connected), or just dummy pins that help hold the controller onto the iPad.
Logged

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

Arduino-based airsoft props -> www.nightscapetech.com

Des Moines, Iowa, USA
Offline Offline
Newbie
*
Karma: 0
Posts: 27
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I know the ipad has that arcade style controller, but I want to know if it is possible to make my own controller? I looked online for a sample code for the arduino and I didn't find anything. I did however find dozens of articles for controlling an Arduino FROM an Iphone, but not the other way around. :{

Did anyone else try this, and does anyone know where I can get a sample code to start with.

I have code that will read Arduino/Teensy 2.0 input pins and send out USB iCade-compatible keys. I have tested it with iPad and an Atari 2600 joystick smiley

http://appleause.com/category/ios/icade/

I am going to start posting more of my input code as I get time.
Logged

Embedded Software Engineer
UNO | Leonardo | Due | Teensy | BASIC Stamp
http://www.subethasoftware.com

Pages: [1]   Go Up
Print
 
Jump to: