MS on Iphone/linux tablet

Discuss MegaSquirt, VEMS and other non-free hardware and software here.
toalan
Wideband Wizard
Posts: 241
Joined: Tue Jun 10, 2008 2:53 am
Location: Toronto Canada
Contact:

MS on Iphone/linux tablet

Post by toalan »

Been working hard on this for a few months. Hope this is not considered as spam.

-Microsquirt connected to device via RS232
-Device connected to wifi router via ethernet
-Iphone/linux tablet simultaneously connected to wifi router
-Totally broswer based; HTML+Javascript+CSS.

Demo is of real Microsquirt data streamed to browser

http://www.youtube.com/watch?v=j5SM6Zwz-fo
User avatar
jharvey
1N4001 - Signed up
Posts: 1607
Joined: Tue Jun 10, 2008 5:17 pm

Re: MS on Iphone/linux tablet

Post by jharvey »

It appears you have a web server that parses a 232 data stream into a web page that can be viewed on an iphone. I would wager a guess it can be viewed on about any internet device.

Is this an opensource project? I could see some potential in using this with other devices by re-writing the 232 parsing part of it.
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: MS on Iphone/linux tablet

Post by Fred »

Cool :-)

Is it going to be pay per view? Or open source?

Are you planning visual gauges as opposed to numbers?

Not spam, perfect subforum for it, thanks for posting about it! :-)

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
toalan
Wideband Wizard
Posts: 241
Joined: Tue Jun 10, 2008 2:53 am
Location: Toronto Canada
Contact:

Re: MS on Iphone/linux tablet

Post by toalan »

It is not an open source project:( It is part of a new lambda controller I am developing, one of the features is to be able to parse rs232 data and display the data along with Lambda, EGT, fluid temp, pressure, and intake air temp sensors

Originally I was doing it with adobe flash and had some nice looking gauges and instrument displays working, but I decided to go with pure html since it caters to the lowest common denominator. Flash requires Android 2.2+ and does not support apple tablets and phones, maybe in a year's time when you can get a $100 device that will fully support flash, I will release the flash version.

I will try to improve the html display with stuff that looks like gauges.

The plan is not only MS support but support for all popular tuning solutions with an RS232 port.
ehb
LQFP112 - Up with the play
Posts: 128
Joined: Tue Dec 23, 2008 12:20 am

Re: MS on Iphone/linux tablet

Post by ehb »

That is pretty cool, yes :)
For live gauges, I suggest looking into SVG graphics, updated with JavaScript.
Not sure how well supported it is on mobile phones nowadays...

...some google time has passed...

Looks like the iPhone supports it rather well, however Android's Webkit doesn't.
The latest Opera Mini would fix the Android problem though.
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: MS on Iphone/linux tablet

Post by Fred »

What about html5? So, it's display only, not bi directional/capable of adjusthing things?
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
toalan
Wideband Wizard
Posts: 241
Joined: Tue Jun 10, 2008 2:53 am
Location: Toronto Canada
Contact:

Re: MS on Iphone/linux tablet

Post by toalan »

I will look into SVG, thanks.

I know nothing about HTML5, the ethernet stack on the uC is a very stripped down, probably will not support any special features of HTML5.

This is the flash demo, http://www.youtube.com/watch?v=TU14-37U3Fc

I will probably have both the html firmware and flash firmware available and give the users the option to update the unit with either the html or flash firmware as they please.
User avatar
jharvey
1N4001 - Signed up
Posts: 1607
Joined: Tue Jun 10, 2008 5:17 pm

Re: MS on Iphone/linux tablet

Post by jharvey »

AJAX may also be a good approach. One feature it offers is specific for emended devices. You can have the embedded device send parsed program commands, which are then received and processed by the client who typically has many more CPU cycle available. Off loading the load to the client and reducing the load on the server. I understand AJAX was developed by Google, and had it's first real need with maps.google.com where they off loaded much of the processing requirements to millions of PC's.

I once saw a constructive use of AJAX on wizNET device. If you haven't seen those devices you may want to check them out.
toalan
Wideband Wizard
Posts: 241
Joined: Tue Jun 10, 2008 2:53 am
Location: Toronto Canada
Contact:

Re: MS on Iphone/linux tablet

Post by toalan »

for the html I am using Ajax.
toalan
Wideband Wizard
Posts: 241
Joined: Tue Jun 10, 2008 2:53 am
Location: Toronto Canada
Contact:

Re: MS on Iphone/linux tablet

Post by toalan »

I looked into SVG, support for it is hit or miss with older internet enabled devices. With Css3 I can make round shapes for gauges. Javascript with the canvas feature can also do it, but support for the canvas feature is in html5 so it is no good for older devices. Even Css3 is not well supported for older internet enabled devices, but the lack of support leads to a much more graceful fallback, the round shapes will be displayed as squares, the display is still very usable. With the other approaches it is all or nothing.

The lowest common denominator I am catering to is a 300 mhz qvga device that is about 3 years old. You can pick up something like that on ebay for less much less than $100. Even new you can get a namebrand gps unit with wifi and browser for $100 new on amazon, that would be the ideal unit for an in car display since it can do both gps and also be used to display automotive stuff.
Post Reply