Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 5 of 5

Thread: Program a Teensy 3.1 with Android?

  1. #1

    Program a Teensy 3.1 with Android?

    I'll soon have some Teensy implementations "out in the wild", and I'd like to update them without lugging a laptop with me.

    Are there any options for programming via an Android phone over USB?
    Last edited by Blitter; 07-02-2015 at 01:11 AM.

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    22,110
    No, there's no such support for Andriod, or iOS.

    There's no plans to develop such a thing. But even if there were, can apps really access the USB. Don't they run inside some sort of sandbox, where they can't get direct hardware access?

  3. #3
    Quote Originally Posted by PaulStoffregen View Post
    ..can apps really access the USB. Don't they run inside some sort of sandbox, where they can't get direct hardware access?
    It has been done already for Arduino. https://play.google.com/store/apps/d...duinocommander

    In Dec 2012, someone tried to port the Teensy Loader to Arduino:
    https://forum.pjrc.com/threads/3654-...r-Raspberry-Pi
    Quote Originally Posted by tcmichals View Post
    I've start the same project using Android, basicly a smaller version of IOIO which only requires USB host mode. Also, have updated firmware so Android can now talk to the teensy 3.0. The main issues are:
    - Basic loader for Android (Since IOIO is really just an I/O level operation, once the firmware is done, then, no need to really update)
    - Common I/O protocol, there are several, IOIO, is one of many, but it is a basic protocol to communicate to get serial, I2C, PWM etc. So, the board is basicly a I/O interface via USB.
    I've also been thinking of using i2c/USB , there is a spec now for this...
    I'll do some digging and see if there is any unreported progress in the past few years.

  4. #4
    Senior Member
    Join Date
    Jun 2013
    Location
    So. Calif
    Posts
    2,828
    Of late, Android, e.g., my HTC phone, can do limited hardware things (w/o rooting). E.g,. USB OTG is supported. I do have to use a OTG adapter cable.
    And my tablet (Android) be a serial terminal via USB. That's handy for microprocessor fiddling. The app for that is nicely done, in the Google apps downloads.

  5. #5
    Quote Originally Posted by PaulStoffregen View Post
    No, there's no such support for Andriod, or iOS.

    There's no plans to develop such a thing. But even if there were, can apps really access the USB. Don't they run inside some sort of sandbox, where they can't get direct hardware access?
    Too bad. OTG (on-the-go) has gotten fairly easy to do with arduino and it opens up a lot of cool possibilities - you can use your phone, or tablet, to program, interact or display data from the arduino.

    Jan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •