Contour Enthusiasts Group Archives
Posted By: hotdimmes need help on making digital gauges - 12/07/05 01:45 PM
So I just finished my microcontroller lab for the semester and I'm pretty motivated to keep doing work with them. I was gonna recontent my clock but I decided I want to put a two line LCD in that spot and wire it up to a microcontroller(probably a PIC16F874.) On one side I would have the time, and on the other I'm thinking of displaying two vitals that can be changed to whatever is available and desireable.

My question is, what do you guys think would be the best approach for this? Tap into some sensors on the car or read up on ODBII and tap into that? I think ODBII might require more programming, but easier as far as plug n playability.

The stuff I display isn't that important to me. This is more to keep myself occupied and do something different(Although a voltmeter is a must, no more running around with a dying alternator for this guy.)

Thanks,
Chris
Hmm. Oil pressure, MAF voltage would be two that could be very usefull if you new what you were looking at.
Maf sensor voltage can be correlated with airflow volume. If you get a copy of the maf transfer function then you can interpolate the airflow in grams or pounds per minute. This can tell you if you are saving gas or not. For performance it can tell you if you are pushing the amount of air that you think you should be and let you know if you are maxing out your sensor.

Tapping the sensor wires would be far easier. If you try the obdII route I bet you never get it done.

most sensors on the car work on a 0-5 volt reference.
The MAF has four wires but you only need the signal and ground
Oil pressure is a variable resistance sensor so you can read voltage as a function of oil pressure. This one can be all analog and no microprocessor required other than to drive the led numerals I guess.
The MAF one will be more challenging because you have to have a lot of data points since the curve of airlfow versus maf voltage is not linear at all. Looks more like a third order polynomial.
Posted By: KyleH Re: need help on making digital gauges - 12/08/05 02:47 PM
Best approach would be to use the OBDII port. You can get an IC that will convert the PWM Ford signals to a RS232 serial interface sutible for a PC. (ELM350 or somthing like that...dont remember). Then learn how to do serial communincations with the pic, and all you need to do is send a string on the comm line and the computer will respond with the reading. Then just translate the reading to your display.
This approach is probably easier to program as you don't need to store transfer table info, and you don't require using a pic with an ADC onboard. Also with the OBDII if you decide you wan't to display something else, it's a lot easier to pull the micro out and reprogram it, than to rewire to another sensor. You could also have a button to cycle through different stuff if you wanted.

Hmmmmm....now you've got me thinking about doing something similar.
Posted By: KyleH Re: need help on making digital gauges - 12/08/05 05:07 PM
Here's the IC ELM320
Posted By: hotdimmes Re: need help on making digital gauges - 12/08/05 08:24 PM
This is all great info guys, exactly the kind of stuff I was looking for. I'm gonna start researching all the details when finals are done in a week. We had a lab where we exported data via serial port, so maybe I could figure out how to import it as well.

Here is another question on OBDII. Is the data lagged at all? I remember when my bro had his laptop hooked up to my ODBII and reading RPM's. The data would come in more than 3 or 4 seconds after I had already hit that point.
Posted By: KyleH Re: need help on making digital gauges - 12/08/05 09:29 PM
If you read through that data sheet, there is a section on packet data or something. Using that mode can be used to increase the data transfer rate between the pic and the obd2. It should decrease the delay time a bit, I don't know by how much though.
Posted By: hotdimmes Re: need help on making digital gauges - 12/11/05 07:06 AM
So this is getting ahead of myself but I wanted some feedback on the idea I just had. What if some lighting I had in the car(under the dash,door handles, cup holders, etc, I dont have any but what if...) shifted colors after a certain RPM?

For instance I was planning on having some soothing blueish-green LED's in my door handles to match my indiglo gauges. That's nice for calm driving, but what if the lighting shifted to red or something at higher rpm's?

I guess it just sounds like a complicated shift light of sorts. I was thinking more along the "mood lighting" aspect. High rev's = extreme driving = red lighting

Obviously that's more of a marketing slogan to 17 year old ricers, but you get what im saying...

I'm just trying to think of more things to have my microcontroller do. I'm also planning on mounting it where the clock should be ala mondeo:
Originally posted by KyleH:
Here's the IC ELM320




OMFG! That is soo cool!!!

I've had a Pic uC and a Matrix Orbital 40x8 LCD collecting dust for quite a while. I may have to get one of those cool little chips and have some fun.

BTW, being able to change between your standard clock display and any OBD-2 value would be EXTREMELY handy. Group Buy anyone?


BP
Originally posted by ButtonPuncher:
Originally posted by KyleH:
Here's the IC ELM320




OMFG! That is soo cool!!!

I've had a Pic uC and a Matrix Orbital 40x8 LCD collecting dust for quite a while. I may have to get one of those cool little chips and have some fun.

