r/code • • Sep 20 '23

Help Please Communicating with a microcontroller via USB in iOS

Hello,

I am developing a pair of smart glasses that will need to be connected to both Android and iOS devices for configuration. I know that I can easily do this in Android, but have come across many articles that indicate that trying to communicate over USB in iOS can be difficult or require a specialized adapter between the iOS device and the end device.

Has anyone had any experience with this type of coding/setup and could give me advice? I can go with a Bluetooth option but don't want to add that capability in this late in the build unless I have to.

Thank you

5 Upvotes

3 comments sorted by

View all comments

Show parent comment

1

u/CharlesBurray Jan 24 '25

Hey. This is a totally separate question but you seem pretty knowledgeable about this stuff so I was wondering if you’d be able to help me out.

I want to do something similar. I’m designing a piece of hardware that functions similar to usb storage device. The caveat is, I want the usb to open up a custom UI when plugged into an iPhone or android device.

I don’t want to go through the files menu to access what’s on the usb drive. I want to create a stand alone ui/app that runs from the plugged in usb without having to download a separate app from the App Store. The goal is to have a storage device that seamlessly opens up into a unique custom interface I created similar to how when you put in a dvd into a dvd player it opens up its little unique title select screen.

Does that make sense? Is that doable?

1

u/sean-hidock Mar 03 '25

Hi, u/CharlesBurray I'm looking for exact same solution (proprietary USB accessory with its own app for data access). Do you have any progress?

My current plan is to get MFi and select a USB MCU for this purpose. But if you had better solution, could you share ?