Use HTC Touch Diamond 2 as a remote for a rc car - General Questions and Answers

Hi everyone,
Okay, here is the idea. I have a HTC Touch Diamond 2 and I was thinking that it could be interesting to try to use it as a remote control to pilot a small car or plane (using the Bluetooth frequency).
I found several receivers in the 2.4 GHz frequency band, but I'm not sure whether it could work or not. Here are a few: link 1, link 2, link 3.
So the main questions are:
- Is it possible to program my HTC so that it sends information the receiver will 'understand'?
- Is there by any chance already an app that allows me to do just that (or something close to it that would need minor modifications)?
On top of this, I was also thinking of adding a camera on the car that would send back to my phone what it records. But this more than optional since it probably will make things much more complex... (I found transceivers such as this one and this one, but it looks like a lot of work to install and configure them).
Thank you for your answers and your help in advance!

Anyone to help me?

It won't work, sorry. Not with any store bought RC car. Your only chance is if you engineer the receiver yourself, including the circuitry that translates the radio signals into motor signals.

Thank you for your reply!
Ah, that's quite disappointing
But just to make sure, can you tell me exactly where the problem is? I mean is it a true hardware problem, in relation with the kind of signal that I can transmit with my phone (like a frequency incompatibility or something else)?
I was hoping it was possible to program my HTC to send the appropriate signal corresponding to what the receiver is expecting to get. Why couldn't it work?

Am I at least asking my question on the appropriate section of the forum, or is there another one that I should use rather than this one? Thx again.

Related

Android Bluetooth Stack Development

Hey I know I'm more of a leech than a seed but I want to start an open discussion / brainstorm about the limited bluetooth capabilities within Android. Specifically on the HTC Dream (G1).
I don't have a strong grasp on Linux but I've been playing with different flavors since i was 13 (11 years). I don't have the knowledge or the support to even attempt this.
HOWEVER I do have a job and I do have the money (donation) to support anyone with the ability and the time.
That being said I would like to talk to anybody who would be Seriously interested in developing additional profiles for the bluetooth stack.
Anyone who has wanted to FTP over bluetooth or for me send my phonebook to my Lexus GS350 I would appreciate donations towards a common goal.
The $ would go to the developer or team. Of course after that it would have to be open source and free to the community.
I have not created a paypal or account for pooling donations but whoever is seriously interested contact me. I've got $300 (donation) to get you started (motivated)
Au Revoir,
-Koocat
how do i make it bold lol
koocat said:
Hey I know I'm more of a leech than a seed but I want to start an open discussion / brainstorm about the limited bluetooth capabilities within Android. Specifically on the HTC Dream (G1).
I don't have a strong grasp on Linux but I've been playing with different flavors since i was 13 (11 years). I don't have the knowledge or the support to even attempt this.
HOWEVER I do have a job and I do have the money (donation) to support anyone with the ability and the time.
That being said I would like to talk to anybody who would be Seriously interested in developing additional profiles for the bluetooth stack.
Anyone who has wanted to FTP over bluetooth or for me send my phonebook to my Lexus GS350 I would appreciate donations towards a common goal.
The $ would go to the developer or team. Of course after that it would have to be open source and free to the community.
I have not created a paypal or account for pooling donations but whoever is seriously interested contact me. I've got $300 (donation) to get you started (motivated)
Au Revoir,
-Koocat
Click to expand...
Click to collapse
i'm all about development and hard work, but with the release of blutooth 3.0, wouldn't it be better just to save the $ and put it towards the next android device that is compatible with bt3.0( which utilizes wifi for bt transfer...not to mention the improved battery life). what are your thoughts?
its not about the money. I'm using dudes cupcake rom whatever latest rom .92 and as far as i know there is no way to send my phone book to my Lexus when it prompts me to create a phonebook and because of this I can't use voice dial and nazi lexus basicly won't allow you to input anything while the car is in motion. the specs released on 1.5 only included stereo bluetooth theres still no push allowed or PBA
jaaronmoody said:
i'm all about development and hard work, but with the release of blutooth 3.0, wouldn't it be better just to save the $ and put it towards the next android device that is compatible with bt3.0( which utilizes wifi for bt transfer...not to mention the improved battery life). what are your thoughts?
Click to expand...
Click to collapse
would my car even work if bt is trans over wifi spectrum?
koocat said:
would my car even work if bt is trans over wifi spectrum?
Click to expand...
Click to collapse
no, and sorry for the confusion. My point was that this android incarnation is lacking in bluetooth capabilities, and there has just been a new bluetooth technology released, not only having the wifi capability, but also all current profiles. I am sure that android will support this in the future with hardware in a new device, but for now, they are probably content with what they have, since it is an evolving technology.
jaaronmoody said:
i'm all about development and hard work, but with the release of blutooth 3.0, wouldn't it be better just to save the $ and put it towards the next android device that is compatible with bt3.0( which utilizes wifi for bt transfer...not to mention the improved battery life). what are your thoughts?
Click to expand...
Click to collapse
Umm, Bluetooth 3.0 standard was just released. We're not going to be seeing any Bluetooth 3.0 devices for another few years, one at the minimum. Not to mention that the OP's Lexus would still require a transfer via Bluetooth 2.0 technology.
I would be content if an open phone with an open platform supported bluetooth features I could actually use.
I manually added one contact into the lexus and manually set the voice rec. and then attempted to call using 'dial by name' and it will only work if the dream is unlocked and awake.
BT 3.0 will be great. but I'd have to get a new phone and depending on the backward capabilities a new car too.
but that brings the question "how long do i have to wait for bt 3.0"
"how long do i have to wait for cupcake"
I was hoping with 1.5 they would expand on the BT stack and they did but not for anything I can use. whats funny is 2 years ago when I had Verizon and a Voyager I thought I was cool to have stereo bluetooth headphones to rock out too. and they want to market stereo bt as being a great new feature but its not new
koocat said:
I would be content if an open phone with an open platform supported bluetooth features I could actually use.
I manually added one contact into the lexus and manually set the voice rec. and then attempted to call using 'dial by name' and it will only work if the dream is unlocked and awake.
BT 3.0 will be great. but I'd have to get a new phone and depending on the backward capabilities a new car too.
but that brings the question "how long do i have to wait for bt 3.0"
"how long do i have to wait for cupcake"
I was hoping with 1.5 they would expand on the BT stack and they did but not for anything I can use. whats funny is 2 years ago when I had Verizon and a Voyager I thought I was cool to have stereo bluetooth headphones to rock out too. and they want to market stereo bt as being a great new feature but its not new
Click to expand...
Click to collapse
This is an appropriate place to post issues with supported bt profiles already supported, but there is no guarantee that it will be addressed. i'm not speaking for anybody here, but me... butif it were my build, i probably wouldn't modify it for one make of car. There are other vehicles where this is working...am i right? i think so.
so far i think only broadcom has achieved and are planning to produce the new standard, but how long will it be till we see it??? my guess is 6mo- 1yr. Yes, stereo bluetooth is not a new thing, but i'm sure you can grasp the technology curve. "they" are only gonna release what they have to, in the time that will make sense to them, not the consumers. This
is a business, and will be treated as such. For how many years have we been scratching at the heels of EVERY advancement, just to PURCHASE it as soon as it comes around. edit...but to go along with you i was looking forward to file transfer myself, and it didn't happen.
what can i do on my car to verify the bluetooth version installed?, or bluetooth capabilities if you know what i mean
its a mazda 3 2010 sport
Thank you.
Your exactly right and thats what makes Android such a beautiful thing. Because we are longer governed by whatever corporate timeline 'they' decide. the timeline is to maximize profit. cupcake is marketed as a feature update to show dedication to their product and to their customer base but its not a dedication because they were forced to evolve it to make it compatiable with additonal hardware and minimize the media attention towards custom devleopment and end user modification. Google doesnt want to piss off Apple or HTC or T-mobile or Vodaphone ect because thats business.
Google doesnt care if you transfer over bt they dont care if you mod your phone. but when Apple says no mulitouch and vodaphone says No Bluetooth profiles they don't have much of a choice if they want Android to succeed.
and Thats why they made it open.
same with rooting your phone google had to fix it beacuse if they make it look easy they run into problems. T-mob or voda don't want you to teather your phone and use it as a modem and root allows this. so you must disable and discourage root and tell people its a security risk.
fcuk T-mobile and their G1 bs marketing. My phone is a Dream.
---btw the new radio gives me 3G in my house now wootwoot so i can actually talk on the phone with t-mobiles shi*ty service--- I only left Verizon because phones suck Donkey...Anyways..
its not just one car. go http://en.wikipedia.org/wiki/Bluetooth to see all supported profiles
there are profiles that all cars support. most likely PBA "phone book access"
I know when the Prius 1st came out I was like 16 or 17 lol and none of VZW phones could send phone book data to the Prius only because VZW policy with phone makers demanded they crimple BT profiles even on smart phones. so you couldn't FTP a mp3 and set it as ur ringtone you had to buy the ringtone for 2.99 or what i did back them I used Bitpim but you get the idea.
-Koocat
alfmetal said:
what can i do on my car to verify the bluetooth version installed?, or bluetooth capabilities if you know what i mean
its a mazda 3 2010 sport
Thank you.
Click to expand...
Click to collapse
I would google some keywords and try and find a user forum for Mazda cars.
I know theres clublexus.com where I have learned a lot about my car.
for some Lexus (i know for sure the GS and LS models) you turn the car on, then hold down the INFO button while turning the Lights from OFF to ON four times. and the car enters a Service Diagnostic mode and you can view different settings and run diagnostics, clear error codes and rescan. I know theres a spot to view the bluetooth version and software version. You can adjust the Mic volume, send and recieve volume and adjust voice quality.
You really don't need to adjust your car (thats not what this post is about).
Depending on your car you can get updates from the dealer and you can find software mods online for some cars.
example; lexus had a override in the system menu to allow user input while the car was in motion. IN 07' that option was removed on all models so for my 07 Lexus i found a post from someone that had taken the Nav disc for the same model in 06 and he modded and issued a ISO for users burn to get that override feature back.
-Koocat
Bah! @ Bluetooth 3.0. Totally overhyped standard. Could be completely done with adhoc wifi and would be easier and more than 2x as fast.
[email protected]:
Yeah, it is... It's just a wifi coop mode, which requires both parties to have a wifi-radio free to use...
It's not really an optimization of bluetooth :/
Everyone else in here:
Well, i'm not sure you're gonna catch many devs in here (There doesn't seem to be any
[email protected] said:
Bah! @ Bluetooth 3.0. Totally overhyped standard. Could be completely done with adhoc wifi and would be easier and more than 2x as fast.
Click to expand...
Click to collapse
Power management is much better in Bluetooth. Combining the two gives the best of both worlds. BT 3.0 will be able to connect, go into low power states and only turn on WiFi if a higher speed transfer is required.
BT 3.0 is more than just BT+WiFi anyway. The ability to have an Alternate Mac-Phy (AMP) like WiFi is one feature. There are other new features as well (like better quality of service). Also, an AMP could be a Ultra Wide Band (UWB) radio, with speeds much higher than WiFi with lower power consumption. The potential for 3.0 is really interesting.
But as others have stated in the thread, it will be a while before there are any implementations. We are just starting to see 2.1 devices in the market.
paesano
I know this is only my 2nd post, but I too am looking for better BT Stack. Dont get me wrong I love that I got back my stereo BT on my Pioneer Avic-D3 but unlike my Nokia N95 and my Tilt which lets me transfer my contacts to my Headunit.
Also another thing I miss is sending contact info from one phone to another!
Waiting for the time I can ditch my ipod and be apple-free LOL
I think a total update of the bluetooth would be cool. I think the 3.0 is a bit away but besides just a specific car profile i think it should be and all around compatible bluetooth. with all the devices and allow file transfer as well something that non g1 phones can already do. I think that alone will make it feel much better until until the newer technology is intergrated. That would probably lean me more to donating
I have two old Motorola RAZR's and they transfer data over BT, it is really surprising that the Dream falls short in this area.
I just miss the very basic file transfer (obex) to move images, mp3, contacts, etc. from device to device. I know I can set up an ftp or webserver to allow phone to phone access, but quite frankly we shouldn't have to use a work around for such a standard phone option. ALso, I like to bluetooth pictures from my phone right to the Kodak picture printer in Walmart and other stores. There is no way to install an FTP server or client on that machine (without some hacking).
I would donate if we had some devs on here taking up the task.
Rick
JackD3ath said:
I have two old Motorola RAZR's and they transfer data over BT, it is really surprising that the Dream falls short in this area.
Click to expand...
Click to collapse
Personally, I'm not surprised that the Dream falls short in Bluetooth support. My experience with Bluetooth in Linux has been very unsatisfying. I don't know if that stems from the Blue Z stack, or if no one cares enough to do things properly. The last couple of times I upgraded Ubuntu or Kubuntu, Bluetooth was totally broken, and I had to figure out my own workarounds to get some of the functionality I needed.
What I would currently like to see is DUN support, so that my Tom Tom can access the internet. Very few BT phones don't have DUN, especially on T-Mobile. Makes me wonder why T-Mobile wanted to get the Tethering apps out of the marketplace. You can tether with almost every Bluetooth phone they sell!
paesano

GNSS Internet Radio and Built in GPS

Hello,
I am new to the forum and also the owner of an HTC Fuze. I have been playing around recently with the GPS on the phone and got me thinking. I live in NY and we have a CORS network of gps base stations that are fed by the use of ntrip.
I was wondering if their was any way to use the gps signal on my phone and the connection to this CORS network to give me sub inch accuracy on my phone...then not sure what I would do with it then. But I do live on a farm and I would like to see some type of precision agricultural use.
I guess I need a way to have the GPS on the phone talk with the GNSS internet radio and then give me spot on guidance and such.
Please let me know your thoughts or if I need to explain better.
Thanks,
Clayton
bump
bump. Any ideas? Anyone
Great idea cwrisrey !
That will save the cost of a geodetic device, which is many times the cost of a Fuze. Further, it will lead the accuracy of the buildin GPS into millimum class.
Not dig into this further, would you go further to tell these:
Is that CORS data encrypted?
Is that accessible through public internet or VPN?
Is there copy right or intellectuall property right issue involved? (I don't think so, but better make it clear first)
Once again, great idea. Please do remember to update this thread once you got any progress. Thanks.
More info
Hello wg5566,
This site would probably answer alot of your questions clearer than I could:
http://www6.nysdot.gov/spiderweb/frmIndex.aspx
* Is that CORS data encrypted?
-I don't believe so, I think that it is just a form of compression, to distribute across the internet.
* Is that accessible through public internet or VPN?
Yes, the NYS CORS anyway. It accessible from the public internet (although they require you to register with them) But I believe there are other free streams. I also believe it was modeled after being able to be sent threw GPRS.
* Is there copy right or intellectuall property right issue involved? (I don't think so, but better make it clear first)
-I believe the ntrip is based on a GNU, I think the source code is available. http://igs.bkg.bund.de/index_ntrip_down.htm
Windows CE version:
http://www.ilmb.gov.bc.ca/crgb/gsr/downloads/installGNSS.CAB
Please, let me know your thoughts...
Thanks,
Clayton
My fast thoughts:
First make sure there is no satisfied freeware currently available for WM.
If so please ask a moderator to move this to the development & hackings section. And Add tyis sentence on the title: Call for developers for revolutionary GPS app!
I'm sure somebody here can develop this. You know the geodetic device was invented many years ago with very weak profiles comparing to current WM devices. The hardware on our phone should be capable to deal with these calculations, and the WM Pro platform should be capable to support such an app. Anyway it should not be a biggy for many masters here. But it is a biggy for gps users with high accuracy demand for any reason.
Edit: Did you try install that wince cab on your phone? I think some of WINCE apps can just run on WM. Please backup your data first.
Edit2: I tried to install it on my device, at first it did not show up in start menu, then I found the cab just put files and shortcut in the folder names in French. But there is no registry involved in the cab. Only three files. And then program UI itself is in English. Just run the executable from the folder will go right out of the box. So please try it. I did not try to connect & loggin yet, due to not registered account.
Edit3: Looks like the cab is only access the data from internet, convert the data format and export the data, but we still need a geodetic/gps software to process/use the data.
Disclaimer: I attatched these three files for the only purppose of exchanging software developement infomation. Anybody if download it please do not use it for any purppose other than this. Thanx.
Some thoughts on the subject
Hi All,
The idea of using NTRIP to make a Windows Mobile GPS device sub-meter accurate crossed my mind. After some research I found this thread.
Unfortunately, I haven't been able to find any software capable of doing this. My idea is that it should be possible to accomplish this goal, using a combination of existing tools (which would be really cool!).
As wg5566 notes, there is a (WM) tool called GNSS Internet Radio, which is capable of downloading NTRIP corrections. It turns out this software works, but does have some flaws. Someone wrote another open source tool which is better (?), but unfortunately it isn't built for Windows Mobile (see: http://lefebure.com/software/).
More searching revealed a (dead?) project on codeplex: SharpGPS. It's an unfinished demo. It does however seem to be designed to do exactly what we're suggesting in this thread.
My idea: Completing the WM version of SharpGPS with parts of GNSS Internet radio / lefebure NTRIP client should result in a tool that's capable of upgrading a WM devices' gps signal to sub-meter accuracy through RTK/DGPS corrections over NTRIP.
Any ideas / suggestions about this?
It's already been done for the commercial market
Land surveyors, construction companies, and farmers use RTK GPS and RTK GNSS correction services on a regular basis. Some are free and some are paid subscription. They can be either NTRIP protocol with casters or individual TCP or UDP connections. Examples of software available are Carlson SurvCE and MicroSurvey. Read Carlson's support site for how they deal with the data flow using such networks on SurvCE (Windows Mobile and CE).
I have worked in land surveying using such equipment, and it generally requires dual frequency receivers, RTK corrections, and high quality antennas to achieve 1-2cm 95% CI horizontal precision. The current GPS chips in cell phones are only single frequency and so the best you could expect under ideal conditions is 2'-3' precision using some form of differential correction like WAAS or beacon or DGPS via NTRIP. Under average conditions, the precision will likely be in the 10-20' range. The dual frequency receivers take care of the large errors caused by radio waves traveling through the ionosphere.
Due to the limitations of batteries, antennas, and space for more chips in cellphones, the future of location accuracy will likely include some combination of GPS/GLONASS and cellular radio signal frequency timing calculations from cell towers. True Position, with its U-TDOA technology, is one example of measuring the time differences of cell phone radio waves using cell towers with known coordinates. Rumors (from surveying journals) have it that there are current patents in place that can allow for sub foot precision using such methods when sufficient cell towers are present for multilateration.
Has anyone found success on this topic? WM or Android...
Would be very interested, since there is a free NTRIP feed available in Switzerland... anyone?
*bump* it up
Been there still trying. Problem is no carrier phase off internal gps.
Grimli said:
Hi All,
The idea of using NTRIP to make a Windows Mobile GPS device sub-meter accurate crossed my mind. After some research I found this thread.
As wg5566 notes, there is a (WM) tool called GNSS Internet Radio, which is capable of downloading NTRIP corrections. It turns out this software works, but does have some flaws. Someone wrote another open source tool which is better (?), but unfortunately it isn't built for Windows Mobile (see: /lefebure.com/software/).
Click to expand...
Click to collapse
Lance lefebure is a really cool guy I'm sure he wouldn't have any problem building a wm version but it is going to takea lot more than that to get rtk to a cell phone.
Very good ,thanks.
Ed hardy bikini said:
Very good ,thanks.
Click to expand...
Click to collapse
If you are confused just ask questions and I will do my best to answer them. I am in the ag industry and deal with RTK networks and different ways of connecting them and tons of different gps units on a daily basis.
Look at this:
http://stakemill.wordpress.com/2010/07/19/ashtech-mobile-mapper-100-supports-esri-arcpad-10-0/
and this:
http://www.ashtech.com/-2359.kjsp?RH=1272644205746&RF=1270806507068
Is that still a phone !?
wg5566 said:
Look at this:
Is that still a phone !?
Click to expand...
Click to collapse
Nope PDA with support for external GPS with a builtin reciever that even sees glonass satellites (russian constelation). That was made specifically to do RTK mapping. It does have a GSM radio for data to connect to the cors.
Phone positioning using CORS
To perform a CORS (Network Reference correction we need a GGA stream from the GPS in your device. This allows us to remove the anomalies and provde the correction stream. As phones use a sirf II chip or similar they do not have input capability to output the NMEA stream to achieve this.
This one works great! it will connect to an Rtk receiver and get the nmea string from it or will use the internal GPS to be able to register on the CORS network. It will then stream the corrections over Bluetooth to a receiver or even a repeater radio. It won't however correct the internal GPS. http://antrip.dyndns.biz/Home/DownloadTrial

Serial port kernel and wlan.ko, ready to go

Find included a 2.6.27 kernel and corresponding wlan.ko with serial port enabled. This will work with JF, mikhael's build and so on that use the 2.6.27 kernel. Wifi works, bluetooth works, all that stuff works.
Serial port is /dev/ttyMSM2 with default at 9600 baud. I am turning my ADP into the brains of a UAV, so this should let me control servos with it.
Have fun! 2.6.29 (or whatever will be current) coming when I get off my lazy bum and move to it.
Installation is the usual "rename to update.zip, put in sdcard, start the phone in recovery mode" dealie.
BACK UP YOUR BOOT.IMG AND /SYSTEM/LIB/MODULES/WLAN.KO if you want to revert!
Here's a newer version with a terminal program (dterm, recompiled for g1/g2), or just the terminal by itself. If you flash the terminal ends up in /system/sbin and automatically goes to /dev/ttyMSM2 (see source), again it's just dterm with some cleanups.
By the way, does anyone care about this stuff at all?
I couldn't upload the kernel so here it is http://www.spirit-plumber.com/portfolio/robotics/kernel_serial_term.zip
It sounds very promising/interesting but I'm not exactly sure what it does. Does is it enable accessing the baseband via serial or something? This is something that was used on the original iPhone to try to unlock it.
I think if you explain more clearly what it does then more people will seem interested, & remember no contribution here is a bad one, someone will have a use for it.
It gives you a serial port that can be used as a device rather than just for debugging, as shown here
http://www.instructables.com/id/Android_G1_Serial_Cable/ (not by me btw) This software stuff makes it usable for general purpose IO. That allows a G1 and an inexpensive microcontroller, arduino/picaxe/etc to control servos, talk to a second GPS, and so on.
I develop autopilots for RC planes and the G1 would be a great platform for that since it has a gps, compass, accelerometer and camera already integrated in a relatively small/light package.
Also, ROBOTS! http://hackaday.com/2009/01/25/forknife-android-g1-controlled-robot/ This was done using the audio port, but having a serial port on board bypasses all the DTMF stuff and allows for a lot more bandwidth. (Also not by me, if you do want to see stuff by me, search spiritplumber on youtube!)
I'm also very interested in such a kernel as a friend and I are interested in interfacing a phone to a serial robot controller.
However, I am currently running Cyanogen 4.0.4 on a MyTouch and loading this kernel effectively breaks the phone. No radio, GPS, etc. and many apps are missing/broken. The serial port does work and we got it talking with our robot but otherwise it's not much use to me.
So atm it's either a phone or an overly expensive microcontroller but not both.
You could submit the patches to cyanogen to see if he'd be willing to incorporate it in his build.
this is kernel version 2.6.27 and i think the build you use has kernel 2.6.29 which is why everything'd break. i will build 2.6.29 at some point, for now use a build that still use .27? i useJF151 with good results.
Hi, I'm interested in this stuff, I just wonder how can I use this to interface G1 to Arduino? any idea/tips will be helpful. TIA.
You end up with a new device, /dev/ttyMSM2 which is a standard issue serial port that can be used to talk to microcontrollers. The voltage is 2.8V which means it will work with a 5V micro in the phone-->micro direction, but if you want to go the other way you'll need a divider.
(see the other thread i posted in for a schematic)
I should probably get cracking on a donut version
Wow
Interesting stuff. I just wish I had the ability to take advantage of this. I think this would bring it one step closer to being able to use the G1 as an OBD-II car scanner. But I'm afraid that will take way more technical ability than I have.
Not really...
http://www.suntekstore.com/OBD2-16Pin-to-DB9-Serial-Port-Adapter-Cable-.html
http://www.instructables.com/id/Android_G1_Serial_Cable/
+ my kernel
Nice work
spiritplumber said:
...
I develop autopilots for RC planes and the G1 would be a great platform for that since it has a gps, compass, accelerometer and camera already integrated in a relatively small/light package.
Click to expand...
Click to collapse
Genius! Well done for bringing this all together!!!!
I found your thread while trying to investigate the same project you've done already - making an autonomous drone using the G1 !!!
- I'd be very interested to see videos/info/photos of your drone.
I've seen all the bespoke UAV controllers on DIYdrone.com, but was more interested in the challenge of making my G1 with all it's sensors directly control a servo controller board via serial.
I'm a bit worried that the screen must stay on, which will burn through the G1's battery in no time! - is this still necessary?
I'm really impressed and thankful for what you have done, and making it public!!!
I'm currently on Cyanogen 4.0.4. so I guess the first step is to back track to an earlier Kernel version...
Unless you're close to rebuilding 2.6.29 ???
Thanks for the 'instructables' for the cable too, I've ordered the bits and hope to test in the next few days - ironically I found that before this thread!
Hmmm...
I've just studied your cable making instructions and have some questions!
The USB-Serial converter board... is that any use at all other than a PC interface?
I shouldnt actually need this to talk directly to another serial device from my G1?
- I got the impression the USB/Serial board was to convert the G1's USB to Serial...
Could I send a serial TX messages directly from the break-out board to a serial RX pin... (Servo controller) does that sounds correct?
Sorry for the torrent of questions...
If you want to talk to a different device you just need to flip pins 2 and 3 on the serial port and use a male rather than female connector so yes you can definitely do that!
In fact you can do two at the same time: Here's me using the G1 to relay data from a GPS to a servo controller. If you'd like the schematics for that let me know. If you have any sort of work related to this DEFINITELY let me know.
By the way, I'm using a 74HTC14 for doing the level shifting and inverting: it's a very cheap part and also has the advantage of cleaning up the waveform nicely. Or you can use some transistors.
EDIT: Attachment is being stupid so go here for photos: http://spirit-plumber.com/robotseverywhere/gallery/images/other/gphone/
spiritplumber said:
If you want to talk to a different device you just need to flip pins 2 and 3 on the serial port and use a male rather than female connector so yes you can definitely do that!
In fact you can do two at the same time: Here's me using the G1 to relay data from a GPS to a servo controller. If you'd like the schematics for that let me know. If you have any sort of work related to this DEFINITELY let me know.
By the way, I'm using a 74HTC14 for doing the level shifting and inverting: it's a very cheap part and also has the advantage of cleaning up the waveform nicely. Or you can use some transistors.
EDIT: Attachment is being stupid so go here for photos: http://spirit-plumber.com/robotseverywhere/gallery/images/other/gphone/
Click to expand...
Click to collapse
Hi Spiritp,
Thanks for your comments, I'll give that a whirl then!
I'll definitely keep you posted!
My basic plan is:
Use accelerometer for auto-leveling control, use pre-defined GPS routes so I know the take-off / landing site altitude above sea level, and eventually get the G1 to take photo's at GPS waypoints.
Probably ambitious considering my electronics knowledge, but I'll keep you posted with progress.
If you have any pointers of how to send Serial commands from within the Android App layer, I'd really appreciate it.
With so many 'rooted' applications doing kernel based tasks I'm pretty sure it'll be possible... but I'm also fairly green on linux & java, so this will be a challenge for sure. (Time to hack my way through other people's work and understand what's going on!!!)
Thanks for your response,
Andy
spiritplumber said:
By the way, I'm using a 74HTC14 for doing the level shifting and inverting: it's a very cheap part and also has the advantage of cleaning up the waveform nicely. Or you can use some transistors.
Click to expand...
Click to collapse
Question 1:
When you say 'level shifting' is this to bring the TX/RX voltage to the same level? (i.e. 5v --> 5v, rather than 2.8v --> 5v)
Question 2:
If I plugged a 5v serial device into the G1's RX connector, would this damage the G1?
Question 3:
Please help explain how non-printing byte-level data (Servo commands) can be sent from DTerm... I've had a poke around on the internet but with no success...
Question 4:
I have installed your Kernel/DTerm... which runs DTerm ok, but the commands 'ls' return the error 'not found'.
- which worked before adopting your kernel..
Is this normal? How can I fix this?
EDIT:
Ok, I think I'm half way there... I've now bought one of these:
http://www.coolcomponents.co.uk/catalog/product_info.php?products_id=194
//
spiritplumber said:
If you want to talk to a different device you just need to flip pins 2 and 3 on the serial port and use a male rather than female connector so yes you can definitely do that!
Click to expand...
Click to collapse
Reminds me of the HP48 token ring networks. http://www.hpcalc.org/details.php?id=3603 In essence, device 1 would transmit data to device 2. Device 2 would see that the packet was meant for a different device and retransmit the packet to device 3, the intended recipient. If device 2 had been transmitting a packet to device 1, it would have passed through 3 on the way back around. Adding another device to the network was as simple as breaking the chain and adding a new one. Building the cables to do that wouldn't be too difficult.
Level shifting:
Internally the G1 uses 2.8 volts. This is nice if you've a 5V interface because:
On going G1--->other part, 2.8 is high enough to register as "high", you may need a pullup resistor (try 10k).
On going other part--->G1 you just need a voltage divider! That's two resistors of equal value, this makes the other part effectively output at 2.5v which the G1 will happily accept! (If this confuses you, see "voltage divider" on wikipedia..... it's literally just 2 parts). Here's a picture on page 5: http://forum.xda-developers.com/showthread.php?t=496976&page=2
If you need to do stuff in that sense I recommend just having the servo controller take in ascii stuff. Or you can modify dterm. Or I can give you a modified copy of dterm that has that functionality let me know!
If you use a 3.3V microcontroller such as the Parallax Propeller, just slap two 1KOhm resistors on the rx and tx lines and go do stuff: it works.
Controlling servos via G1 is very painless and easy, I already do that, let me know if you want tips.T
spiritplumber said:
Level shifting:
Internally the G1 uses 2.8 volts. This is nice if you've a 5V interface because:
On going G1--->other part, 2.8 is high enough to register as "high", you may need a pullup resistor (try 10k).
On going other part--->G1 you just need a voltage divider! That's two resistors of equal value, this makes the other part effectively output at 2.5v which the G1 will happily accept! (If this confuses you, see "voltage divider" on wikipedia..... it's literally just 2 parts). Here's a picture on page 5: http://forum.xda-developers.com/showthread.php?t=496976&page=2
Click to expand...
Click to collapse
That's excellent, I think I have a solution for the voltage, but thanks a lot for your electronics expertise!!!!!!!
spiritplumber said:
If you need to do stuff in that sense I recommend just having the servo controller take in ascii stuff. Or you can modify dterm. Or I can give you a modified copy of dterm that has that functionality let me know!
Click to expand...
Click to collapse
I'm actually using a Pololu micro serial servo controller (SSC) - I'm fairly sure it doesnt support ASCII characters, the manual only explains how to compile a '3 byte sequence' :
To set the servo position, send a sequence of three bytes. The first byte is a syncronization value that must always be 255. Byte 2 is the servo number, and it can be 0-254. Byte 3 is the position to which you want the servo to move, also 0-254. (sync= 0xFF,servo= 0x00-0xFE,position= 0x00-0xFE)
If you can help / let me know how to modify dterm I would really appreciate it!!
Although I'm still not sure how I'm going to access this from the Android Application layer - making calculations from accelerometer & GPS, then sending the calculated servo movement down to a kernel app?
Any help in this area would be greatly appreciated!
spiritplumber said:
Controlling servos via G1 is very painless and easy, I already do that, let me know if you want tips.T
Click to expand...
Click to collapse
I would find any tips interesting !!!
Thanks again for your comments & help, you're making this project far easier than I could have hoped!!!!! hopefully I will be able offer you help in my areas of expertise some day!
- I'm an application developer by day, using VB.net/Sybase Powerbuilder/Pocketbuilder/SQL/Microsoft-based network admin.
Just a quick final question (for today!!) - my Wlan seems to have been knocked out by your kernel image... the android manager can see AP's but always reports that it was unsuccessful when trying to connect.. and ideas?
- I'm on JF1.51 ADP1, no other mods or changes.
Andy

[developer needed] Android device as bluetooth headset for phone

Well here is what’s needed by me and by general demand that I noticed:
We need an application that will enable an android device (a tablet for instance) to act as a Bluetooth headset and dialer for another phone
I have searched through the forums but with no luck, all that I found where similar questions but unanswered!
http://forum.xda-developers.com/showthread.php?t=844605
http://forum.xda-developers.com/showthread.php?t=720397
http://forum.xda-developers.com/showthread.php?t=905938
http://forum.xda-developers.com/showthread.php?t=868062
So to sum it up I think we need a developer that can help us out also am willing to pay for it or buy it of the market if that’s what it takes
Cheers & thanks in advance
(PS: if this is not the proper place for something like this, please excuse the noob and redirect me to the proper thread)
Please guys. I'am looking to and is also willing to pay for it.
I'm also willing to pay for the application. Please someone help us?
bump!!
bump!!
come on guys... any thing?!?
bump
this should be a default feature for android...
I have been asking for the same thing, Moscow Desire is looking into it with LeeDroid to try and implement something by porting it from a phone I think...I'm waiting on pins and needles.
The thread on it is here, the last couple pages:
http://forum.xda-developers.com/showthread.php?p=23447188&posted=1#post23447188http://forum.xda-developers.com/showthread.php?p=23447188&posted=1#post23447188
It's not what we're looking for.
In the thread they are trying to get bluetooth headsets to work on a tablet.
We are looking for an app that can get a tablet to connect to a phone and make calls.
For example, I have my tablet built into my car and connectet to my car radio via cable. It would be nice if it could make and receive calls.
Bluetooth dialer
simonmbjornes said:
It's not what we're looking for.
In the thread they are trying to get bluetooth headsets to work on a tablet.
We are looking for an app that can get a tablet to connect to a phone and make calls.
For example, I have my tablet built into my car and connectet to my car radio via cable. It would be nice if it could make and receive calls.
Click to expand...
Click to collapse
Hi! I have been searching for the same solution from months but the onle thing i have found is,
"dealextreme.com/p/minipad-a9-1-lcd-bluetooth-dialer-headset-white-94840"
so untill any developer work on true bluetooth applitacation which can fulfill our needs this is the only thing we can use.
I started a thread on this then discovered that it's been asked plenty of times before. After doing research I have discovered the following things:
1) It is possible to replace the Bluetooth stack on Android
2) We would have to make Android play the role of the hands free and not an audio gateway
3) This has been implemented - http://www.parrot.com/usa/products/bluetooth-hands-free-car-kits/parrot-asteroid
4) The stack on Android is BlueZ
5) The devs at Cyanogen mod have been working with the Android Bluetooth stack
From what I can see, we would have to modify the Hands-Free Profile in the Bluez stack to play the hands-free role. If we could somehow load in another profile or edit the existing one, that might do the trick. I'm not too familiar with Bluetooth, but I will be going over code tonight to see if I can come up with an idea.
touchpad webos has this capibility
I have a hp touchpad with cynogenmod 9 that dual boots to webos. In webos, i can link via bluetooth to my blackberry phone. I can call and receive via a dialer app in webos. I have not been able to figure out how to do this on the android boot. I can pair the device but haven't figured out how to do in android. Hoping since wedos went open there might be an app for android to mirror the webos capibility.
I've posted support for this development in a number of forums and in other threads here at XDA. This would be a huge deal for the 'android-as-car-stereo' idea. There are a number of suppliers that make USB-->DAC-->RCA(composite) converters, and that takes the shoddy internal DAC out of the equation for most tablets. All that is left is the need for bluetooth call transfers to the tablet.
hopefull news
people check this out:
https://play.google.com/store/apps/details?id=com.funkyandroid.phonelink
its to connect between tablet and android phone hopefully this might lead somewhere!!
I have a Bluetooth transmitter (B-Speech RTX1) attached to my AV-receiver and want to use my phone with headphones as a speaker system. There has to be an app that plays the stream once we can connect a transmitter via HFP profile with the phone I guess...
I don't know if my wish is related to this thread, but there is a thread explaining how to enable HFP in Android by editing the "audio.conf".
I get the new options but am not able to connect the transmitter to my phone. I guess I will have to buy BT-headphones...
I too am looking for this service to be done (using my tablet in my dash of my car connected to my amp's/speakers). Another post for this can be seen here: http://forum.xda-developers.com/showthread.php?t=844605
I just tried the method posted in the link above by hudl.. but it didn't work. My tablet still pairs with my phone like before, no way to connect them, nor the "use for phone audio" option from my phone to the tablet. :-( Still no solution as of yet.
I think this might work for ya
I haven't tried it yet, but am downloading it now. After much searching I think this is what we've been looking for.
jimbill88 said:
I haven't tried it yet, but am downloading it now. After much searching I think this is what we've been looking for.
Click to expand...
Click to collapse
???
I'd love to see this and would happily pay towards development of this. Parrot Asteroid seems to handle incoming HFP, HSP and A2DP profiles very well. I too have modified the audio.conf file and can also see the additional options.. My phone just doesn't know what to do with it!
Is there anyone who can point this thread in the right direction? It's the only piece of the puzzle left for android carpc tablet goodness.
Thanks,
MrNorm
Just reviving interest in this thread again as tablets in cars are becoming more and more common.
Checking if any developer is still willing to help out, I am sure there are plenty of willing users waiting with their wallets ready
Cheers
Mario
Parrot did it for sure. It would be an awesome feature. I wish things just worked like that by default... someone needs to re-invent a BT-like connection where everything on a device is exposed... a phone should be a BT keyboard/mouse/airmouse/headset/speaker/monitor/camera/drive/sdreader/modem/gps/serial-console/etc as well as being on the opposite end of each of those things. And without needing a separate app for each of those things that is even possible/created.
http://www.gottabemobile.com/2012/04/18/using-the-galaxy-player-3-6-as-a-bluetooth-handset/
If we could use Samsungs work in this player we could easily implement it.

App Ideas? Share them! Developers come look!

I see alot of threads around xda requesting miscellaneous apps or ports. I have written down a lot of my ideas and I'm not quite to the stage where I can make them myself, and I'm sure a few others are in the same boat. I don't see much of a point to keeping them a secret when there are alot of capable developers around here. If there are developers out there with free time that see a cool idea in this thread, try to give a mention to the person if you create the app!
3rd party app toggle
Just an app similar to adb toggle, that quickly toggles on 3rd party app installs. It's not secure to leave it on all the time, and for people with settings locked it can cut the time taken to install a 3rd party app. If you're an overachiever try toggling all app installs, not just 3rd party.
Password Scanner
Basically an app that just scans /data for SQLite entries and lists items associated with password fields. Plaintext is enough to make it useful for a lot of people, with options of a pro-version that cracks encrypted passwords.
Car Remote
This is the most challenging one I've thought of. It's an app that uses the device's radio antennas to unlock cars that have remote control locks. I've looked into it and the encryption looks tough to break, but if you're a genius you can probably figure something out. Here's something to get started: auto.howstuffworks.com/remote-entry.htm
Time Machine
I thought of this while reading en.wikipedia.org/wiki/Year_2038_problem
A mod/app that messes with the clock to cause app compatibility issues, which could enable potential root exploits on devices which don't have current root methods. This one is risky because it is likely it result in bricks (yet another use if you want a device to be bricked in the event of a theft). I'm unsure if something like this would need root access to work.
Share your ideas! My apologies if any of these have been thought of, it wouldn't be the first time I've rethought the wheel.
Wow, some nice ideas there! 3D party app can be a popular one. I also like the car remote app idea, but will it be helpful?
Found this video on a PDA for the car remote, it used infrared though..
Time machine looks interesting but can it be realized !
A port for ADOBE PHOTOSHOP CS6 for Android..!
It will be a big boon for GFX Designers like me..!
Sent from My Premium Calculator HD
Lol btw those days aren't far
nikufellow said:
Lol btw those days aren't far
Click to expand...
Click to collapse
But urs is...
How can a app be a time machine.. xD
Sent from My Premium Calculator HD
If you sir are able to do something about the 2038 problem then you are getting some world recognition for sure .
DD-Ripper said:
A port for ADOBE PHOTOSHOP CS6 for Android..!
It will be a big boon for GFX Designers like me..!
Sent from My Premium Calculator HD
Click to expand...
Click to collapse
oh don't let me get started on the list of ports I want haha. Top 3 would probably be cain & abel, cisco packet tracer, and something like encase.
cs6 is would be nice for sure though, adobe is really slacking with their tablet app. I see something like gimp coming before photoshop due to it's source being more available.
i would really like something like frozen synapse on a phone i think it would work really well.
Make an android rom for the samsung brightside instead of its Brew, and you give 50 thousand people a boner...
its the only smart-ish phone that can be used on verizon without upgrading to the smart phone plan.
if it gets a rom,you have a verizon phone and dont pay the bastards the smart phone fees
I would love a hearing aid app to control the different settings.
Would be amazing!
Car remote app will never work as each car uses some sort of encryption and frequency to unlock the door while the phone antennae can only transmit on 2G/3G/4G frequency bands.
hsalps said:
Car remote app will never work as each car uses some sort of encryption and frequency to unlock the door while the phone antennae can only transmit on 2G/3G/4G frequency bands.
Click to expand...
Click to collapse
and bluetooth, and wifi, and gps. There are a number of antennas in each phone. The one in the video I posted managed it with infrared.
I think car remotes work on the 400-500mhz spectrum so it will take some research to how compatible it could be with most phones, and that's not even exploring dongles.
ickkii said:
and bluetooth, and wifi, and gps. There are a number of antennas in each phone. The one in the video I posted managed it with infrared.
I think car remotes work on the 400-500mhz spectrum so it will take some research to how compatible it could be with most phones, and that's not even exploring dongles.
Click to expand...
Click to collapse
My Nissan Altima Remote operates on 315Mhz whereas
Bluetooth operates on 2400–2480 MHz
GPS operates on 1575.42 & 1227.60 Mhz
Wifi operates on 2.4, 3.6 and 5 GHz
IR operates on 33 to 40 kHz or 50 to 60 kHz
All these antennae are not capable to transmit in any frequency band, they have been hardwired to operate on a particular band to save money and be power efficient.
Create a 'Date' contact ?
G'Day Guys
I have been searching for an app. now for a few years & have not been able to find one that 'fits the bill'
When I get a phone call from a new contact ( so not currently in the contact list )
Create the contact with the name as date eg. DD MM YYYY & mark it as blocked
Anyone know if an app. exists that can do this ?
or
Anyone interested in deving this app. for me ?
BTW - I have 40+ years experience programming in Assembler, C, Basic etc. & I built Palm apps. in C & built a couple of droid apps approx. 5 years ago with Phone Gap. Buy, not wanting to have to setup the environment for a simple droid app. dev.

Categories

Resources