Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

send/receive with apple lightning - USB(OTG) to Arduino device #69

Open
taherfattahi opened this issue Apr 22, 2023 · 5 comments
Open

Comments

@taherfattahi
Copy link

taherfattahi commented Apr 22, 2023

Can I send/receive data via a USB OTG cable between my ios device and Arduino with this platform?
When I connect a memory device(Flash) via OTG to my iOS device I can access all files

@curvednebula
Copy link

curvednebula commented Nov 29, 2023

@taherfattahi I also have this question. Have you found any solution yet?

@taherfattahi
Copy link
Author

taherfattahi commented Nov 30, 2023

@curvednebula You can use MIDI controller
https://developer.apple.com/documentation/coremidi/

Only you need to implement this feature for your project I mean you can send/recieve bi-directional data between your ios device and a hardware like Arduino via USB,
Midi works like keayboard so simulate this device for you

@curvednebula
Copy link

curvednebula commented Dec 1, 2023

@taherfattahi You mean this doesn't even require PeerTalk library at all? And what is running on Arduino side?

@taherfattahi
Copy link
Author

@curvednebula Yes you can make your protocol via MIDI controller and you need to run MIDI receiver on the Arduino side
https://www.instructables.com/Send-and-Receive-MIDI-with-Arduino/

@taherfattahi
Copy link
Author

taherfattahi commented Dec 3, 2023

In my project, I only needed a send/receiver protocol to communicate between ARM microcontroller and Ios device via OTG cable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants