How can I create a Bluetooth serial connection between an iPhone and an Arduino+Bluetooth Mate?

33,367

Solution 1

It's been a while since I was in contact with embedded bluetooth-to-iphone devices, but as far as I remember you have to buy authentication chips from apple.
Apple MFi

But as jailbreak is an option this might work. But I never tried this, because I once was in possession of some authentication chips.

I found btstack with a quick googling, maybe it's helpful.

Solution 2

Actually you can make it happen now without Jailbreaking or MFi enrollment.

Take a look ate Bluetooth 4.0 in newer iOS devices and Arduino BT 4.0 shield.

This might help: http://blog.makezine.com/2012/03/19/bluetooth-4-0-from-arduino-to-iphone-no-jailbreaking-no-mfi/

Solution 3

Meanwhile there is an Arduino shield available from Seeedstudio: Bluetooth Low Energy Shield

Devices following the Bluetooth 4.0 specification can be accessed by all iPhone/iPad models with a Bluetooth 4.0 chip inside (currently iPhone 4S, 5 and iPad 3) running with iOS 6. You no longer need to be part of the MFI program or jailbreak the device for most purposes. Use the Core Bluetooth Framework that's also discussed in the WWDC 2012 videos Core Bluetooth 101 (Core OS) and Advanced Core Bluetooth (Core OS).

Solution 4

Yes, the best way to do this would be to use Blynk. Make an account, copy the example code, and get started with the Blynk app!

Share:
33,367
cduck
Author by

cduck

Updated on June 21, 2020

Comments

  • cduck
    cduck almost 4 years

    I have a project where I need my iPhone to communicate with an Arduino. Bluetooth seems like the best option for the communication. How should I program my iPhone (what framework?) to communicate with the Bluetooth Mate or do Apple's restrictions prevent this? Is it possible with a jailbroken iPhone? Is there a better way other than Bluetooth? Sample code would be helpful.

    Thanks in advance