Public projects 2

Blinking LEDs on Arduino from iOS and Android

Project tutorial by Alex Jonsson

  • 14,864 views
  • 8 comments
  • 50 respects

Lunar Lander on your phone, Jedi controls on the Arduino

Project tutorial by Alex Jonsson

  • 1,159 views
  • 0 comments
  • 2 respects

Toolbox 1


Replicated projects 0

 Alex Jonsson hasn't replicated any projects yet.

Respected projects 3

IMU to You!

by Gregory O. Voronin

  • 12,368 views
  • 40 comments
  • 35 respects

Create Mobile Apps for Android and iOS Connecting to the MKR

Project tutorial by Chandana Pathirage

  • 6,233 views
  • 4 comments
  • 16 respects

  • Build your own app that connects to Arduino/Genuino 101 about 3 years ago

    For Android, the BLE service relies on the name of the local name of the board, which you can set in your Arduino code and upload to the board:

    (1) In Arduino101 LED example, from the Arduino SDK, line 42, defaulting to "LED". Looks like it doesn't like whitespace though, so no spacebars in the name, like "Mos Eisley"
    blePeripheral.setLocalName("My101");

    And then just scan for that in the app code, and you're home free (and have updated the arduinoble.js according to Andreas' instructions above.

    (2) Change in the iindex.html, line 98:
    evothings.arduinoble.connect(
    'My101', // Advertised name I chose for local name

    BLE scan for the new name, to make sure that it has taken effect and not cached somewhere. Sometime rebooting the mobile device helps

  • Blinking LEDs on Arduino from iOS and Android about 3 years ago

    Hi Angelo, please previous remark (which I wrote long after you wrote your highly relevant question)! best /Alex

  • Blinking LEDs on Arduino from iOS and Android about 3 years ago

    Actually this version needs its direct LAN connection, or a public IP address (the way it was meant to be from the dawning of time?), or a port forwarding in your home router in order to work. Note that we're not setting up a web server onboard the Arduino, but rather using just a TCP socket, which I think is way more fun and leaves more on-board RAM to do cool stuff.
    I'd like very much to post a new version using an MQTT library instead, where the phone speaks with something on Bluemix or AWS, which in turn has contact with the Arduino. Yet, this means that we're either polling using Arduino as a client, or engage some kind of reverse SSH tunnel, which in turn may be tricky with so little footprint as it has. With only a few kbytes of flash that the UNO has, it's difficult even to store the SSH key :-)

Add projectSign up / Login