• Hello Guest, welcome to the initial stages of our new platform!
    You can find some additional information about where we are in the process of migrating the board and setting up our new software here

    Thank you for being a part of our community!

megatune for android?

Joined
Sep 9, 2007
Location
Hellas(Greece)
Hey guys,I made a search but haven't found something.

I bought a smartphone,running with android and I was thinking if someone had made this transfer at the software,in order to control my MS1 via smartphone and have not anymore the need for laptop.

Also,could be usefull,if phone is mounted on dashboard or windscreen in a car-base,and have the real time data from MS on your feet...ehm...eyes :)
 
One was in the works for old palm. There is a section on the megasquert forums dedicated to this venture but it never rely took off.

http://www.msefi.com/viewforum.php?f=73
^^^^^^^^^^^^^^^^^^^^^^^^^^
thats the link but you wont find much there.

The reason I'm replying:

Back in the day 12+ years ago i was a programmer for 4 years. The dot.com bubble clasped and i was out of work then and gave up any serious coding. I still code for fun now and again but have not been serious for the last 12 years.

I just did a simple php phone/address book system for the family so every one can loin update there info so every one can send Christmas cards etc.

Back to the subject at hand. With all this time on my hands Ive been looking into this MS phone problem myself as i own a black berry and was thinking it would be nice just to have it display some of the things mega view does but with out the edit capabilities. IE warm-up, MAP, coolant temp, batt voltage, and maybe for mega II have it show a specific screen during cranking showing the enrich and injector pulse-with maybe a few others. then when its done cranking go back to standard view screen.

The good:
almost all phones made in the last 4 years are happy ruining Java or rather J2ME ( Java 2 Platform, Micro Edition). The best part about this is i sent 4 years learning the in's and out's of Java. Not java script but java.

The bad: I have not used java in 12+ years and have not clue how to even start using J2ME. The basics are the same i got my black berry to spit back hello world ( If you don't get my reference to hello world go here http://en.wikipedia.org/wiki/Hello_world_program ) to me but its a bit different.
The other real issue is that the MS board dos not sit out any real nice headers to be used, unless I go with the CAN connection ( Controller Area Network ) on my MSII and i don't want to do this because it will limit the ability to be used by all. That leaves me stuck with the DB9 we all used to talk to the MS with. Last BAD, but kinda good. all our new phones have a mini usb connector that most use for charging now and backing up and transferring files music to our computers but for this to work will need to get a serial to usb adapter. The cheep ones don't work all that well 100% of the time. Im looking at getting one come Jan 1st for about 40 USD. Then ill be able to continue my little project.

I've decided if i do get it working and all is well I'll first release 1 alpha to every one here who has a different phone for free. So so who knows. Only one i will not be doing is I phone for now. Every one who Alpha's for me will get free updates and copies for any MS phone app i write.

I cant even think beta or full release if i do get it working. All i know is this should not cost an arm and a leg so $5 bucks would be the most id charge. For a non editing version. If and only if it makes it that far and it works will i look into making a version that can actually edit values.

Well feel free to check back with me on January 5th. I should have the phone talking to the MS then.

Oh and now is your chance Ill be updating a list with a TB name and phone below this line. I'll only be Alpha testing 1 of each phone model So list your phone and model in a pm to me and ill add you to the list. This will also give me an idea of demand and help me decide if i need to start looking for real work or if this will be my new job for the next few months.

Oh and Nikolaos244Turbo has 1st dibbs, please send me your phone modle.

-----------------------------------------------------------------------------------------------
 
But hey if you don't want to wait for it here is a link to what I'm reading on phone apps now. http://www.academictutorials.com/j2me/j2me-understanding-the-process-without-toolkit.asp

Looks kinda fun. I'm so motivated on this right now i may beg the wife for $40 bucks to gt the serial to usb adapter.

So new goal. I'm not going to try and write a huge app to start. Goal 1: Make application to show intake manifold absolute pressure, Basically your boost ! In a number format. Then make a skin for it (boost gauge ). If i can do that then i have all confidence i can do this thing.

Post encouragement below to help keep me motivated :P
 
OK so serial usb adapter just not cost effective. you have to have drivers for them to work. I'm not seeing any that will talk to a phone. I'm not much of a hardware guy so I'm not going to even try to make a converter of some sort.

That leaves me with the blue tooth option. But a serial to blue tooth converter to plug into the MS DB9 is $100 usd and then for it to work with your phone you would have to be compatible with JSR 82 (bluetooth code for java phones) and the list is small :(

you can get a mini laptop now adays for 120 usd so i can see why its never been done !
 
My main question (since I don't have a smart phone) is what kind of IO does a smart phone have? Do they have a real USB port that can handle a USB to serial adapter? Or is it like a usb port on a portable HDD, it will just transfer but not control anything.

I guess as Meeki mentioned, blue tooth is the most common I/O that a phone has and that's just not cost effective to get it to a serial interface.

Looks like you've already answered your own question, and mine.
 
Well the phones usb can send and revive via usb with MIDlet in J2ME. The cool thing is that MIDlet is kinda dumb. you can tell it to listen for any garbage. public void listenUSB() So my hopes are back up kinda. The Problem is you have to tell MS via the db9 to send data via the rs232. It the board does not just spit out continuous data on every thing. you have to be tabling and clearing every stream that comes in.

So being able to listen does you no good. But i can run the program to another box and see what garbage is coming through a non drive-rd version of the usb to db9 cable and then write code to fit.

This will be the death of us all as in every one may (most likely) have to buy the same db9 to usb adapter for it to work. and then what happens if they quit making it. Grrrrrrrrrrrrrr all the usb to db9's out there are proprietary so no hope in finding uniform driver code.

I have not given up but cost plays a big role in doing this.

I'm also pretty sure most people want no wires. So back to my blue tooth theory.
 
RLY how may of you want your phone telling you MS values. Is this a waste of my time or ya all going to just by mega view in the end ? Ill go buy a DB9 to usb on friday if this thread shows some more interest.
 
I'm not interested, I just wanted to know if the usb on a phone could even work with a usb to serial adapter.
 
I think it's be pretty slick to be able to see what it was doing and do data logging with my phone. Could use the GPS for track vs ems stats
 
If I had a MS I would love to have MS data on my window-mounted Droid. I've seen similar applications for OBD-II over bluetooth.
 
I'm not interested, I just wanted to know if the usb on a phone could even work with a usb to serial adapter.

It does not have to be a smart phone. It can be any phone that has a mini USB connector and comes with a usb end to computer. And when plugged into you computer goes "bung bong"

This would be allot of phones made after 2003.
 
OK went out and bought a db9 to usb connector and a female to female adapter. for a smidgen over 20 USD.

If you order it online you can get it after shipping for $15 usd. So lets see if this will work.

X finger now.
 
So I'm calling it a night. What i have found out though.

The usb our phone use can send and receive via the mini usb.

They do not however send 5v on pin 1. So having them power the db9 to usb adapter and the chip in the adapter is a no-go.

MS v3 boards send 5v out pin 9 however. So having the MS power the phone and the db9 to usb adapter is possible.

Getting the phone usb to talk to the adapter will be the hard part. But im not giving up. Tomorrow ill continue my research.
 
Well i needed a usb to db9 adapter any way so i can use a newer laptop to talk to mega squert. I'm only out a few bucks for the usb cable i hacked up to try and talk phone <---> MSII. Well it cant be done via usb. Also phones are different source. So Id have to write an app in C for the Ipod, in Java specific android code, and then J2ME for Black berry. The list goes on. There is no on fit app for all but its worse than PC vs MAC its like 18 different codes to write and then to test them all and get them to work OH MY.

So multiple .lib and and code aside no usb option only leaves bluetooth to serial. Thats 100 USD again why not buy a 7inch screen laptop running Linux for $120 !
 
yep that helps but im not going to be soldering anything to my 3.57 board. Got it working purfect with tons of mods and don't want to risk it.
 
Back
Top