3

I have successfully used Pocket PCs in the past (using the serial port) to control simple robots (small rovers).

Looking around here and on Apple's developer website, it seems that starting on 3.0, they do allow applications to communicate (and even use their own protocol) with custom hardware. I'd assume they have the same policy for Bluetooth communication.

But it seems the hardware developer program is geared towards big corporations.

Is it possible to make non-jailbroken iphones to communicate with custom hardware (a PIC microcontroller with some Bluetooth chip interface for example)?

1
  • If it's possible on your situation, you could use a small PC (Raspberry Pi or similar) to control the actual robot while being hooked to a WiFi network. Then you can develop an iPhone app to send commands from the the phone to the PC over the WiFi network rather trivially.
    – anthonyvd
    Mar 8, 2012 at 17:42

5 Answers 5

3

I can't comment on the licensing, but you can get the connector easily: http://www.sparkfun.com/commerce/product_info.php?products_id=9601

0
2

The External Accessory framework added in iPhone OS 3.0 does give you the ability to communicate with outside devices connected either through the dock connector or Bluetooth, but those devices must be part of the Made for iPod program. That means that they must have special hardware in them, obtained from Apple, that allows you to communicate via the protocol Apple uses. If they do, it becomes very easy to interact with them through the External Accessory framework.

Apple has made a push to open up the Made for iPod program to much smaller companies than had traditionally been able to develop iPod accessories, but there are still some hurdles to overcome when designing such hardware. An approval process with Apple is involved, along with the hardware design you'll have to do. This means that it's still not suited for one-off projects like your robotic controller, unless you plan to sell your robotic controller in moderate volumes.

However, I have heard of a few companies who are working on generic digital-to-analog boards and the like, which might be able to act as a hardware interface for your robot. Pasco attempted to show off one such board during the WWDC 2009 keynote.

1
  • so it sounds the iPhone is not the best platform for experimentation then. I'll keep looking for this Pasco solution though. Jan 8, 2010 at 16:30
2

Not for the app store, but for personal use, sure. Just link with the private IOKit framework and read http://iphonedevwiki.net for how it all works.

Note that you may need to jailbreak at some point and it will never make the App Store.

1

The connector is an Apple exclusive part, and Molex will only sell it to licensees that Apple approves.

If you want to use the dock connector or the BT interface, contact Apple developer relations, and join the iPhone hardware developer program. They'll ask you to sign a separate NDA from the one you've already done as an Apple developer program member.

It's not that it's only for big corporations, it's more like the only interest they've seen so far is from outfits like Bose, JBL, or car companies looking to implement tighter integration with the iPhone. Tell them what you want to do.

2
  • take a look at @AndrewMcGregor's response regarding the connector Jan 8, 2010 at 16:29
  • If you only need one or two pieces, I guess you're all set. You'd still need to sign up for the hardware developer program to get access to the framework. Jan 9, 2010 at 1:03
0

The best way is by interface iPad/iPhone to the controller (fanless PC, microcontroller with TCP/IP stack) of the robot via WiFi, and your controller programmed to communicate with the robot by any wireless protocol/physical link eg.. zigbee..

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.