Ios – Connect an iPhone to Arduino over Bluetooth

arduinobluetoothiosiphone

I would love to be able to let my iPhone-App communicate to my Arduino over Bluetooth.
I found some Bluetooth shields that support the following protocols: BCSP, DUN, LAN, GAP SDP, RFCOMM, and L2CAP. From what i found while googling a bit, is that the iPhone is hiding it's bluetooth stack away?!? Is this correct? Is there really no chance to let my iPhone communicate with an other bluetooth enabled device without jailbreaking (which as far as I know would be required if i'd use btstack: http://code.google.com/p/btstack/)?

If bluetooth is really not possible, what other ways (expect WLAN) would you suggest to realize a communication?
What I would love to realize is something like here: http://theiopage.blogspot.com/2011/08/yanis-android-wireless-eos-controller.html

Thanks for any tips!

Best Answer

There are several connection technologies available.

As others have mentioned, standard Bluetooth (3.0) is controlled by the MFi program. The only way to connect to a non-jailbroke iPhone is to join the MFi program.

Serial access is interesting. You have to join MFi to distribute a serial device, but you can use the Redpark Serial Cable to connect your own iPhone to a serial device.

There are several ways to connect Bluetooth LE devices to the Arduino. One I've used is the RedBearLabs BLE Shield. It works pretty darn well.

iPhone to RedBearLab BLE Shield to Arduino, powering a hacked truck using techBASIC

You can also connect to an Arduino using a WiFi-serial bridge. I've had success with the WiFly device.

iPhone to WiFly to Arduino

One of the neat things about the BLE Shield and WiFly is you don't have to use Objective C or a Macintosh--although that's an option, of course. You can access both through techBASIC, running right on the iPad or iPhone.

You can probably figure these out on your own with some research and effort, but these connection technologies (plus a few more that don't apply directly to Arduino) are also covered in Building iPhone and iPad Electronics Devices, a new book from O'Reilly.

New Book from O'Reilly