Go Back   EcoModder Forum > EcoModding > Instrumentation > OpenGauge / MPGuino FE computer
Register Now
 Register Now
 

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 05-02-2008, 08:30 PM   #151 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
Posts: 5,038

pimp mobile - '81 suzuki gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 269 Times in 212 Posts
re: Palm, the palm has been mulled over (there's a waba and a palm thread here). I was really pushing for it early on but have changed my position. And yes, I thought much longer than I should have about a "raw" serial port connection I think I put some code in the opengauge sourceforge repository if you are curious, should have most of the building blocks for getting data from the serial port and displaying it/etc.
here it is:
http://opengauge.cvs.sourceforge.net...l%20processor/


re: OBD, cfg83 is chewing on a scantool.net adaptation: http://ecomodder.com/forum/showthrea...&highlight=pid , maybe you can combine forces if you want to get an obd solution going sooner? Let me know if you get a decent fuel consumption algorithm put together I've got an elm chip, but the more universal (and less expensive)injector and vss tap are more of a priority imho. And if someone teaches the arduino all the various obd protocols, I'd certainly be interested too.

Paul, nice to see you here I was really tempted by your serial lcd board when I was pulling my hair out over the LCD hookup

__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 05-06-2008, 01:37 PM   #152 (permalink)
EcoModding Lurker
 
Join Date: May 2008
Location: western Colorado
Posts: 59

ScabbySentra - '93 Nissan Sentra SE
90 day: 44.37 mpg (US)
Thanks: 2
Thanked 7 Times in 6 Posts
This thread excites me, as well. However, I haven't the time to learn another language, nor the money for anything more involved than a few logic chips. I just finished a VB program to interface a couple of different geiger counters to my PC and laptop via a standard serial port, so naturally that route comes to mind.

I think a pair of (really cheap) comparator chips to obtain and clean up the pulses from an injector and the VSS, a rising/falling edge detector, and then using the cleaned pulses to toggle the DSR, RI, and DTR pins on an RS232 port might work OK.

I haven't read any comments on the retro analog approach, either. Something similar to an old tachometer circuit, using a bridge to balance injector pulsewidth against vehicle speed, maybe.

I'll probably play with one or both of these approaches, myself...

This forum is really excellent.

  Reply With Quote
Old 05-16-2008, 09:54 PM   #153 (permalink)
EcoModding Lurker
 
Join Date: May 2008
Location: USA
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Here to help

I have been following this discuss from the beginning with interest, but to this point I have not been in a position to participate. I would now like to get involved for a multitude of reasons and I just ordered my FreeDuino kit. I also ordered the 16x2 LCD.

I have extensive programming experience although none of it is with microcontrollers as well as experience building and repairing electronics.

If I can be of any help, please let me know. My first step will be putting together the kit and getting it working with the LCD.

J

01 PT Cruiser
  Reply With Quote
Old 05-16-2008, 10:04 PM   #154 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
Posts: 5,038

pimp mobile - '81 suzuki gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 269 Times in 212 Posts
Hi guys, welcome, glad you are here

re: retro, I've been referring to this lately:
http://www.circuitcellar.com/avr2004...05abstract.pdf
http://www.circuitcellar.com/avr2004/wentries/A3805.zip (10 meg)

re: help, cool! I think we are very close with the software for v1. But code/hardware reviews are welcome. Start here: http://forum.ecomodder.com/showthrea...pace-2115.html
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 05-20-2008, 11:58 AM   #155 (permalink)
EcoModding Lurker
 
gamer_jim's Avatar
 
Join Date: May 2008
Location: Maryland, USA
Posts: 30

Reds' Bucket Mobile - '01 Chevrolet Cavalier 4 Door Sedan
90 day: 33.46 mpg (US)
Thanks: 0
Thanked 0 Times in 0 Posts
Great thread guys. I too am very interested in this project.

Here's a little background on me:

I've been an applications developer, mostly .Net and Java, for 7 years. I am also an Open Source advocate. I am very lucky that in my job my boss lets me choose what vendor to use and I usually go with the Open Source ones.

I don't know much about electronics so I think I will have to stay on the software side of things. Maybe I would qualify as a tester for this project. Money is really tight for us until we sell our house so the $50 in parts would be acceptable for the Arduino + LCD.

Let me know if theres anything I can do. I can purchase the board and download the latest version, but I haven't a clue as to how to wire the VSS or the injector monitor. It looks like the language the Aruino uses is not terribly hard to learn.
  Reply With Quote
Old 05-21-2008, 04:40 AM   #156 (permalink)
Liberti
 
LostCause's Avatar
 
Join Date: Feb 2008
Location: California
Posts: 504

Thunderbird - '96 Ford Thunderbird
90 day: 27.75 mpg (US)
Thanks: 0
Thanked 7 Times in 7 Posts
Great work on developing the fuel gauge. Since Mark I is the basic VSS/injector MPG method, I suspect Mark II will use the OBDII protocol.

If that is the case, here is a resource that shows circuits for converting OBDII to serial. Also, the basic coding structure of all the OBDII interfaces is shown. This is above my head, but hopefully not above others.

EDIT: Probably the cheapest interface chip for OBDII -> RS232. It covers all the old protocols (ISO 9141, PWM J1850, etc.) and the new CAN bus.

- LostCause

Last edited by LostCause; 05-21-2008 at 05:25 AM..
  Reply With Quote
Old 05-21-2008, 10:19 AM   #157 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
Posts: 5,038

pimp mobile - '81 suzuki gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 269 Times in 212 Posts
If *I* were to play around with an obd version it will be elm based, and use the less expensive single protocol chips because:
1. they are less expensive
2. they are less complicated to hookup (only care about a couple obd pins, not all of them.
3. I already have a 323

Here are some schematics:
http://www.scantool.net/schematics.html

[looking at the 323 elmiso schematic] if it is connected to a duino, you can skip the rs232 stuff on the lower right , just use ttl to the duino tx/rx ports@9600, and all the blinky LEDs in the upper right and the voltage regulator circuit. So you'd be left with 8 resistors, 3 transistors, 1 crystal, 2 capacitors, 1 diode, and of course the elm323 and an obd plug, just for iso protocol.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 05-21-2008, 10:32 AM   #158 (permalink)
EcoModding Lurker
 
Join Date: May 2008
Location: St. Louis
Posts: 28

silverciv - '01 Honda Civic EX 2dr
90 day: 36.13 mpg (US)
Thanks: 0
Thanked 0 Times in 0 Posts
Does the ELM use TTL straight out of the chip? I am currently trying to use a MAX233 on the Arduino side to convert the ttl to rs232 but, I am having some trouble. I thought that the chip itself used rs232 but, I hope I am wrong.
__________________
  Reply With Quote
Old 05-21-2008, 11:00 AM   #159 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
Posts: 5,038

pimp mobile - '81 suzuki gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 269 Times in 212 Posts
I don't know for sure, but typically the chips talk ttl. The extra resistors and transistor and diode make it look like rs232 in that circuit. And with an arduino right there, you can probably just use ttl @ 9600 baud (though you probably have to unhook things to program the duino).

Are you going rx to tx, tx to rx in your connection?
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 05-21-2008, 11:10 AM   #160 (permalink)
EcoModding Lurker
 
Join Date: May 2008
Location: St. Louis
Posts: 28

silverciv - '01 Honda Civic EX 2dr
90 day: 36.13 mpg (US)
Thanks: 0
Thanked 0 Times in 0 Posts
It looks like the RX schematic on the ELM is converting ttl to rs232 but, the TX line doesn't look like it.

I am switching tx and rx. I had it working once before. I have a pre-built ELM which I have tested with a USB to serial adapter and hyperterminal.

Also, I do have to unhook things to program the arduino

__________________

Last edited by jmonroe; 05-21-2008 at 11:11 AM.. Reason: forgot something
  Reply With Quote
Reply  Post New Thread




Similar Threads
Thread Thread Starter Forum Replies Last Post
SuperMID - Fuel Economy Display SVOboy Instrumentation 25 05-15-2015 09:16 PM
How to calculate MPG / fuel economy formula MetroMPG DIY / How-to 29 11-25-2013 06:47 PM
What features on your ULTIMATE fuel economy instrumentation? MetroMPG Instrumentation 41 05-12-2012 01:14 PM
Why SUV fuel economy is so much more important than small car fuel economy... SVOboy General Efficiency Discussion 30 02-23-2009 06:26 PM
Basic EcoDriving Techniques and Instrumentation SVOboy Instrumentation 2 11-17-2007 11:38 AM



Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com