Projects that use the serial port?

Posted by: matthew_k

Projects that use the serial port? - 21/03/2002 16:15

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
Posted by: mtempsch

Re: Projects that use the serial port? - 22/03/2002 00:07

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
Posted by: matthew_k

Re: Projects that use the serial port? - 22/03/2002 03:07

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
Posted by: cyberco

Re: Projects that use the serial port? - 22/03/2002 04:28

Can't find the demo GPS code, any idea where I can get it to take a look?

Cheers,
Posted by: matthew_k

Re: Projects that use the serial port? - 22/03/2002 04:49

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
Posted by: mtempsch

Re: Projects that use the serial port? - 22/03/2002 04:54

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

Posted by: cyberco

Re: Projects that use the serial port? - 22/03/2002 06:07

Cheers Mate
Posted by: rexkp

Re: Projects that use the serial port? - 22/03/2002 09:34

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.
Posted by: eternalsun

Re: Projects that use the serial port? - 22/03/2002 11:01

How do you have both GPS and obd2 running simultaneously on the same port?

Calvin
Posted by: rexkp

Re: Projects that use the serial port? - 22/03/2002 11:06

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.]
Posted by: tfabris

Re: Projects that use the serial port? - 22/03/2002 11:30

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.
Posted by: eternalsun

Re: Projects that use the serial port? - 22/03/2002 13:32

What happens when two transmit at the same time? Does your mux correct for potential collisions?

Calvin
Posted by: rexkp

Re: Projects that use the serial port? - 22/03/2002 13:44

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.
Posted by: wfaulk

Re: Projects that use the serial port? - 22/03/2002 14:40

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.
Posted by: tfabris

Re: Projects that use the serial port? - 22/03/2002 14:42

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.
Posted by: wfaulk

Re: Projects that use the serial port? - 22/03/2002 18:43

Even better!
Posted by: genixia

Re: Projects that use the serial port? - 22/03/2002 19:06

How about a low frame-rate serial cam so we could run face-recognition software?
Posted by: matthew_k

Re: Projects that use the serial port? - 24/03/2002 00:18

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
Posted by: tonyc

Re: Projects that use the serial port? - 25/03/2002 11:27

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.
Posted by: rexkp

Re: Projects that use the serial port? - 26/03/2002 08:56

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.
Posted by: 753

Re: Projects that use the serial port? - 26/03/2002 19:24

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.
Posted by: TommyE

Re: Projects that use the serial port? - 27/03/2002 04:43

I have some ELM 322 chips, the GM version.

TommyE
Posted by: Banacek

Re: Projects that use the serial port? - 28/03/2002 19:54

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/
Posted by: FlibblE

Re: Projects that use the serial port? - 04/04/2002 15:36

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.