Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Page 1 of 2 1 2 >
Topic Options
#165416 - 12/06/2003 14:44 Looking for OBDII to EMPEG DATALOGGING ability
boardtek
new poster

Registered: 12/06/2003
Posts: 2
Anyone know where I can find the means to use my empeg to do datalogging on my OBDII 1998 Mitsubishi Eclipse?

Top
#165417 - 12/06/2003 14:48 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: boardtek]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
The first problem with logging on the empeg is that you have to have somewhere to write the log, at least in order for it to be useful. There's not really any writable storage on the empeg while in the car.

Of course, that's not to say that something couldn't be implemented, but that's the first big problem, and no one's tackled it yet.
_________________________
Bitt Faulk

Top
#165418 - 12/06/2003 14:57 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: boardtek]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31577
Loc: Seattle, WA
There have been *many* threads talking about interfacing OBD-2 to the empeg, and so far, *NO* completed projects. Just a lot of talk.

It's one of those projects where there are two groups of people: 1) Those who want the feature, but don't have the technical ability to implement it, and 2) Those who have the technical ability to implement it, but couldn't care less about the feature.

For a project to get done on the empeg, we need those two sets to intersect somehow.
_________________________
Tony Fabris

Top
#165419 - 12/06/2003 15:06 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: boardtek]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Oh, and for those who might be interested, there's a lot of useful stuff at http://freediag.sourceforge.net/, some of it links to external sites. Also http://www.obd-2.com/.
_________________________
Bitt Faulk

Top
#165420 - 12/06/2003 15:21 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: tfabris]
foxtrot_xray
addict

Registered: 03/03/2002
Posts: 687
Loc: Atlanta, Georgia
Well, I'd be willing to do it, there's a small ODBII -> RS232 converter bot out there.
Problem is, the Empeg's running out of serial ports. I'm not finished with my VFD project yet, and may take this on, but it'll be a ways off. Unlike some people here on the board, I ain't the fastest.

Me.
_________________________
Mike 'Fox' Morrey 128BPM@124MPH. Love it! 2002 BRG Mini Cooper

Top
#165421 - 13/06/2003 11:43 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: boardtek]
boardtek
new poster

Registered: 12/06/2003
Posts: 2
obd-2.com sent me this email reply in reponse to my questions:
Q: Do you have any info that would help me be able to do datalogging with my EMPEG / Rio Car on my OBDII 1998 Mitsubishi Eclipse?

Re: Will use ISO protocol, do have a smart client chip system, that simplfies message format, would then need a coverter device for input to the Rio.
www.obd-2.com/chip.htm

The above link shows some kind of simple DOS program that utilizes their product. Any input on how you might impliment it into the Empeg via the Serial Port?

Top
#165422 - 13/06/2003 23:34 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: boardtek]
Terminator
old hand

Registered: 12/01/2000
Posts: 1079
Loc: Dallas, TX
Theres no source code for the DOS program, so no, theres not much that can be done based on that. Someone would have to write a program to do it. It does give the communications protocol, so thats a plus. You do realize that these chips only sample @ 1 or 2 times per second, right? If its going faster than that then its "overclocking" your cars computer. Even if someone wrote a program to read the data off this board, like someone else said, that data can't be logged.

Top
#165423 - 15/06/2003 16:09 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: boardtek]
Jonathan
new poster

Registered: 03/01/2002
Posts: 24
Loc: Skövde, Sweden
There was an article on the subject discussing OBD-2 specs in number 9/2002 of the swedish magazine "Allt on Elekronik" and a project for building a OBD-2 adapter -> RS232 in number 10/11 the same year.
If there is an interest in that I can look up the references for the article and some more info.

// Jonathan

Top
#165424 - 16/06/2003 02:06 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: Jonathan]
StigOE
addict

Registered: 27/10/2002
Posts: 568
"Allt om elektronik" is the same as the english magazine "Elektor Electronics" and the same articles appeared in october and november 2002, in case anyone has them...

Stig

Top
#165425 - 16/06/2003 13:12 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: StigOE]
mtempsch
pooh-bah

Registered: 02/06/2000
Posts: 1996
Loc: Gothenburg, Sweden
The hardware in the project mainly consists of a preprogrammed microcontroller, ELM323, from Elm Electronics of Canada.

That one is suited for the majority of cars made in Europe and Asia (using the 10.4kHz ISO 9141 protocol). Most US manufactured cars use the VPW or PWM protocols. Elm has chips for those protocols also.

The software is opensource (though only 1.04 is available for download, while the binary downloads are 1.06) and available at www.scantool.net. They also have full kits as well as bits and pieces.

/Michael

_________________________
/Michael

Top
#165426 - 22/06/2003 10:22 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: tfabris]
andym
carpal tunnel

Registered: 17/01/2002
Posts: 3995
Loc: Manchester UK
I'd do something with OBDII but I don't have a car with the requisite port, yet...
_________________________
Cheers,

Andy M

Top
#165427 - 23/06/2003 08:55 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: boardtek]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
OBD-II is something I've been thinking about for a while. I've not done anything about it, but eventually I'd like to. From all the threads discussing it so far, there's a number of obstacles that need to be overcome:

1) Only one serial port and many people want GPS, OBD-II, remote display, etc
2) Software to interpret the data
3) Disk space to log to.

Here's the approaches I've been considering:

1) I've been keeping my eye out (as opposed to actively searching) for a terminal server that we could use with the empeg. The problem is that most give binary drivers for major unix distros, not linux-arm, nor do they give source code to their drivers. In another thread, there was talk about a termserv that you could program in java (IIRC, it was called TINI). I don't have the skills to program drivers for it and finding someone with the skills, time and motivation hasn't happened yet.

2) Start with some of the OSS linked in this thread

3) The best approach I can think of is to re-partition your drive (1G should be overkill) and make the new partition ext3 so it can be more safely mounted read-write in the car.

If you're not using the serial port yet, there's enough pieces available to start putting the puzzle together. How much useful data you'll be able to extract is still in question though.
_________________________
--The Amigo

Top
#165428 - 24/06/2003 07:42 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: TheAmigo]
andym
carpal tunnel

Registered: 17/01/2002
Posts: 3995
Loc: Manchester UK
I thought the rocketport drivers are provided in source. I remember picking one apart for some constants a while back.
_________________________
Cheers,

Andy M

Top
#165429 - 24/06/2003 08:37 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: TheAmigo]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
The Dallas Semi TINI module is programmed in Java but it's not actually a terminal server. Not unless you want to make it one anyway. It's a very small embedded board with a JVM. Can't remember how many serial ports it has by default but it's got an ethernet interface as well. The main problem is that they're quite expensive and have a huge lead time.

- Trevor

Top
#165430 - 24/06/2003 09:10 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: andym]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
I found the RocketPort which says it supports Linux, but it only lists ISA and PCI interfaces, not ethernet.

Then there's the SerialHub which uses ethernet, but only works on WindowsNT.

And there's the SerialHub Si which is described similar to the regular serialhub, and says:
Designed for Intel-based computers...

...once the RocketPort Serial Hub Si is installed, the ports appear as standard (native) Windows COM ports, accessible by any application.

It does list Linux under supported operating systems, but in the context of the page, it almost seems like a typo. Do they have drivers for Linux, or can you just telnet to the termserv from a linux box and have it connect you to a serial port?

How a network device is designed for Intel computers is beyond me. But the specific mention of both Intel and Windows doesn't give me much hope that it will work with the empeg.
_________________________
--The Amigo

Top
#165431 - 24/06/2003 09:23 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: TheAmigo]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
Ok, more info...

There's a Sourceforge project that has Linux drivers, but they're for the ISA and PCI cards (the ones that are supposed to already come with Linux drivers). So if people had to write their own Linux drivers for the ones that already supported Linux, I'm even less hopeful about the networked ones.

I just found the price for the 2 port Serial Hub Si: $635.
Or there's the Serial Hub ia2 which costs $679.

Both of those are way out of my price range for a 2-port term serv!
_________________________
--The Amigo

Top
#165432 - 24/06/2003 09:26 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: TheAmigo]
mtempsch
pooh-bah

Registered: 02/06/2000
Posts: 1996
Loc: Gothenburg, Sweden
It does list Linux under supported operating systems, but in the context of the page, it almost seems like a typo. Do they have drivers for Linux, or can you just telnet to the termserv from a linux box and have it connect you to a serial port?


Looks like they do have drivers for Linux...

/Michael
_________________________
/Michael

Top
#165433 - 24/06/2003 09:29 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: mtempsch]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
And just after I posted, I found that too

That means it's no longer a technical problem, just a financial one
_________________________
--The Amigo

Top
#165434 - 02/07/2003 11:45 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: tman]
n6mod
enthusiast

Registered: 27/09/1999
Posts: 200
Loc: Berkeley, CA
I don't know anything about lead times, but the TINI isn't expensive compared to the rocketport stuff.

The 512k versions are $50 qty. 1, and all you need is a 72pin Dimm socket. Details here, but in short there's 10Base-T and 2 serial ports, one with RS232 levels, one TTL. It also has a CAN interface, which may be handy for automotive applications, and a 1-wire interface if you want more sensors.

I'm no Java programmer, but from a hardware standpoint this seems nearly ideal, to be able to connect a bunch of IO to the ethernet port of the empeg.

I could see a board with a ELM32x OBD-II interface and a GPS module, with connectors for the 1-wire and CAN interfaces, all in a package about the size of a tuner (longer and narrower).

This would cover everything I can think of attaching to the empeg, and still leave the sled serial port open for the things I haven't though of.

_________________________
-Zandr
Mk.IIa #010101243 currently getting a 500GB SSD. More spares in the shed.

Top
#165435 - 02/07/2003 23:23 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: n6mod]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
$50 is quite reasonable. I'd buy one, but the problem is that it won't work out of the box. Someone's gotta write the Java code for it (probably not too bad, but still beyond me) and a matching device driver for the empeg.

As I noted above: I don't have the skills to program drivers for it and finding someone with the skills, time and motivation hasn't happened yet.

The approach I'm going to look at now is this one and I see you've found that thread too. A bit less exandable and may not work for everyone, but it's cheaper and (I think) I know how to do it.
_________________________
--The Amigo

Top
#165436 - 03/07/2003 11:28 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: TheAmigo]
n6mod
enthusiast

Registered: 27/09/1999
Posts: 200
Loc: Berkeley, CA
Well, I have the motivation (now that I've started playing with GPSapp), and the hardware skills. I don't have the software skills to get it running on the TINI (though there's some sample code that looks promising, I've just never written a line of Java in my life).

On the empeg side, the usual m.o for terminal servers is just to use telnet, and I'm sure I can find code on the linux side to make a telnet session look like a serial port, or modify gpsapp to telnet to a commserver port. (Same with freediag)

Besides, this thing just looks too cool. I'll probably order one and start trying to make this stuff work.

In the meantime, am I inferring correctly that you're working getting OBDII running using the tuner serial port? Let me know if I can help in any way.
_________________________
-Zandr
Mk.IIa #010101243 currently getting a 500GB SSD. More spares in the shed.

Top
#165437 - 03/07/2003 11:41 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: n6mod]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
On the empeg side, the usual m.o for terminal servers is just to use telnet, and I'm sure I can find code on the linux side to make a telnet session look like a serial port, or modify gpsapp to telnet to a commserver port. (Same with freediag)

If you can get that to work, that'd be sweet! That's the solution I'd like to use.

In the meantime, am I inferring correctly that you're working getting OBDII running using the tuner serial port? Let me know if I can help in any way.

I don't know much about component electronics (I wish I did). The thread talking about the serial port on the tuner seemed to allude to needing to add some stuff (resistors?) and that's where I'd need some help.

Since I currently have neither a GPS, nor an OBD-II interface, I've not looked into it very deeply. What I will probably start with is OBD via the standard serial port. If you get the TINI working, then I'd get one of those and a GPS.
_________________________
--The Amigo

Top
#165438 - 03/07/2003 14:35 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: n6mod]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
On the empeg side, the usual m.o for terminal servers is just to use telnet, and I'm sure I can find code on the linux side to make a telnet session look like a serial port, or modify gpsapp to telnet to a commserver port. (Same with freediag)

What does telnet look like "on the wire"? Are there control characters and such that need to be handled as part of the protocol or is it as simple as just listening on a port and passing the I/O onto another program? I have a TINI board around here somewhere and the java code to bind to a port and pass the I/O to a serial port would be pretty trivial for me to write...

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#165439 - 03/07/2003 16:16 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: mcomb]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Telnet has a few special out-of-band signals. They are all preceded by 0xFF, and most consist of only one more byte (RFC764). There are some others, though.

A better summary, as it turns out, is here.
_________________________
Bitt Faulk

Top
#165440 - 03/07/2003 16:30 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: mcomb]
n6mod
enthusiast

Registered: 27/09/1999
Posts: 200
Loc: Berkeley, CA
What does telnet look like "on the wire"?

Pretty close to raw characters in IP packets. There's a little more to it, described in RFC's 854 and 855.

There's also RFC 2217, which describes how to use the telnet protocol itself to do things like line rate and hardware setup for just this application. And finally, I found this post to the TINI mailing list with just the code I'm looking for. Though ultimately I'd like to extend it to both ports and the 1-wire interfaces, it's a good starting point.

So now I need to get the hardware and start hacking.

Nice to know there's someone with some TINI experience out there, though.

-Z
_________________________
-Zandr
Mk.IIa #010101243 currently getting a 500GB SSD. More spares in the shed.

Top
#165441 - 03/07/2003 18:34 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: n6mod]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
or modify gpsapp to telnet to a commserver port.


*cough*gpsd*cough*

Top
#165442 - 03/07/2003 22:06 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: Daria]
n6mod
enthusiast

Registered: 27/09/1999
Posts: 200
Loc: Berkeley, CA
*cough*gpsd*cough*

Too right. And, of course, it would only make sense to run gpsd on the TINI itself.

I was actually thinking that I'd want one of these at home to use as an NTP server, so porting ntpd should eventually happen.

OK, time to get off my butt and order some parts.

_________________________
-Zandr
Mk.IIa #010101243 currently getting a 500GB SSD. More spares in the shed.

Top
#165443 - 03/07/2003 22:23 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: n6mod]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
Nice to know there's someone with some TINI experience out there, though

Well, I am sure there is but it isn't me I ordered one for the geek factor, but I have never even gotten around to loading slush (the mini command interpreter) on mine yet and I have had it for at least a year. But, I do have one and a decent amount of java programming experience if you need any assistance.

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#165444 - 04/04/2004 06:30 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: mcomb]
bjoern
member

Registered: 03/04/2002
Posts: 169
Loc: Regensburg, Germany
Anything new on this thread? I got an obd2-RS232 converter and would just need the software for the empeg...

I wouldn't even want to log anything, just visualize some data whenever I want/need to.

Also, check out this old thread:
http://empeg.comms.net/php/showflat.php?Cat=&Board=prodject&Number=140168&page=0&view=&sb=&o=&fpart=all&vc=1&PHPSESSID=
_________________________
32MB, serial: 10101626

Top
#165445 - 18/04/2004 16:59 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: mtempsch]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
It's been 10 months now and the download page has the source for 1.06. I don't know what's new and haven't looked at the code.

Looks like the ElmScan might be a good cable/adaptor. Anyone used this with the empeg?
_________________________
--The Amigo

Top
#165446 - 25/04/2004 19:36 Re: Looking for OBDII to EMPEG DATALOGGING ability [Re: mtempsch]
gbeer
carpal tunnel

Registered: 17/12/2000
Posts: 2665
Loc: Manteca, California
links I have found in the last 2 days:

1 Short discription of Class 2 network
2 Multiplex Engineering, serial to J1850. ~$85 interface. No software.
3 Card Labs, some J1850 related specs available here.
4 Adv. Vehicle Tech. listing of J1850 devices. Chips listed here. Complete products are very expensive $800-1500
5 ScanTool.net $85 serial to J1850 interface
6 ScanTool.net Free software & source code.
7 more links to specs and data sheets.

Serious prices, but snoops everything.
8 Vehicle Spy software. $1995
9 NeoVI vehicle interface for above. $1995

10 Freediag on sourceforge.


Edited by gbeer (25/04/2004 19:40)
_________________________
Glenn

Top
#165447 - 12/04/2005 17:23 ODB ][ [Re: gbeer]
JeepBastard
enthusiast

Registered: 08/09/1999
Posts: 364
Loc: Brooklyn
Hypertech power programmer for 97 Wrangler ODB ][

I'm thinking about springing for the scantool device and starting from there,
_________________________
Mark I + Mark IIa | Jeep 97 TJ
my current blog

Top
#165448 - 12/04/2005 18:44 Re: ODB ][ [Re: JeepBastard]
JeepBastard
enthusiast

Registered: 08/09/1999
Posts: 364
Loc: Brooklyn
check this out:

99 dollar graphing log device for ODB ][

interesting.. reverse engineer this puppy
_________________________
Mark I + Mark IIa | Jeep 97 TJ
my current blog

Top
Page 1 of 2 1 2 >