Android platform tablet

Questions specific to Megatunix - alternate tuning software that runs on unix and windows.

Moderator: djandruczyk

Android platform tablet

Postby CyccX » Wed Nov 03, 2010 10:03 am

IS avaiable program to operate the MS, with is can be run on ANDROID 1.6 SE ???
CyccX
Helpful MS/Extra'er
 
Posts: 64
Joined: Fri Oct 22, 2010 7:54 am

Re: Android platform tablet

Postby Matt Cramer » Wed Nov 03, 2010 10:09 am

Not at the moment.
Matt Cramer
Super MS/Extra'er
 
Posts: 9108
Joined: Thu Apr 16, 2009 8:08 pm

Re: Android platform tablet

Postby kubeq_sq » Sat Nov 06, 2010 7:33 am

Do You have something in plans to create software for android platform in near future?? cause i am very interested in it... these tabletpcs are cheap :)
kubeq_sq
Helpful MS/Extra'er
 
Posts: 143
Joined: Thu May 06, 2010 11:53 am

Re: Android platform tablet

Postby djandruczyk » Sat Nov 06, 2010 3:55 pm

kubeq_sq wrote:Do You have something in plans to create software for android platform in near future?? cause i am very interested in it... these tabletpcs are cheap :)



I'm thinking about it, but I have no android hardware, and development for that platform may be tricky due to the various resolutions, apis, android versions and so forth. So far to me the tablet platform hasn't enticed me enough, mainly due to lack of things like a keyboard, and lack of comm ports, among other things...
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
User avatar
djandruczyk
MS/Extra Guru
 
Posts: 1204
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.

Re: Android platform tablet

Postby kubeq_sq » Sun Nov 07, 2010 4:59 am

lack of comm ports isn't such big minus, that it is commonly known, that usb adapters based on the ft232rl chips works perfectly when pluged instead of max232 :) so U can use USB ports as well (virtual comm ports) :) i saw on Youtube how people use lilliput display for tuning and it is also a touchscreen, on such tablets U have a virtual keyboard. it would be wounderful if such software would develope in near future, because these talets are cheap, small, so U can put them on the front window, batteries can last many hours. it would be very nice for people, who made their conversion by themselves and make ve maps from the begginnig on road and have no professional equipment apart from lc1, ms and Your software ofcourse... :)

and on other hand i have a question to You, when i turn in megatunix PWM warmup as an algoritm for idle valve i can't change anything in the column.... no matter if it is locked or unlocked, i changed my code, nothing has changed... i have only 0for every temperature.
kubeq_sq
Helpful MS/Extra'er
 
Posts: 143
Joined: Thu May 06, 2010 11:53 am

Re: Android platform tablet

Postby djandruczyk » Sun Nov 07, 2010 7:45 am

kubeq_sq wrote:lack of comm ports isn't such big minus, that it is commonly known, that usb adapters based on the ft232rl chips works perfectly when pluged instead of max232 :) so U can use USB ports as well (virtual comm ports) :) i saw on Youtube how people use lilliput display for tuning and it is also a touchscreen, on such tablets U have a virtual keyboard. it would be wounderful if such software would develope in near future, because these talets are cheap, small, so U can put them on the front window, batteries can last many hours. it would be very nice for people, who made their conversion by themselves and make ve maps from the begginning on road and have no professional equipment apart from lc1, ms and Your software ofcourse... :)



USB devices ONLY WORK if the tablet can work in usb HOST mode AND if it has the driver support for it.

kubeq_sq wrote:and on other hand i have a question to You, when i turn in megatunix PWM warmup as an algoritm for idle valve i can't change anything in the column.... no matter if it is locked or unlocked, i changed my code, nothing has changed... i have only 0for every temperature.


What happens when you type in new values in each column? you didn't mention the firmware used and the megatunix version which are critical.
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
User avatar
djandruczyk
MS/Extra Guru
 
Posts: 1204
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.

Re: Android platform tablet

Postby henhena » Tue Jan 18, 2011 12:22 am

When is the playstation emulator coming to the android market? I know that they are currently working on bringing the psx4iphone (or something like that) over to the android market. I'm just so excited for it and cant wait. So im just wondering if there is a time frame out for when it is going to be released. Thanks!
henhena
MS/Extra Newbie
 
Posts: 1
Joined: Tue Jan 11, 2011 11:45 pm

Re: Android platform tablet

Postby mgmuscari » Fri Apr 27, 2012 11:52 pm

Gonna go ahead and bump this thread since this seems like the most direct way to contact the appropriate people. The Android SDK is currently super ripe for putting together a mobile tuning application. I have a good bit of experience writing Android applications, and now that I'm about to fire my new MegaSquirted 347 stroker for the first time, I'm going to be looking for easy ways to tune it and monitor things in the months (and years) to come. I notice that there is some logging software available from the fine folks at EFI analytics, but frankly I find it to be a bit underwhelming. With that in mind, I'd like to get the ball rolling again with this discussion, which just kind of petered out.

I'd like to point out two things with respect to the prior concerns about the difficulty of the Android port:

djandruczyk wrote:USB devices ONLY WORK if the tablet can work in usb HOST mode AND if it has the driver support for it.


1: The latest versions of Android (ICS) and specifically many 3rd party ROMs are beginning to support USB host mode.
2: The RS232 Bluetooth solution used by EFIAnalytics mitigates the need for USB host mode where it's not supported

I have not yet examined the source code for MegaTunix in detail, but I do see that a lot of it is written in C. I don't see this as a huge barrier to Android development. The port could probably be accomplished with a moderate amount of complelxity using a combination of the Native Development Kit and the standard SDK. With a bit more work, most of the essential logic could be brought over to the Java side of things, leaving only the rudimentary bus communications with the MegaSquirt to be done in C. It might even be possible to do the whole thing in Java at this point.

I don't know a whole lot about the communications between a USB host and the MegaSquirt, so it would take me a really long time to put together a solid implementation, but given just an API for working with tuning parameters and realtime data from the unit, I could start to throw together neat Android activities and system services based on it. I would love to see a configurable dashboard comprising completely configurable fragments on an Android tablet or smartphone (there's really no difference in development between them at all). What would be even cooler would be soft buttons for doing things like table select, etc. What would be awesome would be adjustable maps, etc. I think that first putting together an Android API for the MegaSquirt series of devices based on MegaTunix could open the door to a whole lot of really cool integration with tablets and smartphones that would put both MegaSquirt and MegaTunix in a much more conspicuous light. Imagine showing your buddies how you can tune your car after a hot lap right from your phone, or having that super cool touch screen dashboard mounted right next to you with live gauges and graphs.

TL;DR: I will contribute what resources I can (I'm a grad student with a busy schedule spending a lot of time on research) to an open-source Android tuning application, especially on the side of UI, system service, and event handling code development, if somebody out there who is more familiar with the communications bus side of things takes the time to put together an API for the MS that compiles and runs on Android devices.
mgmuscari
MS/Extra Newbie
 
Posts: 12
Joined: Sun Apr 08, 2012 9:29 pm

Re: Android platform tablet

Postby djandruczyk » Sat Apr 28, 2012 5:17 am

Interesting, I do have an ICS device (motorola Xoom), with the official ICS update. Do you have any good suggestions for places to actually LEARN how to code/build apps for Android, aside from Google's rudimentary tutorials?, specifically stuff on how to do the USB IO and put the normal "device" USB port into host mode, and where to get the proper cable (a host mode cable for a sings-both-ways port has different ends, basically two "device" ends)? My java skills are non-existent compared to C, so it'll be a pretty steep battle.
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
User avatar
djandruczyk
MS/Extra Guru
 
Posts: 1204
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.

Re: Android platform tablet

Postby MrFluffy » Wed Jul 04, 2012 1:37 am

I have TORQUE on my android tablet, which can talk to my obd2 compatible van via a bluetooth serial link.
I could see something similar but for megasquirt, or maybe the writer of torque could expand it to control ms too, he seems to be pretty keen on extending it at time. I have the full paid for one because it got me out of a hole on my van when a fault code messed it up.

I for a while had a bluetooth serial adaptor decased and hard wired inside the case of the MS, but I've recently pulled it out and gone back to using the db9 since it kept loosing its baud rate settings and defaulting to 2400, which meant taking the case apart to access the internal headers of the serial port to reprogram it. I'd be happy to put it back if this happened, or now on ebay there are lots of low power bluetooth to serial bridge intergrator boards. Pretty much every android has bluetooth, and therefore would eliminate the whole usb host mode problem.
Something like this looks like it would fit the bill, with a bit of soldering to add a external antenna socket :-
http://www.ebay.com/itm/JY-MCU-HC-06-V1 ... 1053366958?
There's a spot you can pop a 6mm drill through right where B&G's name is on the silkscreen where it doesn't interfere with anything electrically and you can bring through small shielded cables to carry the port signals from under the board and I slid a piece of bare copper clad board between the ms and the bluetooth adaptor, and fed the adaptor via a 7805 regulator so it didnt load up the 5v of the ms, and ran that via a external switch so I could switch comms off and on. That way you can keep the db9 on the end for emergency use also.


I've got cyanogen mod & official android on my tablet (dual boot!), and a newish android on my phone. Once theyre rooted theyre easier to deal with, and having the tree for cyanogen setup makes it easy to cross compile.
MrFluffy
MS/Extra Newbie
 
Posts: 13
Joined: Thu May 06, 2010 5:05 am

Re: Android platform tablet

Postby TurboCamaro » Mon Dec 31, 2012 4:20 pm

Anymore work or thoughts on this? That import RS232-> Bluetooth adapter is super cheap! I've been looking at possible Android tablets to purchase recently with one of the primary uses being Megasquirt tunning, preferably with Megatunix for its superior Dashboards. Just wondering if this has gained any ground yet.
-Wayne

1994 3.4L V6 Camaro 5 spd.
Custom Turbocharged/Intercooled
User avatar
TurboCamaro
Experienced MS/Extra'er
 
Posts: 255
Joined: Mon May 24, 2004 8:07 am
Location: TX

Re: Android platform tablet

Postby Suprazz » Tue Jan 01, 2013 7:59 am

look at msdroid
Toyota Supra 89-92 7M-GTE and 1JZ-GTE Plug and play ECU: http://www.perfecttuning.net
Suprazz
Experienced MS/Extra'er
 
Posts: 193
Joined: Mon Jan 22, 2007 7:58 pm


Return to Megatunix

Who is online

Users browsing this forum: No registered users and 1 guest