BTW, being able to change between your standard clock display and any OBD-2 value would be EXTREMELY handy. Group Buy anyone?


BP





If you could make an LCD clock screen display any OBD 2 value then I'd buy one. Although it would have to say the sensor type, value and units would be nice.
Posted By: hotdimmes Re: need help on making digital gauges - 01/04/06 03:39 AM
Judging by the last time my bro pulled out the odb2 scan program on his lappy, aren't there a really really ridiculously large amount of values that could be pulled?
Posted By: acammer Re: need help on making digital gauges - 01/04/06 07:44 AM
Are you guys aware of this gauge. www.aeroforcetech.com I've ran one in my Grand AM, and I'm going to have it re-programmed for the CSVT soon. Reads any PCM parameter, faster than you can, with no lag, can clear CELs, and will datalog for like 45seconds at a time. Pretty handy little tool.
Posted By: J3SVT Re: need help on making digital gauges - 01/04/06 08:14 AM
Originally posted by acammer:
Are you guys aware of this gauge. www.aeroforcetech.com I've ran one in my Grand AM, and I'm going to have it re-programmed for the CSVT soon. Reads any PCM parameter, faster than you can, with no lag, can clear CELs, and will datalog for like 45seconds at a time. Pretty handy little tool.




Sounds pretty handy, but what about this?

Quote:

Versions for Ford vehicles
will be available soon followed by Chrysler and imports.





Originally posted by hot3dog3lucky3:
Originally posted by acammer:
Are you guys aware of this gauge. www.aeroforcetech.com I've ran one in my Grand AM, and I'm going to have it re-programmed for the CSVT soon. Reads any PCM parameter, faster than you can, with no lag, can clear CELs, and will datalog for like 45seconds at a time. Pretty handy little tool.




Sounds pretty handy, but what about this?

Quote:

Versions for Ford vehicles
will be available soon followed by Chrysler and imports.










NM... read that wrong!
It looks really cool, but $390 for something that only has $100 worth of parts is really steep.

Just my .02

BP
Posted By: acammer Re: need help on making digital gauges - 01/04/06 05:07 PM
I think you guys are reading a few things wrong. One gauge, that reads 2 parameters at a time, clears CELs, datalogs, all that stuff, is $219 now. To get the pair of gauges for a total of 4 parameters at a time, is $389. That ain't bad. And I'll vouch for Todd, he's a solid dude, I had one of the first gauges he brought out, and had it sent back once for a reprogram, and he upgraded me to the latest specs, all free, with no hassle at all. If enough of you guys are interested, he might consider a group buy, he's done them before for the Grand Prix crowd. Oh, and I almost forgot, I'm pretty sure Ford versions are a reality now, just hasn't updated the website lately. I'll shoot him an e-mail and check.
Posted By: hotdimmes Re: need help on making digital gauges - 01/04/06 09:13 PM
well um, mine is gonna be better!!
Originally posted by hotdimmes:
well um, mine is gonna be better!!




LOL! That's the attitude!
Sounds good actually.
Posted By: hotdimmes Re: REALLY NEED INPUT ON THIS! - 02/08/06 05:19 PM
Ok guys, my digital OBD II readout thing never got off the ground but due to UConn screwing me once again, I need to take an independant study design lab to graduate.

Last semester I threw this idea out to my microcontroller teacher and he said it sounded cool.

Today I brought it to him as a topic for a design lab and he said "Didn't I already see something like this at pep boys?"

Basically he said he'll help me out, but I have to be more innovative with the idea and write him a proposal.

Please give me any and all input on ideas to make my original concept more unique or impressive. I really dont want to be stuck building an AM radio for my design lab.

Thanks,
Chris
Posted By: hotdimmes Re: REALLY NEED INPUT ON THIS! - 02/08/06 06:39 PM
Never mind...he shot the idea down
Posted By: ButtonPuncher_dup1 Re: REALLY NEED INPUT ON THIS! - 02/09/06 03:06 AM
Originally posted by hotdimmes:
I really dont want to be stuck building an AM radio for my design lab.

Thanks,
Chris





How in the world does you prof think that a custom built engine monitoring system is less impressive than an AM radio?!? And can't you find an AM radio in every auto store on the planet?

/me picks up wire, a diode, and a pair of headphones. Ooohh so difficult.

You've gotta write the code to interface with the OBD-2 port and the LCD, plus have user input for selecting modes. Oh and the real time clock.

Maybe you could also ad a WWVB receiver to the mix and have the first atomic Contour clock. Technically it's an AM receiver too.

BP
Posted By: hotdimmes Re: REALLY NEED INPUT ON THIS! - 02/09/06 02:54 PM
well, different teachers, different design labs...now im stuck to choose between powerPC assembly lab, a memory design indep study, or implementing virtual led's and switches for the cadence software package...none seem very fun
© CEG Archives