+ Reply to Thread
Page 1 of 8 12345 ... LastLast
Results 1 to 20 of 144

Thread: Android Debug Bridge on a prop

  1. #1

    Default Android Debug Bridge on a prop

    First draft done!

    http://obex.parallax.com/objects/724/

    EDIT now http://obex.parallax.com/objects/731/

    Gives you a shell into the phone. The idea is to use the fact that a smartphone has a lot of goodies on it (gps, long range radio) for drones.

    Also, a bit of a blast from the past (2007) but I uploaded the full NAVCOM AI on the object exchange. It has been used in production for autonomous planes and bats for three years.
    Last edited by M. K. Borri; 05-15-2011 at 09:19 PM. Reason: new link

  2. #2

    Default Re: Android Debug Bridge on a prop

    You may have created to the answer to the question I posed on my "Android android" thread last year. I have to check this out. Any instructions?

  3. #3

    Default Re: Android Debug Bridge on a prop

    Just as per usb-fs-host (usb is on pins 0 and 1, prop must run at 96Mhz). I have been using the audio jack to output serial commands to robots for about a year now, but nobody wants to buy them

  4. #4

    Default Re: Android Debug Bridge on a prop

    http://obex.parallax.com/objects/724/ Updated! General cleanliness fixes, and most importantly works with logcat. Multiple connections next!

  5. #5

    Default Re: Android Debug Bridge on a prop

    Sorry for the pseudo-vanity bump, but there are new developments -- this gives you a virtual serial port of sorts between the phone and the prop. It should pretty much take care of things

  6. #6

    Default Re: Android Debug Bridge on a prop

    Last time I spam on this, promise.

    http://obex.parallax.com/objects/724/ Updated again with some error detection and Android-side virtual serial port code

    I think there is no demand for this stuff...

  7. #7

    Default Re: Android Debug Bridge on a prop

    I've been wanting to play with this just haven't had a chance yet

  8. #8

    Default Re: Android Debug Bridge on a prop

    It sounds a cool idea. But, I have one question will this work with all Andriod phone platforms?
    William Stefan
    The Basic Stamp Nut with some Spin

  9. #9

    Default Re: Android Debug Bridge on a prop

    Yes because the ADB interface is common to all android phones -- I've been doing andoid-based robots since late 2009 (sadly there is little market for them, I've sold about two dozens total) but using the serial port which only some phones have (and it needs turned on by a special kernel module). ADB is part of the Android specification and therefore will work on every android device for the foreseeable future, on top of that it requires no rooting. I would like to kindly ask to please not use my code to bid on the NASA contract on april 4th on smartphone based sensors and loggers as I will place a bid with this

  10. #10

    Default Re: Android Debug Bridge on a prop

    Hi,

    Sounds interesting - but can you please explain what a NAVCOM license is? I can't see a description of it in the object itself.

    I guess I should also point out that by placing your software in the OBEX you are agreeing to it being released under the MIT licence anyway.

    Ross.
    Catalina - a FREE ANSI C compiler for the Propeller.
    Download it from http://catalina-c.sourceforge.net/

  11. #11

    Default Re: Android Debug Bridge on a prop

    Count me in as being very interested. You are not talking to yourself here:-). That's why I put up the "Android android" thread last year.

    Problem is, like many others here, I have to many Prop projects up in the air already.

    Perhaps if there were one working gadget using the Prop and the phone then more people would get curious. Even if it eas just ligting LEDS via SMS.

  12. #12

    Default Re: Android Debug Bridge on a prop

    I have a few fully built up robots actually (they use either the serial port or the headphone jack though) , just search spiritplumber on youtube most of what I do is prop powered. For other micros, there's also this thing I did. http://hackaday.com/2010/11/10/android-talks-pulsewave/

  13. #13

    Default Re: Android Debug Bridge on a prop

    The NAVCOM license is on my website (god do I ever need to clean house) and is the same as the MIT license with these two clauses:

    1- If you use this, please send me an email telling me what you're doing with it, it's interesting to me.
    2- You are not allowed to put my work in a weapon or munition system.

    I had (2) happen once in 2007 and I am not interested in repeating the experience.

  14. #14

    Default Re: Android Debug Bridge on a prop

    So it's not the same as the MIT license.

  15. #15

    Default Re: Android Debug Bridge on a prop

    No, but having been in a situation where I , a foreigner living in Texas in the early 2000s after having spent time working in the Middle east, ended up in direct competition with Raytheon on a project... well I have found it very important to have some sort of CYA in case of being accused of aiding and abetting crime or terrorism. Incidentally that's why I posted a whole bunch in 2006-2007 then pretty much disappeared. I'd rather not talk about it.

    The problem is that the only thing this bridge does that my earlier work doesn't is "you no longer have to root the phone" and "you can use all Android phones rather than just some", so a video wouldn't be very impressive

  16. #16

    Default Re: Android Debug Bridge on a prop

    M.K.,

    You need to read the front page of the OBEX in more detail. It says:

    All objects on the Propeller Object Exchange are provided under the MIT License. By downloading and/or submitting objects, you are agreeing to this license.
    If you don't want your stuff MIT licensed, you need to remove it from the OBEX.

    Ross.
    Catalina - a FREE ANSI C compiler for the Propeller.
    Download it from http://catalina-c.sourceforge.net/

  17. #17

    Default Re: Android Debug Bridge on a prop

    A few times I have seen people wanting such "non-weapon" restriction clauses into their licenses. Normally there is some religious or ethical motivation for this. Whilst I do have some sympathy for such views I think it is somewhat mis-guided. I would rather have those charged with defending me be able to use the best software for the job. The bad guys are going to use whatever software they want regardless of any licence you put on it.

    But here is a new angle. The CYA problem. Having to put such clauses into a license so as to avoid unneccesary persecution by paranoid terrorist witch hunters. I have to say that I find the need for that very disturbing. Yet another reason I'm finding I would have to think hard about ever visiting the USA.

    I have no idea about how to square this with the OBEX. Either the object has to be pulled or the clauses need removing.

    Which, by the way, is another reason why ethical motivations for such clause don't sit well with me. Whilst they try to keep your creations out of the hands of the "merchants of death", which is a good thing, they can also result in denying the rest of us the benefits of your creations which rather defeats the point of the exercise.

  18. #18

    Default Re: Android Debug Bridge on a prop

    If someone wants to build a drone to drop a bowling ball on their former principal's lawn I doubt a license will stop them, they've already decided that their goal is worth more than the law. This is just to prevent me from being harassed about it in case someone DOES do that using my code. It can mean the difference between getting one visit from the police or FBI and getting several or having to defend yourself in court. I'd rather spend my time making robots than that

  19. #19

    Default Re: Android Debug Bridge on a prop

    M.K.

    Much as some may sympathize with your avowed intent, you have posted your code to a repository that stipulates the code will be available under the MIT license. One possible interepretation of your actions is that your objection to weaponization of your work is in fact a pretence designed specifically to alert the appropriate "ne'r do wells" to its eminent suitability for just such a purpose - all the while giving yourself "plausible deniability" that this was why you posted it!

    If I were you, I'd expect the FBI (or worse!) to come knocking on your door any minute now! ( <--- note: CIA agents look like that, whereas FBI agents look like this and "ne'r do wells" may look like this or this )

    Ross.

    P.S. Or, as Heater suggests, you could ask Parallax to remove that particular clause on the OBEX.
    Catalina - a FREE ANSI C compiler for the Propeller.
    Download it from http://catalina-c.sourceforge.net/

  20. #20

    Default Re: Android Debug Bridge on a prop

    I do understand the reasons for your wanting to include such restrictions in your licence. As I say, I find it very disturbing that you, and no doubt many others, find yourself in a situation where you have the need to do that.

    It's this kind of thing that makes me think the terrorists of the world have achieved something of what they wanted.

+ Reply to Thread

Similar Threads

  1. Android android - Linking a mobile phone and Propeller.
    By heater in forum Propeller 1 Multicore Microcontroller
    Replies: 130
    Last Post: 01-16-2012, 11:09 AM
  2. Prop to BS2 Debug
    By ProcessingData... in forum Propeller 1 Multicore Microcontroller
    Replies: 9
    Last Post: 04-09-2009, 05:29 AM
  3. debug prop hardware
    By s2jesse in forum Propeller 1 Multicore Microcontroller
    Replies: 12
    Last Post: 03-01-2009, 07:42 AM
  4. H-Bridge & prop questions
    By Trezitorul in forum Robotics
    Replies: 29
    Last Post: 03-23-2008, 01:54 PM
  5. What is the best way to debug the prop?
    By jonduncan in forum Propeller 1 Multicore Microcontroller
    Replies: 7
    Last Post: 03-18-2007, 08:35 AM

Bookmarks

Posting Permissions

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