Go Down

Topic: Control an Iphone with Arduino (Read 700 times) previous topic - next topic

HazardsMind

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.
My GitHub:
https://github.com/AndrewMascolo?tab=repositories

dxw00d

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

HazardsMind

Oh, I thought it was pluged into the Ipad. Yea, emulating a BT keyboard is no problem.
Thank you.
My GitHub:
https://github.com/AndrewMascolo?tab=repositories

wizdum


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.
"Anyone who isn't confused really doesn't understand the situation."

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

allenhuffman

#4
Feb 13, 2013, 06:35 am Last Edit: Feb 14, 2014, 04:37 pm by allenhuffman Reason: 1

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 :)

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

I am going to start posting more of my input code as I get time.
Embedded Software Engineer
UNO | Leonardo | Due | Teensy | BASIC Stamp
http://www.subethasoftware.com

btrikojus

That link is broken.  I'm curious to see what you have done (and how you did it  ;)   )

Thanks

allenhuffman


That link is broken.  I'm curious to see what you have done (and how you did it  ;)   )


I updated the link - www.subethasoftware.com - I decided to break out all my Arduino/programming stuff to a dedicated site. I need to get all my code posted somewhere, but not sure what works best. Should I do a github or something? I need to see if I can at least post files on my Wordpress site for download. Wordpress loves to screw up source code I post by HTML-izing it.
Embedded Software Engineer
UNO | Leonardo | Due | Teensy | BASIC Stamp
http://www.subethasoftware.com

Go Up