Computers, Gaming, & Technology Here you can talk about anything with circuit boards, or dilithium crystals, or flux capacitors. Show off your technology, computing, and gaming knowledge.

Working on a new Tuner operating system. Oppinions?

Old Jun 27, 2010 | 08:34 PM
  #11  
DTN's Avatar
DTN
Thread Starter
Moderator
 
Joined: Feb 2009
Posts: 11,732
Likes: 5
From: Leesville, Louisiana
Vehicle: 2001 Hyundai Tiburon
Default

mode 3 is working.

I have to figure out what these codes mean, I have not yet decoded them on webtech yet, but I disconnected my MAF, TPS and IAC and this is what my program sees after turning on the check engine light and decoding the binary output per OBD standards.
<div class='codetop'>CODE</div><div class='codemain'>[false, false, false, false, false, false, false, false]P0102 P0000 P0000
[true, false, true, false, true, false, false, false]P0102 P1513 P1553</div>
I have a feeling I can trust the output. I'm betting that the P1513 codes relate to the idle air controller and the P102 is the MAF or TPS.
Reply
Old Jul 2, 2010 | 01:33 AM
  #12  
iheartmyrd's Avatar
Senior Member
 
Joined: Feb 2010
Posts: 519
Likes: 0
From: Reynoldsburg, Ohio
Vehicle: 1998 Hyundai Tiburon
Default

i can create a design in something like visual C++ or photoshop but to be honest i need to know some specifics, or atleast communicate better on what variables you would want things to be called and such.

ex.

speedogauge max and min variables do you just want me to make stuff up and we will work later on making it function or what?


p.s. i know java and javascript are different languages, but i was letting you know my background to let you know im not just someone sitting behind a computer saying they can do something.
Reply
Old Jul 2, 2010 | 07:30 AM
  #13  
Lazyshot's Avatar
Senior Member
 
Joined: Jul 2009
Posts: 247
Likes: 0
From: Columbia, SC
Vehicle: 1999 Hyundai Tiburon
Default

How about having a flexible frontend GUI, which would be separate from the backend, and create different, interchangeable, configurable backends that can communicate with all sorts of standalones and piggybacks not just OBD-II. i.e. AEM FIC, Megasquirt, Greddy eManage, etc. Their protocols may be proprietary and unavailable to the public, so that would be the biggest issue.

For the frontend, I suggest using c++/opengl and creating customizable gauges, sensors, shift lights, etc. Swing doesn't make a good looking product.

For IPC, Named Pipes or Sockets would be good.

A full blown OS for this job sounds over-the-top, unless all this could be accomplished.

Reply
Old Jul 2, 2010 | 04:07 PM
  #14  
DTN's Avatar
DTN
Thread Starter
Moderator
 
Joined: Feb 2009
Posts: 11,732
Likes: 5
From: Leesville, Louisiana
Vehicle: 2001 Hyundai Tiburon
Default

^^I've heard the same thing about swing. I don't know about that. It seems that they are doing some great things recently

http://www.taranfx.com/best-java-swing-loo...l-casual-top-10

They've revamped the swing UI for windows 7, and I'm sure they've done some things for Linux as well. It's too easy not to use.

<div class='quotetop'>QUOTE (iheartmyrd @ Jul 2 2010, 02:33 AM) <{POST_SNAPBACK}></div><div class='quotemain'>i can create a design in something like visual C++ or photoshop but to be honest i need to know some specifics, or atleast communicate better on what variables you would want things to be called and such.

ex.

speedogauge max and min variables do you just want me to make stuff up and we will work later on making it function or what?</div>
<div class='codetop'>CODE</div><div class='codemain'>public class Status {
;
public static String FuelSystemStatus;
public static float EngineLoad;
public static float CoolantTemp;
public static float STFuelTrim1;
public static float LTFuelTrim1;
public static float FuelPressure;
public static float MAP;
public static float RPM;
public static float KPH;
public static double MPH;
public static float TimingAdvance;
public static float TPS;
public static String CommandedSecondaryAirStatus;
public static float AbsoluteLoadValue;
public static float CommandEquivalenceRatio;
public static float RelativeThrottlePosition;
public static float AmbientAirTemp;
public static float AbsoluteThrottleB;
public static float AbsoluteThrottleD;
public static float AbsoluteThrottleE;
public static float AbsoluteThrottleF;
public static float CommandedThrottlePosition;
public static float MAF;
public static float IAT;
public static int BarometricPressure;
public static float EvapSystemVaporPressure;
public static int DistanceTraveledSinceCodesCleared;

}</div>
These are only a few supported variables of my program. Each of those values are populated with the proper values. The GUI is to be updated upon request from the program. The Gauges need to be vectored on a scale of 1 to 1000 and have adjustable ticks. The actual inputs are not important, but can be set at runtime
Reply
Old Jul 2, 2010 | 04:17 PM
  #15  
DTN's Avatar
DTN
Thread Starter
Moderator
 
Joined: Feb 2009
Posts: 11,732
Likes: 5
From: Leesville, Louisiana
Vehicle: 2001 Hyundai Tiburon
Default

Also, a full-blown OS is the best way to go for this. It allows full control over the environment under linux.

Skinning the controls in the UI should be easy enough with mouseover/click events for picture displays.

There are other reasons for making a distribution... use of other software in a controlled environment for example.
Reply
Old Jul 25, 2010 | 02:04 PM
  #16  
DTN's Avatar
DTN
Thread Starter
Moderator
 
Joined: Feb 2009
Posts: 11,732
Likes: 5
From: Leesville, Louisiana
Vehicle: 2001 Hyundai Tiburon
Default

I thought I would share my current progress. The adminsitrative panel is working. I still have to add a "search" for codes option where you can specify some parameters to search for and let it run. I'm working on converting all of my variables over to tables. The Table will allow the user to click on a value and have a gauge displayed. The gauge will be customizable, re-positionable and allow multiple instances. It's still nowhere near done, but I thought this might be interesting for some.

Reply
Old Jul 26, 2010 | 12:43 AM
  #17  
187sks's Avatar
Administrator
 
Joined: Mar 2006
Posts: 12,515
Likes: 2
From: Lacey, WA
Vehicle: Two Accents, Mini, Miata, Van, Outback, and a ZX-6
Default

This is pretty cool and seems to be coming along nicely. Good work DTN. smile.gif
Reply
Old Aug 17, 2010 | 03:29 PM
  #18  
DTN's Avatar
DTN
Thread Starter
Moderator
 
Joined: Feb 2009
Posts: 11,732
Likes: 5
From: Leesville, Louisiana
Vehicle: 2001 Hyundai Tiburon
Default

This is a small video of the obd2ner admin console

I hope it is clear enough to see anything.

<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/xrhJhe6E84o"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/xrhJhe6E84o" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
It outputs alot of data in a very organized format. Now my task is to give the UI a more homely/high tech feel and keep the user from having to type anything manually.
Reply
Old Aug 17, 2010 | 06:49 PM
  #19  
DTN's Avatar
DTN
Thread Starter
Moderator
 
Joined: Feb 2009
Posts: 11,732
Likes: 5
From: Leesville, Louisiana
Vehicle: 2001 Hyundai Tiburon
Default

sorry, that last video came out trash.
This is a bit less trashed.
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/gmUVatBGvmg"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/gmUVatBGvmg" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
Reply



All times are GMT -6. The time now is 11:50 PM.