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

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 06-11-2011, 09:05 AM   #701 (permalink)
EcoModding Lurker
 
Join Date: Aug 2010
Location: Lithuania
Posts: 74
Thanks: 3
Thanked 21 Times in 15 Posts
100R and diode are just for chip&arduino protection.
and they should be there.

and this circuit was tested and working, so it would be great to use same to avoid problems.

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 06-11-2011, 09:21 AM   #702 (permalink)
EcoModding Lurker
 
Join Date: Aug 2010
Location: Lithuania
Posts: 74
Thanks: 3
Thanked 21 Times in 15 Posts
Quote:
Originally Posted by dar View Post
With LCD is everything O.K. I moved 12->2, 13->3 and and code was changed - it works with version 193 without SDcard support.
I don't know that it is, but can't upload v. 194 (with SDcard support)to the arduino board from PC.
Did you added FileLogger folder into arduino's "libraries" folder?

I tested some of code, it has problems if
#define useSDCard
is commented.

to disble SD card
row: "#define useSDCard" has to be deleted and
section: "#ifdef useSDCard" has to be deleted too:

Code:
#ifdef useSDCard
  // NOTE: some cards must be formated with not Windows, 
  // but http://panasonic.jp/support/global/cs/sd/download/index.html or others.
  
  // http://code.google.com/p/arduino-filelogger/
  #include <FileLogger.h>
  
  // PIDs and data collections goes to "data.log"
  //#define logEveryPid
  #define logDataCollections
  
  // Summary goes to "summary.log" (must be created in SD card but space for data log has to be continuous)
  #define logTripSummary

  // Choose only one type and at least one
  // Type logTypeSystem is more compact, uses less memory, 
  // but need some additional application for analizing
  //#define logTypeVerbose
  #define logTypeSystem
  
  // for faster writing need buffer, bigger is better, but 512 is maximum
  // if memory ussage is too big - reduce size
  #define logBufferSize 256
  static char logString[logBufferSize] = {0};

  
  // Need to change LCD data pins 12 and 13 (rewire also)
  #define LCD_DATA3 2
  #define LCD_DATA4 3
  
  // wiring instructions:
  // http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1206874649/all
  // SCK_PIN   13 <-> SD 5 SCK    DIVIDER (1.8kOhm, 3.3kOhm) or (2.2kOhm, 3.9kOhm) or similar
  // MISO_PIN  12 <-> SD 7 DO     DIRECT
  // MOSI_PIN  11 <-> SD 2 DI     DIVIDER (1.8kOhm, 3.3kOhm) or (2.2kOhm, 3.9kOhm) or similar
  // SS_PIN    10 <-> SD 1 CS     DIVIDER (1.8kOhm, 3.3kOhm) or (2.2kOhm, 3.9kOhm) or similar
  // 3.3V         <-> SD 4 VCC    DIRECT
  // GND          <-> SD 3 GND    DIRECT
  // GND          <-> SD 6 GND1   DIRECT
#endif
#ifdef useSDCard
does not works as expected and compilation error about "byte" type rises in some mistirious cases.
do not know why
  Reply With Quote
Old 06-17-2011, 03:50 PM   #703 (permalink)
EcoModding Lurker
 
Join Date: May 2010
Location: Latvia
Posts: 39
Thanks: 1
Thanked 0 Times in 0 Posts
Hi again!
SUCCESS!!

I got it to work!
r193 code with ELM327

BUT.......

I get zeros..
none of the pids are showing any values. everything is 0.00....

any advice?

btw, when I enter menu it shows ISO 9141-2, so I guess thats the protocol
oh, wait, my car does not have a MAF, only MAP
  Reply With Quote
Old 06-28-2011, 02:04 AM   #704 (permalink)
EcoModding Lurker
 
Join Date: May 2010
Location: Latvia
Posts: 39
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by njakts View Post
Hi again!
SUCCESS!!

I got it to work!
r193 code with ELM327

BUT.......

I get zeros..
none of the pids are showing any values. everything is 0.00....

any advice?

btw, when I enter menu it shows ISO 9141-2, so I guess thats the protocol
oh, wait, my car does not have a MAF, only MAP

No one?
  Reply With Quote
Old 07-02-2011, 05:50 AM   #705 (permalink)
Bix
EcoModding Lurker
 
Join Date: Mar 2011
Location: Australia
Posts: 18
Thanks: 2
Thanked 0 Times in 0 Posts
Ive got a 2002 toyota corolla, australian edition. Now the problem I faced was there was physically no pin at #15 for the L-line. Bit a googling has vaguely described that the OBD II spec was not enforced in australia until 2006 or so.

So could this be the case of perhaps the pin being somewhere else or am I pretty much screwed with this project on my car?
  Reply With Quote
Old 07-02-2011, 12:32 PM   #706 (permalink)
EcoModding Lurker
 
Join Date: May 2010
Location: Latvia
Posts: 39
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Bix View Post
Ive got a 2002 toyota corolla, australian edition. Now the problem I faced was there was physically no pin at #15 for the L-line. Bit a googling has vaguely described that the OBD II spec was not enforced in australia until 2006 or so.

So could this be the case of perhaps the pin being somewhere else or am I pretty much screwed with this project on my car?
My Lexus IS200 also does not have L-line.
maybe thats why my obduino is not working....?

