Unoffical empeg BBS

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

Topic Options
#82782 - 21/03/2002 16:15 Projects that use the serial port?
matthew_k
pooh-bah

Registered: 12/02/2002
Posts: 2298
Loc: Berkeley, California
So, are there any projects that use the serial port besides the one for controlling your empeg through a palm?

It seems like having the serial port should be invaluble, but I can't think of any projects that actualy "hijack" it and use it for anything besides issueing commands to the player.

Matthew

Top
#82783 - 22/03/2002 00:07 Re: Projects that use the serial port? [Re: matthew_k]
mtempsch
pooh-bah

Registered: 02/06/2000
Posts: 1996
Loc: Gothenburg, Sweden
Off the top of my head:

* The GPS projects read data from the GPS receiver over the serial port.
* Someone made a video generator that uses the notification data sent on the serial port.
* The folks tinkering with car diagnostics use the serial port.

/Michael
_________________________
/Michael

Top
#82784 - 22/03/2002 03:07 Re: Projects that use the serial port? [Re: mtempsch]
matthew_k
pooh-bah

Registered: 12/02/2002
Posts: 2298
Loc: Berkeley, California
Yeah, I just found that the GPS project was actualy getting going tonight. (It's been hiding under some "programing project" thread in programming or something, which i'd been ignoring). I'm checking ebay now for a cheap GPS.

Have the OBD people gotten something going on the empeg? I could have missed that too.

The video titler if i'm not mistaken just took the data from the player software, and didn't write any code for the empeg, righ?

Matthew


Edited by matthew_k (22/03/2002 03:10)

Top
#82785 - 22/03/2002 04:28 Re: Projects that use the serial port? [Re: matthew_k]
cyberco
member

Registered: 29/01/2002
Posts: 109
Loc: United Kingdom
Can't find the demo GPS code, any idea where I can get it to take a look?

Cheers,
_________________________
----------------------- www.cyberco.net www.3000gt.co.uk

Top
#82786 - 22/03/2002 04:49 Re: Projects that use the serial port? [Re: cyberco]
matthew_k
pooh-bah

Registered: 12/02/2002
Posts: 2298
Loc: Berkeley, California
Yeah, it's hidden in programming about five pages down into the "Programming Project!" thread. There's a screen shot, so someone seems to have gotten it working.

http://empeg.comms.net/php/showflat.php?Cat=&Board=hackers_prog&Number=77301&page=0&view=collapsed&sb=5&o=0&fpart=

Matthew

Top
#82787 - 22/03/2002 04:54 Re: Projects that use the serial port? [Re: matthew_k]
mtempsch
pooh-bah

Registered: 02/06/2000
Posts: 1996
Loc: Gothenburg, Sweden
The video titler if i'm not mistaken just took the data from the player software, and didn't write any code for the empeg, righ?

Correct.

Don't know if the ODB boys have anything running yet.

/Michael

_________________________
/Michael

Top
#82788 - 22/03/2002 06:07 Re: Projects that use the serial port? [Re: matthew_k]
cyberco
member

Registered: 29/01/2002
Posts: 109
Loc: United Kingdom
Cheers Mate
_________________________
----------------------- www.cyberco.net www.3000gt.co.uk

Top
#82789 - 22/03/2002 09:34 Re: Projects that use the serial port? [Re: matthew_k]
rexkp
journeyman

Registered: 31/08/2000
Posts: 88
I have both GPS and OBDII limping along with an accelerometer and serial mux sitting on the work bench.

So, yes, we ARE using the serial port!

Cheers,

Rex.
P.S. The GPS stuff isn't hiding so much as not really being ready for prime time. If I could use the serial port while the player was running it would be in much better shape.

Top
#82790 - 22/03/2002 11:01 Re: Projects that use the serial port? [Re: rexkp]
eternalsun
Pooh-Bah

Registered: 09/09/1999
Posts: 1721
Loc: San Jose, CA
How do you have both GPS and obd2 running simultaneously on the same port?

Calvin

Top
#82791 - 22/03/2002 11:06 Re: Projects that use the serial port? [Re: eternalsun]
rexkp
journeyman

Registered: 31/08/2000
Posts: 88
I don't, yet. That's what the mux is for. Both GPS and OBD are low data rates so (in theory) they can be combined into the same stream with no loss. The accelerometer is a very low data rate and should fit in fine as well.

Cheers,

Rex.
[EDIT: I should have pointed out that I have both running, just not at the same time.]


Edited by rexkp (22/03/2002 11:08)

Top
#82792 - 22/03/2002 11:30 Re: Projects that use the serial port? [Re: matthew_k]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
I always liked Hugo's (or was it Rob's?) original idea of having a switch sensor on the passenger seat which would connect to the serial port and automatically invoke a specific Wendy Filter when the passenger seat was occupied.
_________________________
Tony Fabris

Top
#82793 - 22/03/2002 13:32 Re: Projects that use the serial port? [Re: rexkp]
eternalsun
Pooh-Bah

Registered: 09/09/1999
Posts: 1721
Loc: San Jose, CA
What happens when two transmit at the same time? Does your mux correct for potential collisions?

Calvin

Top
#82794 - 22/03/2002 13:44 Re: Projects that use the serial port? [Re: eternalsun]
rexkp
journeyman

Registered: 31/08/2000
Posts: 88
Oh, it's more than a simple mux. The data streams are buffered at the low speeds (4800 or 9600bps) and sent to the empeg a line at a time at 57,600bps with a prefix to indicate where it came from. No collisions to worry about.

Simple in concept but it's really pushing the PIC I'm using. Might need a faster or bigger chip.

Top
#82795 - 22/03/2002 14:40 Re: Projects that use the serial port? [Re: tfabris]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
I'd prefer a pressure sensor instead of just a switch. Find the approximate ass-weight of your common passengers and somehow get the different weights to invoke different filters.
_________________________
Bitt Faulk

Top
#82796 - 22/03/2002 14:42 Re: Projects that use the serial port? [Re: wfaulk]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Or just have it automatic. When a certain person sits down in the car, invoke that filter by hand the first time, but subsequent visits by someone within 5 pounds will invoke the same filter. If it gets it wrong because the passenger gained weight, then re-invoke the filter.
_________________________
Tony Fabris

Top
#82797 - 22/03/2002 18:43 Re: Projects that use the serial port? [Re: tfabris]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Even better!
_________________________
Bitt Faulk

Top
#82798 - 22/03/2002 19:06 Re: Projects that use the serial port? [Re: wfaulk]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
How about a low frame-rate serial cam so we could run face-recognition software?
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#82799 - 24/03/2002 00:18 Re: Projects that use the serial port? [Re: rexkp]
matthew_k
pooh-bah

Registered: 12/02/2002
Posts: 2298
Loc: Berkeley, California
In reply to:

P.S. The GPS stuff isn't hiding so much as not really being ready for prime time.



Even if it's not's ready, it's one of the coolest add ons for the empeg yet. Now if only more maps came with latitude and longitude...

Matthew

Top
#82800 - 25/03/2002 11:27 Re: Projects that use the serial port? [Re: rexkp]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
The GPS stuff isn't hiding so much as not really being ready for prime time.

And the OBD II project? Is that ready for "prime time"? There were lots of people interested in that if I remember right.
_________________________
- Tony C
my empeg stuff

Top
#82801 - 26/03/2002 08:56 Re: Projects that use the serial port? [Re: tonyc]
rexkp
journeyman

Registered: 31/08/2000
Posts: 88
The OBDII project is at about the same point as the GPS. (They will eventually be the same codebase.)

However, I have a bad connection in my interface I need to fix before testing more :-(

Does anyone else have the hardware (an ELM323 interface) to use this code?

Cheers,

Rex.

Top
#82802 - 26/03/2002 19:24 Re: Projects that use the serial port? [Re: tfabris]
753
member

Registered: 25/10/1999
Posts: 149
Shouldn't it be easier than that? One could use the Phone Mute Sense as the Passenger Seat Switch, as we are already able to reprogram its behavior with Hijack.
_________________________
_______ Thomas

Top
#82803 - 27/03/2002 04:43 Re: Projects that use the serial port? [Re: rexkp]
TommyE
enthusiast

Registered: 08/06/1999
Posts: 356
Loc: NORWAY
I have some ELM 322 chips, the GM version.

TommyE

Top
#82804 - 28/03/2002 19:54 Re: Projects that use the serial port? [Re: rexkp]
Banacek
journeyman

Registered: 28/03/2002
Posts: 94
I don't know if this product will help at all. I have an OBD-I, so I can't use it (I wish I could) But check it out. Sorry if this is old news.

http://www.abcwc.net/accounts/quanta/

Top
#82805 - 04/04/2002 15:36 Re: Projects that use the serial port? [Re: Banacek]
FlibblE
journeyman

Registered: 16/02/2000
Posts: 94
Loc: UK - NE Wales
I'm thinking about doing an OBDI program for the empeg - dunno if anyone's seen WinALDL, but I was thinking about doing something not dissimilar. Is anyone else doing this - I can see a lot of mentions about OBDII. Would anyone else be interested?

Cheers.

Top