I don't know if there is an app that does that, but it shouldn't be hard to write. I ported dterm to android a while ago using the minimum reference specs, and it's been working great on all the phones I put it on. That said, I have never seen errors other than a babble condition on some obsolete versions of cyanogenmod, so using cat should be fine.
Not terribly much the dual host so far only makes much sense if you're talking to a phone and a usb flash drive at the same time, for making backups -- everything else two phones can do via bluetooth with no external hardware. Im working on a prop based bidge for phone--prop--any one usb device (would be great with printers) but thats a long time coming
It is roughly the same. I find that ~115200bps is what seems to work as far as keeping up goes for long periods. The other option is audio as shown here http://hackaday.com/2010/11/10/android-talks-pulsewave/ the propeller can do up to 24000bps on most phones but it's one-way only. Both seem adequate for robots, but ADB was needed for dataloggers, which is what we are doing with them. I now sell a kit, but honestly it's just a prop board with a serial port, servo-style headers and a usb receptacle so it's something you can do yourself with a protoboard and four resistors
sure, but it's really easy to do this from a proto board it's just 4 resistors and the usb plug. including shipping it's a lot cheaper to DIY that said email me at mkb@libero.it
I do sell a kit, right now it's $40 for it if you want one -- it's just a prop with a serial port, usb port and 26 servo-style headers. All I was saying is that if you already have a protoboard around it's a lot easier to build your own, especially if you're in Australia, because shipping time/cost
Don't forget that right now only pins 0 and 1 can be used for the usb port. This will soon change but not there yet.
This is just for information http://www.basic4ppc.com sell a basic programming language for the android operating system. May be useful if you are not familiar with Java.
http://developer.android.com/sdk/eclipse-adt.html This is where you can get Eclipse (free) to develop on Android. I include a simple demo to send and receive data from the ADB bridge with the object, feel free to modify to suit your needs! The i/o stuff is in a "library" file which you are welcome to copy/paste in your own project and I tried to make it act more or less like a propeller object with rx and tx and str. Best I can do!
I now have upgraded most of my Antbots to use the new system. I also am doing a long range UAV, but cannot post video because it's for a nasa guy so I have to get a zillion signatures for permission to put it on youtube... derp. (At least they pay me!)
Actually I want to power some small motors and was expecting to power them separately anyways.
So if we don't need the phone to have a battery (because its externally powered), we can use the battery space for a prop chip, right?
This board I made has the three spots for resistors for a usb host. I haven't tried it yet. I don't think there will be enough height for both the C3 on the back side and the crystal, but lets see how it goes.
Today I'm considering dedicating my Samsug Galaxy S to Propeller projects.
I just discovered that the contacts file that I exported to SD card and then carefully saved on my PC contains a few hundred contact name and email addresses and avatars etc , mostly sucked down from gmail. However now that I am in need of the back up I find that the file only has telephone numbers for about five contacts, wtf!!!
Normally this would result in the phone going under the hammer but the Prop can make use of it.
Today I'm considering dedicating my Samsug Galaxy S to Propeller projects.
... normally this would result in the phone going under the hammer but the Prop can make use of it.
Excellent! Do it!
I suspect old Android phones are going to find all sorts in interesting second lives, kinda like old PCs do, or used to...
Ha! This thing was damn expensive. "smart phone" indeed. Pretty stupid as a phone.
Anyway, that thought about cheap and/or old Android devices for use with the Prop is what prompted my "Android android" thread a while back. And lo it came to be!
It's hard to buy just a display for less. Not to mention all the other goodies.
G1s are easy to find, I get them unlocked for $90 a piece. And this will work with the stock firmware. Careful however that a lot of phones will not boot without the battery, and the battery has some smarts in it to make that so!
That's actually easy: you can gut the battery, take out the cells, feed the phone a voltage thru the battery's side (sadly the 3.3v that the prop uses is too low), and keep the little chip in the battery.
Alternatively you can devote a couple prop pins to pretend to be the battery's circuit, it's some variant of 1-wire protocol. The expert on this particular issue is bendhoward@gmail.com so poke him!
I no longer feel comfortable continuing to develop the propbridge, it has brought me nothing but insults and suspicion. I refuse to beat someone up over a piece of hardware regardless how good said piece of hardware is.
I'm very sorry to hear this. I do hope we can buoy up your spirits and change your mind. We think the debug bridge is a brilliant and useful piece of work and it would be a serious shame to see it languish.
Were are all the insults and suspicion coming from? Sounds like the Prop and Android using community should give these people a talking to.
Comments
As you are in the UK if you PM me your address I'll send you a couple of 6MHz crystals, I've got loads..:thumb:
Coley
http://learnandroid.blogspot.com/2008/01/run-android-application-from-command.html <- works
http://www.adafruit.com/blog/2011/05/02/cheap-and-easy-android-to-propeller-bridge/
see, people *are* noticing
No mention there of the "dual host" version as yet. Hmm what could be done connecting to two android phones...
M K Borri, any idea what kind of bandwidth is available when talking between the Prop and ADB ? Just a ball park would be useful to know... 9600 bps?
also, is it roughly the same in both directions?
Got some 6 Mhz crystals yesterday, so I can look forward to some prop fun over the weekend
Don't forget that right now only pins 0 and 1 can be used for the usb port. This will soon change but not there yet.
regards
Gerry
I now have upgraded most of my Antbots to use the new system. I also am doing a long range UAV, but cannot post video because it's for a nasa guy so I have to get a zillion signatures for permission to put it on youtube... derp. (At least they pay me!)
Did you see this?
http://developer.android.com/guide/topics/usb/adk.html
They are talking about the end of this year. You are well ahead of them.
What should we do about powering the phone? As we are a USB host we should be supplying power also.
Actually I want to power some small motors and was expecting to power them separately anyways.
So if we don't need the phone to have a battery (because its externally powered), we can use the battery space for a prop chip, right?
This board I made has the three spots for resistors for a usb host. I haven't tried it yet. I don't think there will be enough height for both the C3 on the back side and the crystal, but lets see how it goes.
http://www.master-instruments.com.au/products/61348/LP601730-PCM-LD.html
I just discovered that the contacts file that I exported to SD card and then carefully saved on my PC contains a few hundred contact name and email addresses and avatars etc , mostly sucked down from gmail. However now that I am in need of the back up I find that the file only has telephone numbers for about five contacts, wtf!!!
Normally this would result in the phone going under the hammer but the Prop can make use of it.
Excellent! Do it!
I suspect old Android phones are going to find all sorts in interesting second lives, kinda like old PCs do, or used to...
Anyway, that thought about cheap and/or old Android devices for use with the Prop is what prompted my "Android android" thread a while back. And lo it came to be!
It's hard to buy just a display for less. Not to mention all the other goodies.
Question might be how to get the smarts out of an old dead battery to keep the phone happy?
Alternatively you can devote a couple prop pins to pretend to be the battery's circuit, it's some variant of 1-wire protocol. The expert on this particular issue is bendhoward@gmail.com so poke him!
-- Charles Thompson
I'm very sorry to hear this. I do hope we can buoy up your spirits and change your mind. We think the debug bridge is a brilliant and useful piece of work and it would be a serious shame to see it languish.
Were are all the insults and suspicion coming from? Sounds like the Prop and Android using community should give these people a talking to.