Go Down

Topic: Is it possible for an iPhone to read serial data from an Arduino? (Read 807 times) previous topic - next topic

JackSac67

Feb 17, 2013, 11:30 pm Last Edit: Feb 17, 2013, 11:33 pm by JackSac67 Reason: 1
If I had a TTL serial converter cable such as the Redpark (http://www.makershed.com/Redpark_TTL_Cable_for_iOS_p/msrp03.htm), is it possible to send serial data to the iPhone from the Arduino and then have the iPhone respond? I've seen people use the cable to transmit data from the iPhone to the Arduino, but not yet the other way around. My purpose for this is to make a breathalyzer apparatus that you simply connect to you phone through something like the Redpark cable, load the app, and blow into the breathalyzer to get feedback on your phone regarding your BAC. If it's impossible for the iPhone to receive data like that over serial due to a software restriction or something, does anybody have any other suggestions? I'm trying to avoid internet connectivity for the sake of ease and simplicity to use.

Grumpy_Mike

Yes an iPhone can receive serial data but you have to register as a developer to write any code on an iPhone. Then the only way you can get this code onto the iPhone is to submit it to Apple and have them put it in the Apps store.

JackSac67


Yes an iPhone can receive serial data but you have to register as a developer to write any code on an iPhone. Then the only way you can get this code onto the iPhone is to submit it to Apple and have them put it in the Apps store.

Actually you don't even have to submit it to the app store, you can deploy the app straight to your iPhone/iPod if you're registered as a developer. You can write code for the device without being registered as a developer too, you just need to register to get it on the device. But you're sure an iPhone can receive serial data and code can be written to handle it?

Grumpy_Mike



Go Up