come on, where are all smart people?
  Reply With Quote
Old 07-10-2011, 09:14 PM   #707 (permalink)
EcoModding Lurker
 
Join Date: Jul 2011
Location: spain
Posts: 19
Thanks: 19
Thanked 0 Times in 0 Posts
Exclamation dude

is possible desactivate the sd card? I have no want to use it
  Reply With Quote
Old 07-11-2011, 03:18 AM   #708 (permalink)
EcoModding Lurker
 
Join Date: Aug 2010
Location: Lithuania
Posts: 74
Thanks: 3
Thanked 21 Times in 15 Posts
Uploaded v195 with SD card disabled. No code changes needed to disable it.

L-Line is not needed to OBDuino, only K-Line.
  Reply With Quote
The Following User Says Thank You to eimix For This Useful Post:
dewasha (07-11-2011)
Old 07-11-2011, 07:06 AM   #709 (permalink)
EcoModding Lurker
 
Join Date: Jul 2011
Location: spain
Posts: 19
Thanks: 19
Thanked 0 Times in 0 Posts
where I download this version?
thank you very much for your help
  Reply With Quote
Old 07-11-2011, 07:13 AM   #710 (permalink)
EcoModding Lurker
 
Join Date: Jul 2011
Location: spain
Posts: 19
Thanks: 19
Thanked 0 Times in 0 Posts
the last version not is v140?

[Get email change notifications about comments on this revision.] r140
Made the iso_init function more robust
May 21, 2009
matthews.mike
[Get email change notifications about comments on this revision.] r127
Will now clear current outing when the car starts running, not when the car engine shuts off
Mar 28, 2009
matthews.mike
[Get email change notifications about comments on this revision.] r126
Fixed Engine Breaking. Remove the fuel wasted display for ELM so it will fit. (ELM uses about 330 more bytes of space) Added some new PID's that will display stats for your current outing. rests every time the car is turned off.
Mar 13, 2009
matthews.mike
[Get email change notifications about comments on this revision.] r125
forgot a line to reset fuel wasted
Mar 5, 2009
matthews.mike
[Get email change notifications about comments on this revision.] r124
Turns the backlight off when the engine is not running.
Mar 5, 2009
matthews.mike
[Get email change notifications about comments on this revision.] r123
Added tracking of wasted gas. Modified iso_read_byte() to return a response if nothing is received so program doesn't get stuck. Fixed math for fuel consumption.
Mar 5, 2009
matthews.mike
[Get email change notifications about comments on this revision.] r122
add fuel and speed adjust
Mar 4, 2009
tiange
[Get email change notifications about comments on this revision.] r112
correct ISO init
Dec 18, 2008
tiange
[Get email change notifications about comments on this revision.] r110
some optimization
Dec 5, 2008
tiange
[Get email change notifications about comments on this revision.] r101
correct warnings
Nov 5, 2008
tiange
[Get email change notifications about comments on this revision.] r100
add a trip for tank and a trip for trip
Oct 16, 2008
tiange
[Get email change notifications about comments on this revision.] r99
add fuel used and remaining distance
Oct 15, 2008
tiange
[Get email change notifications about comments on this revision.] r98
float to long, gained about 1500 bytes!
Oct 10, 2008
tiange
[Get email change notifications about comments on this revision.] r95
optimize some code, change contrast
Oct 9, 2008
tiange
[Get email change notifications about comments on this revision.] r94
optimize some functions and correct imperial display
Oct 8, 2008
tiange
[Get email change notifications about comments on this revision.] r93
correct avg trip fuel string if reset not moving
Oct 6, 2008
tiange
[Get email change notifications about comments on this revision.] r92
correct avg fuel consumption
Oct 5, 2008
tiange
[Get email change notifications about comments on this revision.] r91
correct MPG calculation
Oct 4, 2008
tiange
[Get email change notifications about comments on this revision.] r90
optimized some calculation
Oct 2, 2008
tiange
[Get email change notifications about comments on this revision.] r87
Configure PIDs as an option in menu
Oct 1, 2008
tiange
[Get email change notifications about comments on this revision.] r86
SVN test
Oct 1, 2008
tiange
[Get email change notifications about comments on this revision.] r85
SVN test
Oct 1, 2008
tiange
[Get email change notifications about comments on this revision.] r84
replace corrupted copy
Oct 1, 2008
tiange
[Get email change notifications about comments on this revision.] r82
Add version numbering Stable version
Sep 30, 2008
tiange
[Get email change notifications about comments on this revision.] r81
debug simulation mode
Sep 29, 2008
tiange
140 - 81 Older ›

  Reply With Quote
Reply  Post New Thread


Tags
obd2

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
MPGuino release one workspace dcb OpenGauge / MPGuino FE computer 1061 01-17-2020 02:37 AM
Just some quick info on Scangauge vs. MPGuino NoCO2 OpenGauge / MPGuino FE computer 4 06-01-2015 05:58 PM
All New Nissan Models to Feature Fuel Efficiency Gauge MetroMPG General Efficiency Discussion 6 11-18-2008 05:57 PM
Vacuum gauge problems :( DifferentPointofView Instrumentation 3 05-15-2008 12:04 AM
Will Scan Gauge work on mine? bennelson Instrumentation 9 02-19-2008 11:04 PM



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