Shop OBEX P1 Docs P2 Docs Learn Events
Android Debug Bridge on a prop - Page 5 — Parallax Forums

Android Debug Bridge on a prop

1235»

Comments

  • M. K. BorriM. K. Borri Posts: 279
    edited 2011-05-23 02:23
    Ryan Hickman from Google.

    Basically they pretty much said they don't like devices to use ADB and just released the ADK standard (which has several advantages, notably higher bandwidth, and several disadvantages, notably no shell access) when ADB "things" like microbridge and what I did started to come out. He also called me delusional, and my propbridge kit nonexistent, in front of a large number of people twice, once at a conference and once again today at makers faire (I gifted him of a propbridge kit on the spot to see how he would deal with being contradicted by physics).
  • simonlsimonl Posts: 866
    edited 2011-05-23 05:42
    Ouch! I can see why that hurt.

    However, you were put on this planet to bring great things like PropBridge to those of us that aren't so clever. Your work brings things to us that wouldn't be possible otherwise. Please DON'T GIVE UP. Ignore the nay sayers and carry on doing great work - you have followers.
  • prof_brainoprof_braino Posts: 4,313
    edited 2011-05-23 06:29
    If somebody big calls you delusional, and claims your work is non-existent, it probably means you are on the right track. He would ignore you if either case were true.

    I say keep going, if only to annoy the nay-sayers :)
  • John A. ZoidbergJohn A. Zoidberg Posts: 514
    edited 2011-05-29 07:18
    Please don't give up on that, we all beg you. Patience is strength.

    I'm struggling on having the Android phone to communicate with any microcontroller boards available. I hope that there will be libraries that can bring all these together without a hitch. :)
  • M. K. BorriM. K. Borri Posts: 279
    edited 2011-06-03 22:09
    It works on every fone I tested it except the nexus s so far :)
  • John A. ZoidbergJohn A. Zoidberg Posts: 514
    edited 2011-06-03 22:40
    @M.K.Borri

    According to the link : http://scanlime.org/2011/05/cheap-and-easy-android-to-propeller-bridge/, I believed that you might have used the USB Host chip, the Max3421E, is it? :)

    Right now I have an Arduino with the USB Host Shield, but many of the programs I found online are incomplete or didn't work.
  • atlstangatlstang Posts: 20
    edited 2011-06-04 01:58
    I would agree with the others and say dont give up. I've been interested in connecting android and prop for a while on my xoom tablet with android 3.1 (experimenting with usb host capability it has). I have been using your code as kind of a starting point to figure it all out, been extremely valuable to have a working example that is in spin/asm code even if its "not recommended". If i read it right ADK has been implemented only on the recently upgraded 2.3.4 and 3.1? Which would leave a bunch of devices without a solution. I would think a solution is better then none, even though it would be nice to see all the different methods implemented for different devices and what they support :).

    Also is it my understanding that the prop's usb host object could be used for their new ADK standard? If so, sounds like it would have very minimal hardware components to implement even though it sacrifices 3 cogs and requires overclocking, which may be interesting for some projects.
  • M. K. BorriM. K. Borri Posts: 279
    edited 2011-06-18 18:45
    Yeah, ADK is just ADB with only one connection and less latency phone-side.
  • max72max72 Posts: 1,155
    edited 2011-06-19 02:33
    I'm going to order the 6Mhz Xtal.. at last.
    I haven't started testing the object, but I have a question:
    You said it is supposed to work on pins 0 and 1.
    In the usb-fs-host the comment says it accepts pin in the first bit. Can I change safely it to the 4-7 range?
    This way I would be able to keep pins 0-3 for SD.
    Thanks in advance,
    Massimo

    Edit:
    By the way, is one of the following xtals suitable (mouser code)?
    815-ABL-6-B2
    559-FOX060-20-LF
  • M. K. BorriM. K. Borri Posts: 279
    edited 2011-07-14 08:48
    Si li puoi cambiare tranquillamente, basta che siano consecutivi :)
  • M. K. BorriM. K. Borri Posts: 279
    edited 2011-07-14 22:24
    same functionality as older adb demo, plus autosaves adc values and system date/time. best part: ZERO overhead on phone. literally. (other than the date command). uses the 7706 adc.
  • M. K. BorriM. K. Borri Posts: 279
    edited 2011-08-04 04:28
    using the new usb-fs-host file you can change to 4~7. in the meantime i found a customer, fortunately it is nasa. http://www.youtube.com/watch?v=SKszVbnOOb4
  • Jimmy W.Jimmy W. Posts: 112
    edited 2011-08-04 09:48
    Haha! Score, good job man! keep up the good work, thats a pretty sexy looking app. I am using your code to turn my phone into a full data logger for my motorcycle, working on getting the formatting right to save it in so I can get it to replay in a virtual motion device.
  • prof_brainoprof_braino Posts: 4,313
    edited 2011-08-04 10:13
    Ryan Hickman from Google.He also called me delusional, and my propbridge kit nonexistent

    Seems pretty capable for being nonexistent. If only more folks were as delusional as you. Good stuff!
  • JonagpaJonagpa Posts: 7
    edited 2011-09-05 14:35
    Hello all, I require your assistance.

    I want to make a motorcycle gauge using a android tablet.

    There are several lights like oil pressure, water temp and neutral light also some gauges like fuel, speed and rpm.

    The light indicators works at 12vdc. the rpm gauge works at ~12vdc, the higher rpm the lower the voltage. Fuel sensor I have to figure out but I think it works at 12v at full (sensor raises resistance as fuel lowers). Speed sensor I have no idea yet, it uses a magnet and sensor to count the revolutions of the wheel. I think I can get/tab into all this info at the stock gauge connector/plug. I am not looking to contol anything, just dispay data on an android screen.

    I understand I need some kind of microcontriller or interface unit to pass this info to android or process this info, translate it into usable data and pass it on to android to be displayed. The problem is that I have basic understanding of electronics and some light programing experience. I need to be thrown in the right direction. What I do have is persistence and motivation.

    My question is what hardware do I need to make this happened. I was looking at arduino or some pbasic stamps but like I said before I have no clue where to go from here. I am very confused as to what to choose and you guys seem to have something working here.

    Since I have some light programing experience a easy language would be preferred. Price is another issue, I was looking to spend as little as possible in other words what ever it takes to run/do what I want and nothing more. Please help the choose the best board with the easiest language at a good price :)

    Your guidance would be much appreciated, thank you.
  • M. K. BorriM. K. Borri Posts: 279
    edited 2011-09-29 12:28
    Small update, much more compatibility (works with motorola droids that have cyanogenmod nstalled, for one)
  • Cluso99Cluso99 Posts: 18,069
    edited 2011-09-29 18:45
    I am going to have to look at this later as no time for now. I have a Motorola Xoom.
  • dirtrider444dirtrider444 Posts: 33
    edited 2011-10-20 11:06
    Im trying to hook my droidx2 to my bs2 board. will this work??
  • M. K. BorriM. K. Borri Posts: 279
    edited 2011-10-23 19:30
    It should. Only remember that the assumption is that the usb data lines MUST be on pins 0 and 1.

    If it keeps dying with error -4, let me know please (Some Droids need a workaround).
  • prof_brainoprof_braino Posts: 4,313
    edited 2011-10-24 05:44
    Is the workaround due to hardware or to version of android? I'm about to make my next phone an android, with intent to use it for development per this project.
    Could you give some info on what devices are known to work and which are known to have problems, etc? It would help, thanks!
  • M. K. BorriM. K. Borri Posts: 279
    edited 2011-11-02 22:06
    Due to some early Droids having some odd hardware. The latest version I uploaded should fix this :)
  • prof_brainoprof_braino Posts: 4,313
    edited 2011-11-03 05:32
    The latest version I uploaded should fix this :)

    Thanks M.K!
  • M. K. BorriM. K. Borri Posts: 279
    edited 2013-02-02 16:44
    I've gone ahead and released an update (mostly to ensure compatibility with Android 4 devices that do not quite follow the spec). Also there's a video tutorial. http://obex.parallax.com/objects/902/
Sign In or Register to comment.