element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Nico teWinkel's Blog Mbed.org on phones.
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ntewinkel
  • Date Created: 2 Jun 2013 2:46 AM Date Created
  • Views 587 views
  • Likes 3 likes
  • Comments 3 comments
  • android
  • frdm-kl25z
  • mbed
  • mbed.org
  • tablet
  • ipad
  • freedom
  • iphone
Related
Recommended

Mbed.org on phones.

ntewinkel
ntewinkel
2 Jun 2013

In my previous blog post I mentioned this URL: http://mbed.org/handbook/Guide-to-mbed-Compiler-on-tablet-device

That website mentions the use of iOS and Android tablets to use with MBed. My iPad worked well for that, and even powers my FRM-KL25z board (using the Apple usb adapter), but sadly it doesn't let install programs onto the board, as the iPad doesn't recognize it as a USB drive.

 

So I bought a USB cable online to connect the FRDM board to my Android phone.

 

I received the USB mini-to-micro cable today, and it allows me to hook up the FRDM board to my Android phones, but sadly the phones don't power the unit image  I tried on a Galaxy S (Android 2.3) and a Galaxy S3 (Android 4.0).

 

Also, in terms of using it for development at all, it just doesn't work - it seems I can type new characters and delete them, but any existing code cannot be deleted. The screen also jumps around a lot - for example, clicking on a spot to start editing shoves it off the right side of the screen.

I did install the Dolphin browser, as per the above webpage recommendation, but that didn't make any difference.

 

So in terms of using a Samsung Galaxy phone for mbed at all, it's a no-go all around.

 

I just tried my iPhone 5, and it actually works alright, though you're not left with much of a viewport once the keyboard is up. In a pinch, it could be used though. And even though it will download the program to the phone, sadly there is no way to connect the iPhone to the FRDM board.

 

So the verdict? If you're bored while waiting for your significant other to be done their shopping, you could use your iPhone to tap in a few lines of code.

 

I'm still curious as to how well an Android tablet would work, cause that might be a pretty neat solution. And just for the sake of fun it would be cool to see if it works with a BeagleBone or RaspberryPi image

 

Cheers,

-Nico

  • Sign in to reply

Top Comments

  • shabaz
    shabaz over 12 years ago +1
    Hi Nico, It's interesting it didn't power it I'm wondering if maybe the cable doesn't have the ID pin grounded on the phone end (apparently USB OTG requires this to recognize the host end, see here ).…
  • DAB
    DAB over 12 years ago +1
    Hi Nico, I suspect that the phones do not have enough power to spare to power another device. As I recall, most use the USB connect to charge themselves, so they might have a diode in the circuit to make…
  • ntewinkel
    ntewinkel over 12 years ago in reply to DAB

    Thanks Shabaz and DAB!

     

    I guess it does make sense, as phones are generally not designed to use things like usb drives. I had not really thought about that - I guess tablets are different in that they might be designed more to do things laptops can do. I almost want to take this FRDM board and cable to a computer store to try it out image

     

    And I'm not sure if a modified cable would work, if the phone is not capable of using a usb drive. And like DAB said - that could be a lot of effort for something that's rather difficult to use.

     

    @DAB, I have been using mbed.org for all my FRDM coding - I LOVE it! It's very easy to use, like Arduino and in many ways easier than Arduino. I find that Arduino code can be modified quite easily to run on mbed too. I have a few projects to try on it still, waiting for some parts image

     

    Cheers,

    -Nico

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 12 years ago

    Hi Nico,

     

    I suspect that the phones do not have enough power to spare to power another device.

    As I recall, most use the USB connect to charge themselves, so they might have a diode in the circuit to make the path one way.

     

    If you made a unique USB cable with a separate power source, either 12 VDC or from the Car auxiliary port, you could then power both devices from the vehicle battery and support just the communication over the line.

     

    Either way, I am not sure it would be worth the effort.

    Still, you could set up some interesting sensors using the Freedom board attached to a smart phone for the user interface.  You would still need a separate power source, but if you built it into a small case, you could easily slip in a 9 Vdc battery.

     

    Thanks for sharing.  If nothing else, you have saved others the time to go down the dry well. image

     

    Have you had any time to look at using mbed to develope code for the Freedom board?

     

    Thanks

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 12 years ago

    Hi Nico,

     

    It's interesting it didn't power it I'm wondering if maybe the cable doesn't have the ID pin grounded on the phone end (apparently USB OTG requires this to recognize the host end, see here). It does sound hard to do development work on a small device. Still, as you likely already know, using the FRDM board as some USB accessory (e.g. HID) is possible, although that's not your goal here of course. Also, this link shows the FRDM board as the host (using OTG capability), and a mouse connected to it.

     

    Digressing a bit more, there is also android development kit of course, that uses the attached device in host mode and has to then supply power instead of the phone. I've not done any android development, but should be possible to interface the BeagleBone to Android. I found this link which was interesting (the links on that page have more information).

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube