6

There is official API for Windows, WindowsPhone8 and WinRT https://legoev3.codeplex.com/ it lets you connect to EV3 brick and control it remotely from your WindowsPhone.

Are there any libraries available for Android (Java) or iOS (Objective-C)?

I would like to write custom app for myself that will let me steer my own robots (using either Android or iOS device).

3
  • Hmm, I imagine there will be eventually - I'm guessing MS offered to release the Windows one as LEGO hadn't released the "Commander" app on their platform. LEGO did release a BlueTooth Developer Kit and Mobile Application Software for the NXT so it's probably coming. Apr 2, 2014 at 16:10
  • Taking a look at the code in the Windows API, there are no external dependencies - so assuming you have access to the Bluetooth ports on iOS/Andriod, there should be nothing stopping you porting this to your platform of choice with a little effort - the main "API" is in the Lego.Ev3.Core namespace, which is pulled into the Phone/Desktop/WinRT projects that provide the communication wrappers that are then used by the sample projects - the Desktop project has the added excitement of Brian's WIImote support ;) Apr 2, 2014 at 16:19
  • 1
    @Zhaph-BenDuguid how about Xamarin would it work on iOS
    – michael
    Apr 3, 2014 at 12:18

3 Answers 3

3

I have started a c++ iOS API at https://github.com/dsjove/legoev3cpp. Contributions are welcome.

1
  • Are you still working on this? How far did you get?
    – Burf2000
    Apr 1, 2015 at 15:22
3

I wrote an android app to do exactly this using LEJOS. I have an example java project that uses bluetooth communication here I'll come back with a link to the actual android app project later, but this will get you started.

8
  • Did you ever do the android app as I need a way to read sensors and controls motors from android to multiple ev3
    – Burf2000
    May 31, 2015 at 17:16
  • 1
    I did, although you'll have to devise a protocol for controlling stuff since I just used raw socket IO. I'll get a link to the android project if I still have it May 31, 2015 at 18:48
  • Thank you, any help would be awesome, I really want to communicate between multiple EV3 and a Android tablet but 1 step at a time :)
    – Burf2000
    Jun 1, 2015 at 15:09
  • 1
    Here's the project on my github. Hope it helps! Jun 1, 2015 at 15:31
  • 1
    link is fixed now Jun 4, 2015 at 1:10
2

There's an official app released by LEGO called the LEGO MINDSTORMS COMMANDER. It's available on both Android and iOS.

I believe this is what you are looking for. LMC lets you control the EV3 brick via bluetooth on your smartphone. It's not exactly an API, but it lets you control the EV3.

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.